Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_VotingKick Class Reference
Inheritance diagram for SCR_VotingKick:
SCR_VotingReferendum SCR_VotingAutoKick

Protected Member Functions

override void InitFromTemplate (SCR_VotingBase template, int startingPlayerID, int value, float remainingDuration)
bool isFactionSpecific ()
override bool IsAvailable (int value, bool isOngoing)
override int GetPlayerCount ()
override int GetWinner ()
override bool Evaluate (out EVotingOutcome outcome)
override void OnVotingEnd (int value=DEFAULT_VALUE, int winner=DEFAULT_VALUE)

Protected Attributes

bool m_bFactionSpecific
Faction m_SubjectFaction

Static Protected Attributes

static const int PLAYER_VOTE_KICK_DURATION = 300

Detailed Description

Definition at line 2 of file SCR_VotingKick.c.

Member Function Documentation

◆ Evaluate()

override bool SCR_VotingKick::Evaluate ( out EVotingOutcome outcome)
inlineprotected

Definition at line 147 of file SCR_VotingKick.c.

◆ GetPlayerCount()

override int SCR_VotingKick::GetPlayerCount ( )
inlineprotected

Definition at line 92 of file SCR_VotingKick.c.

◆ GetWinner()

override int SCR_VotingKick::GetWinner ( )
inlineprotected

Definition at line 132 of file SCR_VotingKick.c.

◆ InitFromTemplate()

override void SCR_VotingKick::InitFromTemplate ( SCR_VotingBase template,
int startingPlayerID,
int value,
float remainingDuration )
inlineprotected

Definition at line 13 of file SCR_VotingKick.c.

◆ IsAvailable()

override bool SCR_VotingKick::IsAvailable ( int value,
bool isOngoing )
inlineprotected

Definition at line 45 of file SCR_VotingKick.c.

◆ isFactionSpecific()

bool SCR_VotingKick::isFactionSpecific ( )
inlineprotected
Returns

Definition at line 39 of file SCR_VotingKick.c.

◆ OnVotingEnd()

override void SCR_VotingKick::OnVotingEnd ( int value = DEFAULT_VALUE,
int winner = DEFAULT_VALUE )
inlineprotected

Definition at line 158 of file SCR_VotingKick.c.

Member Data Documentation

◆ m_bFactionSpecific

bool SCR_VotingKick::m_bFactionSpecific
protected

Definition at line 5 of file SCR_VotingKick.c.

◆ m_SubjectFaction

Faction SCR_VotingKick::m_SubjectFaction
protected

Definition at line 7 of file SCR_VotingKick.c.

◆ PLAYER_VOTE_KICK_DURATION

const int SCR_VotingKick::PLAYER_VOTE_KICK_DURATION = 300
staticprotected

Definition at line 10 of file SCR_VotingKick.c.


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