![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| float | GetRatio () |
| override bool | AddPlayerVotedServer (int playerID) |
| override bool | RemovePlayerVotedServer (int playerID) |
| override void | SetVote (int playerID, int value=DEFAULT_VALUE) |
| override bool | RemoveVote (int playerID) |
| override bool | RemoveValue (int value) |
| override bool | IsMatching (EVotingType type, int value=DEFAULT_VALUE) |
| override bool | Evaluate (out EVotingOutcome outcome) |
| override int | GetWinner () |
| override int | GetPlayerVote (int playerID) |
| override int | GetValue () |
| override void | Log () |
| override void | InitFromTemplate (SCR_VotingBase template, int startingPlayerID, int value, float remainingDuration) |
Protected Attributes | |
| ref set< int > | m_aPlayerIDs = new set<int>() |
| int | m_iValue |
Referendum about specific outcome. Can have target value, e.g., player ID of whoever should be kicked. Multiple votings of the same type can exist at the same type, e.g., KICK player 1 and KICK player 2. The voting succeeds when proportion of votes is larger than given threshold and there was sufficient participation. If time runs out, the voting is invalid.
Definition at line 463 of file SCR_VotingBase.c.
Definition at line 475 of file SCR_VotingBase.c.
|
inlineprotected |
Definition at line 552 of file SCR_VotingBase.c.
Definition at line 567 of file SCR_VotingBase.c.
|
inlineprotected |
Definition at line 469 of file SCR_VotingBase.c.
|
inlineprotected |
Definition at line 576 of file SCR_VotingBase.c.
|
inlineprotected |
Definition at line 558 of file SCR_VotingBase.c.
|
inlineprotected |
Definition at line 592 of file SCR_VotingBase.c.
|
inlineprotected |
Definition at line 546 of file SCR_VotingBase.c.
|
inlineprotected |
Definition at line 582 of file SCR_VotingBase.c.
Definition at line 497 of file SCR_VotingBase.c.
Definition at line 540 of file SCR_VotingBase.c.
Definition at line 525 of file SCR_VotingBase.c.
|
inlineprotected |
Definition at line 519 of file SCR_VotingBase.c.
Definition at line 465 of file SCR_VotingBase.c.
|
protected |
Definition at line 466 of file SCR_VotingBase.c.