Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EndGameAction Interface Reference

Terminates the game once target score is met. More...

Inheritance diagram for EndGameAction:
[legend]

Public Member Functions

int GetScoreLimit ()
 
override void OnPlayerScoreChanged (int playerId, SCR_BaseScoringSystemComponent scoring)
 Called via SCR_ScoringSystemComponent if player score changes.
 
override void OnFactionScoreChanged (Faction faction, SCR_BaseScoringSystemComponent scoring)
 Called via SCR_ScoringSystemComponent if faction score changes.
 
void OnPlayerScoreChanged (int playerId, SCR_BaseScoringSystemComponent scoring)
 Called via SCR_ScoringSystemComponent if player score changes.
 
void OnFactionScoreChanged (Faction faction, SCR_BaseScoringSystemComponent scoring)
 Called via SCR_ScoringSystemComponent if faction score changes.
 

Protected Member Functions

void Execute (SCR_GameModeEndData endData)
 

Protected Attributes

int m_iScoreLimit
 
- Protected Attributes inherited from IScoringAction
EScoringActionMode m_eScoringMode
 

Detailed Description

Terminates the game once target score is met.

Member Function Documentation

◆ Execute()

void EndGameAction.Execute ( SCR_GameModeEndData  endData)
protected

◆ GetScoreLimit()

int EndGameAction.GetScoreLimit ( )
Returns

◆ OnFactionScoreChanged()

override void EndGameAction.OnFactionScoreChanged ( Faction  faction,
SCR_BaseScoringSystemComponent  scoring 
)

Called via SCR_ScoringSystemComponent if faction score changes.

Parameters
[in]FactionFaction whose score changed
[in]scoreInfoNew scoring info of provided player

Implements IScoringAction.

◆ OnPlayerScoreChanged()

override void EndGameAction.OnPlayerScoreChanged ( int  playerId,
SCR_BaseScoringSystemComponent  scoring 
)

Called via SCR_ScoringSystemComponent if player score changes.

Parameters
[in]playerIdPlayerId of target player
[in]scoreInfoNew scoring info of provided player

Implements IScoringAction.

Member Data Documentation

◆ m_iScoreLimit

int EndGameAction.m_iScoreLimit
protected

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