Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AutotestGroup.c
Go to the documentation of this file.
1
2[BaseContainerProps(configRoot: true, category: "Autotest")]
4{
5 [Attribute()]
6 protected ref array<ref SCR_AutotestSuiteBase> m_aSuites;
7
8 [Attribute()]
9 protected ref array<ref SCR_AutotestGroup> m_aGroups;
10
11 //------------------------------------------------------------------------------------------------
13 array<ref SCR_AutotestSuiteBase> GetSuites(bool ungroupedSuitesOnly = false)
14 {
15 if (ungroupedSuitesOnly)
16 return m_aSuites;
17
18 array<ref SCR_AutotestSuiteBase> allSuites = {};
19 foreach (SCR_AutotestSuiteBase suite : m_aSuites)
20 {
21 allSuites.Insert(suite);
22 }
23
24 foreach (SCR_AutotestGroup group : m_aGroups)
25 {
26 array<ref SCR_AutotestSuiteBase> groupSuites = group.GetSuites();
27 foreach (SCR_AutotestSuiteBase suite : groupSuites)
28 {
29 allSuites.Insert(suite);
30 }
31 }
32
33 return allSuites;
34 }
35
36 //------------------------------------------------------------------------------------------------
38 array<ref SCR_AutotestGroup> GetGroups()
39 {
40 return m_aGroups;
41 }
42}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Collection of test suites.
array< ref SCR_AutotestSuiteBase > GetSuites(bool ungroupedSuitesOnly=false)
Get all test suites in this group.
array< ref SCR_AutotestGroup > GetGroups()
Get all test groups in this group.
ref array< ref SCR_AutotestGroup > m_aGroups
ref array< ref SCR_AutotestSuiteBase > m_aSuites
SCR_FieldOfViewSettings Attribute