![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_VoterComponentClass |
Functions | |
| void | Vote (EVotingType type, int value) |
| void | RemoveVote (EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE) |
| void | AbstainVote (EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE) |
| bool | DidVote (EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE) |
| bool | HasAbstained (EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE) |
| void | VoteServer (EVotingType type, int value) |
| void | RemoveVoteServer (EVotingType type, int value) |
| override void | OnPostInit (IEntity owner) |
| Editable Mine. | |
Variables | |
| SCR_VoterComponentClass | m_PlayerController |
| void AbstainVote | ( | EVotingType | type, |
| int | value = SCR_VotingBase.DEFAULT_VALUE ) |
Player abstained from voting. Eg: Did not vote yes or removes vote yes
| [in] | type | Type of the vote |
| [in] | value | Voted value, depends on the type (e.g., for KICK it's player ID) |
Definition at line 143 of file SCR_VoterComponent.c.
| bool DidVote | ( | EVotingType | type, |
| int | value = SCR_VotingBase.DEFAULT_VALUE ) |
Check if player did cast the vote.
| [in] | type | Type of the vote |
| [in] | value | Voted value, depends on the type (e.g., for KICK it's player ID) |
Definition at line 164 of file SCR_VoterComponent.c.
| bool HasAbstained | ( | EVotingType | type, |
| int | value = SCR_VotingBase.DEFAULT_VALUE ) |
Check if player abstained from voting
| [in] | type | Type of the vote |
| [in] | value | Voted value, depends on the type (e.g., for KICK it's player ID) |
Definition at line 178 of file SCR_VoterComponent.c.
| void RemoveVote | ( | EVotingType | type, |
| int | value = SCR_VotingBase.DEFAULT_VALUE ) |
Remove previously cast vote.
| [in] | type | Type of the vote |
| [in] | value | Voted value, depends on the type (e.g., for KICK it's player ID) |
Definition at line 126 of file SCR_VoterComponent.c.
|
protected |
Definition at line 199 of file SCR_VoterComponent.c.
| void Vote | ( | EVotingType | type, |
| int | value ) |
Vote!
| [in] | type | Type of the vote |
| [in] | value | Voted value, depends on the type (e.g., for KICK it's player ID) |
Definition at line 106 of file SCR_VoterComponent.c.
|
protected |
Definition at line 190 of file SCR_VoterComponent.c.
| SCR_VoterComponentClass m_PlayerController |