DayZ Enforce
Script API
Private Member Functions | List of all members
ScriptModule Class Reference

Module containing compiled scripts. More...

#include <proto.h>

Private Member Functions

private void  ~ScriptModule ()
 
proto int  Call (class ent, string function, void parm)
 
proto int  CallFunction (class ent, string function, out void returnVal, void parm)
 
proto int  CallFunctionParams (class ent, string function, out void returnVal, class parms)
 
proto void  Release ()
 

Detailed Description

Module containing compiled scripts.

Constructor & Destructor Documentation

private void ScriptModule::~ScriptModule ( )
private

Member Function Documentation

proto int ScriptModule::Call ( class ent  ,
string  function,
void  parm 
)
private

dynamic call of function when ent == NULL, it's global function call, otherwise it's method of class returns true, when success The call creates new thread, so it's legal to use sleep/wait

Referenced by ItemTrigger::OnEnter().

proto int ScriptModule::CallFunction ( class ent  ,
string  function,
out void  returnVal,
void  parm 
)
private

dynamic call of function when ent == NULL, it's global function call, otherwise it's method of class returns true, when success The call do not create new thread!!!!

Referenced by CallQueueContext::CallParams(), Timer::OnTimer(), TimerUpdate::OnUpdate(), and AnimatorTimer::Tick().

proto int ScriptModule::CallFunctionParams ( class ent  ,
string  function,
out void  returnVal,
class parms   
)
private
proto void ScriptModule::Release ( )
private

The documentation for this class was generated from the following file:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)