Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_RplTestComponent Interface Reference
Inheritance diagram for SCR_RplTestComponent:

Public Member Functions

void Do_TestRpc (int testNum)
 
void RpcAsk_TestRpc (int testNum)
 Send request to the server to print a message everywhere.
 
void RpcDo_TestRpc (int testNum)
 Broadcast.
 
void RpcAsk_ChangePropValue (float timeSlice)
 Server-only execution.
 
void OnTestChanged ()
 
void Do_TestFire ()
 
void RpcAsk_TestFire ()
 
void RpcDo_TestFire ()
 
override void OnPostInit (IEntity owner)
 
override void EOnInit (IEntity owner)
 
override void EOnFrame (IEntity owner, float timeSlice)
 
void SCR_RplTestComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
 

Public Attributes

float m_fdelay = 0
 

Protected Attributes

ChimeraCharacter m_CharacterOwner = null
 

Constructor & Destructor Documentation

◆ SCR_RplTestComponent()

void SCR_RplTestComponent.SCR_RplTestComponent ( IEntityComponentSource src,
IEntity ent,
IEntity parent )
Parameters
[in]src
[in]ent
[in]parent

Member Function Documentation

◆ Do_TestFire()

void SCR_RplTestComponent.Do_TestFire ( )

◆ Do_TestRpc()

void SCR_RplTestComponent.Do_TestRpc ( int testNum)
Parameters
[in]testNum

◆ EOnFrame()

override void SCR_RplTestComponent.EOnFrame ( IEntity owner,
float timeSlice )

◆ EOnInit()

override void SCR_RplTestComponent.EOnInit ( IEntity owner)

◆ OnPostInit()

override void SCR_RplTestComponent.OnPostInit ( IEntity owner)

◆ OnTestChanged()

void SCR_RplTestComponent.OnTestChanged ( )

◆ RpcAsk_ChangePropValue()

void SCR_RplTestComponent.RpcAsk_ChangePropValue ( float timeSlice)

Server-only execution.

Parameters
[in]timeSlice

◆ RpcAsk_TestFire()

void SCR_RplTestComponent.RpcAsk_TestFire ( )

◆ RpcAsk_TestRpc()

void SCR_RplTestComponent.RpcAsk_TestRpc ( int testNum)

Send request to the server to print a message everywhere.

Parameters
[in]testNum

◆ RpcDo_TestFire()

void SCR_RplTestComponent.RpcDo_TestFire ( )

◆ RpcDo_TestRpc()

void SCR_RplTestComponent.RpcDo_TestRpc ( int testNum)

Broadcast.

When called from server this is executed everywhere but on the server. When called on client, this is executed only on the client.

NOTE: The caller of the RPC needs to provide exectly one integral argument "testNum". Note, max. 16 args are possible in script. This restriction applies universally not just to RPCs but for all script methods in general

Parameters
[in]testNum

Member Data Documentation

◆ m_CharacterOwner

ChimeraCharacter SCR_RplTestComponent.m_CharacterOwner = null
protected

◆ m_fdelay

float SCR_RplTestComponent.m_fdelay = 0

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