Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkCallQueueSystem.c
Go to the documentation of this file.
2{
3 //------------------------------------------------------------------------------------------------
4 override static void InitInfo(WorldSystemInfo outInfo)
5 {
6 outInfo
7 .SetAbstract(false)
8 .AddPoint(ESystemPoint.FixedFrame);
9 }
10
12 protected float m_fTimer;
13 protected float m_fCheckInterval;
14
15 //------------------------------------------------------------------------------------------------
18 {
19 World world = GetGame().GetWorld();
20 if (!world)
21 return null;
22
24 }
25
26 //------------------------------------------------------------------------------------------------
32
33
34 //------------------------------------------------------------------------------------------------
35 override event protected void OnUpdatePoint(WorldUpdatePointArgs args)
36 {
37 float timeSlice = args.GetTimeSliceSeconds();
38
39 m_fTimer += timeSlice;
40
42 return;
43
44 m_fTimer = 0;
45
46 s_CallQueueNonPausable.Tick(timeSlice);
47 }
48
49 //------------------------------------------------------------------------------------------------
56}
ArmaReforgerScripted GetGame()
Definition game.c:1398
void ~SCR_ScenarioFrameworkCallQueueSystem()
Clears CallQueue after destruction of this system.
static SCR_ScenarioFrameworkCallQueueSystem GetInstance()
ScriptCallQueue Class provide "lazy" calls - when we don't want to execute function immediately but l...
Definition tools.c:53
Definition World.c:16
Structure holding world system meta-information required by the engine.
Structure holding extra data of WorldSystem update point.
WorldSystemPoint ESystemPoint
Definition gameLib.c:7