Arma Reforger Script API
Loading...
Searching...
No Matches
BaseCommandHandlerComponent Interface Reference
Inheritance diagram for BaseCommandHandlerComponent:
GameComponent AnimalCommandHandlerComponent CharacterCommandHandlerComponent SCR_CharacterCommandHandlerComponent SCR_CharacterCommandHandlerComponent_Tests

Public Member Functions

proto external void SetSimulationDisabled (bool pSimulationDisabled)
 Sets the flag for disabling animation update.
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Protected Member Functions

void OnInit (IEntity owner)
 Called during EOnInit.
 
void OnCommandActivate (int pCmdId)
 
void OnCommandDeactivate (int pCmdId)
 
void Update (float pDt, int pCurrentCommandID, bool pCurrentCommandFinished)
 Overrides the whole native command handling.
 

Member Function Documentation

◆ OnCommandActivate()

void BaseCommandHandlerComponent.OnCommandActivate ( int pCmdId)
protected

◆ OnCommandDeactivate()

void BaseCommandHandlerComponent.OnCommandDeactivate ( int pCmdId)
protected

◆ OnInit()

void BaseCommandHandlerComponent.OnInit ( IEntity owner)
protected

Called during EOnInit.

Parameters
ownerEntity this component is attached to.

Implemented in SCR_CharacterCommandHandlerComponent, and SCR_CharacterCommandHandlerComponent_Tests.

◆ SetSimulationDisabled()

proto external void BaseCommandHandlerComponent.SetSimulationDisabled ( bool pSimulationDisabled)

Sets the flag for disabling animation update.

This function is ignored in MP.

Parameters
simulationDisabledIf true simulation is disabled

◆ Update()

void BaseCommandHandlerComponent.Update ( float pDt,
int pCurrentCommandID,
bool pCurrentCommandFinished )
protected

Overrides the whole native command handling.

Parameters
pDtDelta time since last call.
pCurrentCommandIDCurrent command ID.
pCurrentCommandFinishedTrue if current command is finished.

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