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

Go to the source code of this file.

Classes

class  SCR_PreGameGameModeStateComponentClass

Functions

SCR_PreGameGameModeStateComponentClass SCR_BaseGameModeStateComponentClass Attribute ("30", uiwidget:UIWidgets.Slider, "Duration of this state in seconds or 0 for infinite duration. (Requires manual start)", params:"0 864000 1", category:"Game Mode")] protected float m_fDuration
 Game mode component that handles the pre-game period.
override float GetDuration ()
override bool CanAdvanceState (SCR_EGameModeState nextState)
override bool GetAllowControls ()
sealed override SCR_EGameModeState GetAffiliatedState ()
 Called on the authority when created to assign state this component belongs to.

Variables

bool m_bDisableControls

Function Documentation

◆ Attribute()

SCR_PreGameGameModeStateComponentClass SCR_BaseGameModeStateComponentClass Attribute ( "30" ,
uiwidget:UIWidgets. Slider,
"Duration of this state in seconds or 0 for infinite duration. (Requires manual start)" ,
params:"0 864000 1" ,
category:"Game Mode"  )

Game mode component that handles the pre-game period.

◆ CanAdvanceState()

override bool CanAdvanceState ( SCR_EGameModeState nextState)
protected

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 25 of file SCR_PreGameGameModeStateComponent.c.

◆ GetAffiliatedState()

sealed override SCR_EGameModeState GetAffiliatedState ( )
protected

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

Definition at line 39 of file SCR_PreGameGameModeStateComponent.c.

◆ GetAllowControls()

override bool GetAllowControls ( )
protected
Returns
true if controls should be enabled in this state, false otherwise.

Definition at line 32 of file SCR_PreGameGameModeStateComponent.c.

◆ GetDuration()

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

Definition at line 17 of file SCR_PreGameGameModeStateComponent.c.

Variable Documentation

◆ m_bDisableControls

bool m_bDisableControls
protected

Definition at line 13 of file SCR_PreGameGameModeStateComponent.c.