Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_PreGameGameModeStateComponent.c File Reference

Go to the source code of this file.

Data Structures

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. More...
 
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. More...
 

Variables

protected 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)

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 ( )

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 ( )
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 ( )
Returns
the expected duration of this state or 0 if none.

Definition at line 17 of file SCR_PreGameGameModeStateComponent.c.

Variable Documentation

◆ m_bDisableControls

protected bool m_bDisableControls

Definition at line 13 of file SCR_PreGameGameModeStateComponent.c.