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

Go to the source code of this file.

Data Structures

class  SCR_GameGameModeStateComponentClass
 

Functions

SCR_GameGameModeStateComponentClass SCR_BaseGameModeStateComponentClass Attribute ("0", uiwidget:UIWidgets.Slider, "Time limit of game mode in seconds.", params:"0 864000 1", category:"Game Mode")] protected float m_fDuration
 
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...
 

Function Documentation

◆ Attribute()

SCR_GameGameModeStateComponentClass SCR_BaseGameModeStateComponentClass Attribute ( "0"  ,
uiwidget:UIWidgets.  Slider,
"Time limit of game mode in seconds."  ,
params:"0 864000 1"  ,
category:"Game Mode"   
)

◆ 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 21 of file SCR_GameGameModeStateComponent.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_GameGameModeStateComponent.c.

◆ GetAllowControls()

override bool GetAllowControls ( )
Returns
true if controls should be enabled in this state or false otherwise. This value must be synchronised for all the authority and proxy clients likewise.

Definition at line 32 of file SCR_GameGameModeStateComponent.c.

◆ GetDuration()

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

Definition at line 13 of file SCR_GameGameModeStateComponent.c.