Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseGameModeStateComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_BaseGameModeStateComponentClass

Functions

SCR_BaseGameModeStateComponentClass SCR_BaseGameModeComponentClass GetAllowControls ()
 Base component for handling game mode states.
float GetDuration ()
bool CanAdvanceState (SCR_EGameModeState nextState)
void OnStateEntered ()
 Called when game mode transitions into the state this component represents.
override void OnGameStateChanged (SCR_EGameModeState state)
SCR_EGameModeState GetAffiliatedState ()
 Called on the authority when created to assign state this component belongs to.

Function Documentation

◆ CanAdvanceState()

bool CanAdvanceState ( SCR_EGameModeState nextState)

Called on authority to check if transition to next state can occur in current step.

Parameters
[in]nextStateThe state to transition into.

Definition at line 26 of file SCR_BaseGameModeStateComponent.c.

◆ GetAffiliatedState()

SCR_EGameModeState GetAffiliatedState ( )
protected

Called on the authority when created to assign state this component belongs to.

Definition at line 48 of file SCR_BaseGameModeStateComponent.c.

◆ GetAllowControls()

Base component for handling game mode states.

Returns
false on authority if controls for this state should be disabled.

Definition at line 1 of file SCR_BaseGameModeStateComponent.c.

◆ GetDuration()

float GetDuration ( )
Returns
the expected duration of this state or 0 if none.

Definition at line 18 of file SCR_BaseGameModeStateComponent.c.

◆ OnGameStateChanged()

override void OnGameStateChanged ( SCR_EGameModeState state)
protected

Called when game mode state changes called on all machines.

Parameters
[in]stateNew state game mode transitioned into.

Definition at line 38 of file SCR_BaseGameModeStateComponent.c.

◆ OnStateEntered()

void OnStateEntered ( )
protected

Called when game mode transitions into the state this component represents.