Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_GameOverScreenConfig.c
Go to the documentation of this file.
1[BaseContainerProps(configRoot: true)]
3{
4 [Attribute()]
5 protected ref array<ref SCR_BaseGameOverScreenInfo> m_aGameOverScreens;
6
8
9
17 {
18 if (!m_mGameOverScreensMap.Find(infoId, gameOverScreenInfo))
19 return false;
20 else
21 return true;
22 }
23
24
30 int GetGameOverInfoArray(notnull out array <SCR_BaseGameOverScreenInfo> gameOverScreens)
31 {
33 gameOverScreens.Insert(screen);
34
35 return gameOverScreens.Count();
36 }
37
44 {
46
47 m_mGameOverScreensMap.Find(infoId, info);
48
49 return info;
50 }
51
52 //Init
53 protected void SCR_GameOverScreenConfig()
54 {
56 int count = m_aGameOverScreens.Count();
57
58 for(int i = 0; i <count; i++)
59 {
60 id = m_aGameOverScreens[i].GetInfoId();
61
62 //If empty
63 if (id == EGameOverTypes.UNKNOWN)
64 {
65 Print(string.Format("'GameEndState.conf' contains a state with an UNKNOWN state id at index '%1'", i.ToString()), LogLevel.ERROR);
66 continue;
67 }
68 //If duplicate
69 else if (m_mGameOverScreensMap.Contains(id))
70 {
71 Print(string.Format("'GameEndState.conf' contains duplicate end state id: '%1' at index '%2'", id, i.ToString()), LogLevel.ERROR);
72 continue;
73 }
74
76
77 }
78 }
79};
AddonBuildInfoTool id
EGameOverTypes
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
bool GetGameOverScreenInfo(EGameOverTypes infoId, out SCR_BaseGameOverScreenInfo gameOverScreenInfo)
SCR_BaseGameOverScreenInfo GetGameOverInfo(EGameOverTypes infoId)
ref map< EGameOverTypes, SCR_BaseGameOverScreenInfo > m_mGameOverScreensMap
ref array< ref SCR_BaseGameOverScreenInfo > m_aGameOverScreens
int GetGameOverInfoArray(notnull out array< SCR_BaseGameOverScreenInfo > gameOverScreens)
Definition Types.c:486
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
Enum with severity of the logging message.
Definition LogLevel.c:14
SCR_FieldOfViewSettings Attribute