DayZ 1.24
Loading...
Searching...
No Matches
CallQueueContext Class Reference
Collaboration diagram for CallQueueContext:
[legend]

Private Member Functions

void CallQueueContext (Class target, string fn, Param params)
 
void Call ()
 
void CallParams (Param params)
 
void Invalidate ()
 
bool IsValid ()
 

Private Attributes

Class m_target
 
string m_function
 
ref Param m_params
 
bool m_valid
 

Detailed Description

Definition at line 15 of file tools.c.

Constructor & Destructor Documentation

◆ CallQueueContext()

void CallQueueContext::CallQueueContext ( Class target,
string fn,
Param params )
inlineprivate

Definition at line 22 of file tools.c.

23 {
25 m_function = fn;
27 m_valid = true;
28 }
string m_function
Definition tools.c:18
ref Param m_params
Definition tools.c:19
Class m_target
Definition tools.c:17

References m_function, m_params, m_target, and m_valid.

Member Function Documentation

◆ Call()

void CallQueueContext::Call ( )
inlineprivate

Definition at line 30 of file tools.c.

31 {
33 }
void CallParams(Param params)
Definition tools.c:35

References CallParams(), and m_params.

Referenced by array< ref CallQueueContext >::Tick().

◆ CallParams()

void CallQueueContext::CallParams ( Param params)
inlineprivate

Definition at line 35 of file tools.c.

36 {
37 if (params)
38 GetGame().GameScript.CallFunctionParams(m_target, m_function, NULL, params);
39 else
40 GetGame().GameScript.CallFunction(m_target, m_function, NULL, 0);
41 }
proto native CGame GetGame()

References ScriptModule::CallFunction(), ScriptModule::CallFunctionParams(), CGame::GameScript, GetGame(), m_function, and m_target.

Referenced by Call().

◆ Invalidate()

void CallQueueContext::Invalidate ( )
inlineprivate

Definition at line 43 of file tools.c.

44 {
45 m_valid = false;
46 }

References m_valid.

Referenced by array< ref CallQueueContext >::RemoveCalls().

◆ IsValid()

bool CallQueueContext::IsValid ( )
inlineprivate

Definition at line 48 of file tools.c.

49 {
50 return m_valid;
51 }

References m_valid.

Referenced by array< ref CallQueueContext >::Tick().

Member Data Documentation

◆ m_function

string CallQueueContext::m_function
private

Definition at line 18 of file tools.c.

Referenced by CallParams(), and CallQueueContext().

◆ m_params

ref Param CallQueueContext::m_params
private

Definition at line 19 of file tools.c.

Referenced by Call(), and CallQueueContext().

◆ m_target

Class CallQueueContext::m_target
private

◆ m_valid

bool CallQueueContext::m_valid
private

Definition at line 20 of file tools.c.

Referenced by CallQueueContext(), Invalidate(), and IsValid().


The documentation for this class was generated from the following file: