Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AutotestRunnerCore.c
Go to the documentation of this file.
1
4[BaseContainerProps(configRoot: true)]
5sealed class SCR_AutotestRunnerCore : SCR_GameCoreBase
6{
8 protected Game m_Game;
9
10 //------------------------------------------------------------------------------------------------
11 override bool CanCreate()
12 {
13 return SCR_TestRunner.ShouldCreate();
14 }
15
16 //------------------------------------------------------------------------------------------------
17 override void OnUpdate(float timeSlice)
18 {
19 if (!m_TestRunner)
20 {
22 m_Game = GetGame();
23 }
24
25 m_TestRunner.OnUpdate(m_Game)
26 }
27
28 override void OnGameEnd()
29 {
30 if (!m_TestRunner)
31 return;
32
33 m_TestRunner.Abort(m_Game);
34 }
35}
ArmaReforgerScripted GetGame()
Definition game.c:1398
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition Game.c:8
override void OnUpdate(float timeSlice)
ref SCR_TestRunner m_TestRunner