Arma Reforger Script API
|
Public Member Functions | |
void | Vote (int playerID, EVotingType type, int value) |
Vote! If the voting does not exist yet, start it. | |
void | RemoveVote (int playerID, EVotingType type, int value) |
Remove previously cast vote. | |
bool | StartVoting (EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE) |
Start voting. | |
void | EndVoting (EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE, EVotingOutcome outcome=EVotingOutcome.EVALUATE) |
End voting. | |
int | GetPlayerVote (int playerID, EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE) |
Get value cast by given player. | |
bool | GetVoteCounts (EVotingType type, int value, out int currentVotes, out int votesRequired) |
Get the amount of players needed. | |
ScriptInvoker_VotingManagerStart | GetOnVotingStart () |
Get event called everywhere when a new voting is created. | |
ScriptInvoker_VotingManagerVoteCountChanged | GetOnVoteCountChanged () |
Get event called everywhere when a player voted or abstained. | |
ScriptInvoker_VotingManagerEnd | GetOnVotingEnd () |
Get event called everywhere when a voting ends (e.g., time runs out, number of votes reaches threshold, or the player about whom the voting was disconnects). | |
ScriptInvoker_VotingManagerPlayer | GetOnVote () |
Get event called on server when a player casts a vote. | |
ScriptInvoker_VotingManagerPlayer | GetOnRemoveVote () |
Get event called on server when a player removes their vote. | |
ScriptInvoker_VotingManagerStart | GetOnVoteLocal () |
Get event called on player when they cast a vote. | |
ScriptInvoker_VotingManagerStart | GetOnRemoveVoteLocal () |
Get event called on player when they remove their vote. | |
ScriptInvoker_VotingManagerStart | GetOnAbstainVoteLocal () |
Get event called on player when they remove their vote. | |
int | GetHostPlayerID () |
Get player ID of the host player. | |
bool | IsVotingAvailable (EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE) |
Check if a voting is available in the current world. | |
bool | IsVoting (EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE) |
Check if a voting with given params is currently in effect. | |
bool | IsVotingAboutPlayer (int playerID, EVotingType type) |
Check if there is a vote of certain type about given player. | |
void | AbstainVoteLocally (EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE) |
Local player has abstained from voting eg: VoteRemove was called. | |
bool | HasAbstainedLocally (EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE) |
If local player has abstained from voting eg: VoteRemove was called. | |
float | GetRemainingDurationOfVote (EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE) |
int | GetVotingsAboutPlayer (int playerID, out notnull array< EVotingType > outVotingTypes, bool onlyTemplates=false, bool onlyAvailable=false) |
Get all votings about given player. | |
int | GetAllVotingsAboutPlayer (bool aboutPlayer, out notnull array< EVotingType > outVotingTypes, bool onlyTemplates=false, bool onlyAvailable=false) |
Get all active player vote types (not caring which player is the target) Does not care what player the target is or if it is a referendum or election. | |
int | GetAllVotingsWithValue (out notnull array< EVotingType > outVotingTypes, array< EVotingType > outValues, bool onlyTemplates=false, bool onlyAvailable=false) |
Get all votings with value defined. | |
int | GetAllVotingValues (EVotingType type, out notnull array< int > outValues, bool onlyTemplates=false, bool onlyAvailable=false) |
Get a array of all active votes with the specific voteType. | |
int | GetCurrentVoteCooldownForLocalPlayer (EVotingType type) |
param[in] type The voting type to get current cooldown for | |
SCR_VotingUIInfo | GetVotingInfo (EVotingType type) |
Get UI representation of given voting. | |
string | GetValueName (EVotingType type, int value) |
Get name of the value. | |
void | PreVoteLocal (EVotingType type, int value) |
Called before the vote is cased locally to make sure the cooldowns are set if the vote was initiated by the player. | |
void | VoteLocal (EVotingType type, int value) |
Save local vote for given voting. | |
void | RemoveVoteLocal (EVotingType type, int value) |
Remove local vote for given voting. | |
int | GetLocalVote (EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE) |
Get local vote for given voting. | |
bool | IsLocalVote (EVotingType type, int value=SCR_VotingBase.DEFAULT_VALUE) |
Check if local vote was cast. | |
void | Log () |
Print out information about all ongoing voting instances. | |
override void | OnPlayerConnected (int playerId) |
Called after a player is connected. | |
override void | OnPlayerRegistered (int playerId) |
Called on every machine after a player is registered (identity, name etc.). | |
override void | OnPlayerDisconnected (int playerId, KickCauseCode cause, int timeout) |
Called after a player is disconnected. | |
override bool | RplSave (ScriptBitWriter writer) |
override bool | RplLoad (ScriptBitReader reader) |
void | SCR_VotingManagerComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
Public Member Functions inherited from SCR_BaseGameModeComponent | |
SCR_BaseGameMode | GetGameMode () |
void | OnGameEnd () |
Called on all machines when the world ends. | |
void | OnGameStateChanged (SCR_EGameModeState state) |
Called when game mode state changes called on all machines. | |
void | OnGameModeStart () |
Called on every machine when game mode starts. | |
void | OnGameModeEnd (SCR_GameModeEndData data) |
Called when game mode ends. | |
void | OnPlayerConnected (int playerId) |
Called after a player is connected. | |
void | OnPlayerAuditSuccess (int playerId) |
Event is called when player connecting Session hosting current Game Mode where is required authentication verification via. | |
void | OnPlayerAuditFail (int playerId) |
Event is called when player connecting Session hosting current Game Mode AuditFail() call may be called under two occasions: 1) verification is required but failed (account is not valid, player is banned, internet issues) 2) player cannot be verified as authentication is not required or possible - where it may be valid behavior (server online connectivity turned off for example) Basically non-audited player cannot access persistency/ etc. | |
void | OnPlayerAuditTimeouted (int playerId) |
Event is called when player connected to Session was kicked and did not reconnected in time This mean that slot reservation can be canceled. | |
void | OnPlayerAuditRevived (int playerId) |
Event is called when player reconnected successfully back to Session after kick This mean that slot reservation need to be finished (closed). | |
void | OnPlayerRegistered (int playerId) |
Called on every machine after a player is registered (identity, name etc.). | |
void | OnPlayerDisconnected (int playerId, KickCauseCode cause, int timeout) |
Called after a player is disconnected. | |
void | OnPlayerSpawned (int playerId, IEntity controlledEntity) |
Called after a player is spawned. | |
bool | PreparePlayerEntity_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, SCR_SpawnData data, IEntity entity) |
void | OnSpawnPlayerEntityFailure_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, IEntity entity, SCR_SpawnData data, SCR_ESpawnResult reason) |
void | OnPlayerSpawnFinalize_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, SCR_SpawnData data, IEntity entity) |
bool | HandlePlayerKilled (int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator instigator) |
See SCR_BaseGameMode.HandlePlayerKilled. | |
void | OnPlayerKilled (notnull SCR_InstigatorContextData instigatorContextData) |
Called after a player gets killed. | |
void | OnPlayerKilledHandled (int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator instigator) |
Called after player gets killed in cases where the kill was handled by the game mode, supressing the default OnPlayerKilled behaviour. | |
void | OnPlayerDeleted (int playerId, IEntity player) |
Called after a player gets deleted. | |
void | OnPlayerRoleChange (int playerId, EPlayerRole roleFlags) |
Called when player role changes. | |
void | OnWorldPostProcess (World world) |
Called once loading of all entities of the world have been finished (still within the loading) | |
void | HandleOnLoadoutAssigned (int playerID, SCR_BasePlayerLoadout assignedLoadout) |
What happens when a player is assigned a loadout. | |
void | HandleOnFactionAssigned (int playerID, Faction assignedFaction) |
What happens when a player is assigned a faction. | |
void | HandleOnSpawnPointAssigned (int playerID, SCR_SpawnPoint spawnPoint) |
What happens when a player is assigned a spawn point. | |
void | OnControllableSpawned (IEntity entity) |
When a controllable entity is spawned, this event is raised. | |
void | OnControllableDestroyed (notnull SCR_InstigatorContextData instigatorContextData) |
When a controllable entity is destroyed, this event is raised. | |
void | OnControllableDeleted (IEntity entity) |
Prior to a controllable entity being DELETED, this event is raised. | |
void | SCR_BaseGameModeComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
Static Public Member Functions | |
static SCR_VotingManagerComponent | GetInstance () |
Get local instance of this component. | |
Static Public Attributes | |
static const LocalizedString | VOTE_TIMEOUT_FORMAT = "#AR-Voting_TimeOut" |
Protected Member Functions | |
void | RPC_PlayerVoteCountChanged (EVotingType type, int value, int voteCount) |
int | GetCurrentJoinServerVoteCooldown (EVotingType type) |
int | GetCurrentVoteCooldownTime (EVotingType type) |
float | GetTimeStamp () |
void | EndVoting (SCR_VotingBase voting, EVotingOutcome outcome=EVotingOutcome.EVALUATE) |
SCR_VotingBase | FindVoting (EVotingType type, int value) |
SCR_VotingBase | FindTemplate (EVotingType type) |
SCR_VotingBase | CreateVotingInstance (EVotingType type, int value, float remainingDuration=-1, int currentVoteCount=-1) |
void | DeleteVotingInstance (EVotingType type, int value, int winner) |
void | StartVotingBroadcast (EVotingType type, int value) |
void | EndVotingBroadcast (EVotingType type, int value, int winner) |
override void | EOnFrame (IEntity owner, float timeSlice) |
Protected Attributes | |
ref array< ref SCR_VotingBase > | m_aVotingTemplates |
float | m_fUpdateStep |
int | m_iHostPlayerID = -1 |
float | m_fUpdateLength |
ref array< ref SCR_VotingBase > | m_aVotingInstances = {} |
ref set< SCR_VotingBase > | m_aAbstainedVotingInstances = new set<SCR_VotingBase>() |
ref array< ref Tuple2< int, int > > | m_LocalVoteRecords = {} |
ref ScriptInvoker_VotingManagerStart | m_OnVotingStart = new ScriptInvoker_VotingManagerStart() |
ref ScriptInvoker_VotingManagerEnd | m_OnVotingEnd = new ScriptInvoker_VotingManagerEnd() |
ref ScriptInvoker_VotingManagerPlayer | m_OnVote = new ScriptInvoker_VotingManagerPlayer() |
ref ScriptInvoker_VotingManagerPlayer | m_OnRemoveVote = new ScriptInvoker_VotingManagerPlayer() |
ref ScriptInvoker_VotingManagerStart | m_OnVoteLocal = new ScriptInvoker_VotingManagerStart() |
ref ScriptInvoker_VotingManagerStart | m_OnRemoveVoteLocal = new ScriptInvoker_VotingManagerStart() |
ref ScriptInvoker_VotingManagerStart | m_OnAbstainVoteLocal = new ScriptInvoker_VotingManagerStart() |
ref ScriptInvoker_VotingManagerVoteCountChanged | m_PlayerVoteCountChanged = new ScriptInvoker_VotingManagerVoteCountChanged() |
Protected Attributes inherited from SCR_BaseGameModeComponent | |
SCR_BaseGameMode | m_pGameMode |
The game mode entity this component is attached to. | |
void SCR_VotingManagerComponent.SCR_VotingManagerComponent | ( | IEntityComponentSource | src, |
IEntity | ent, | ||
IEntity | parent | ||
) |
[in] | src | |
[in] | ent | |
[in] | parent |
void SCR_VotingManagerComponent.AbstainVoteLocally | ( | EVotingType | type, |
int | value = SCR_VotingBase::DEFAULT_VALUE |
||
) |
Local player has abstained from voting eg: VoteRemove was called.
[in] | type | Type of the vote |
[in] | value | Target value, depends on the type (e.g., for KICK it's player ID) |
|
protected |
|
protected |
void SCR_VotingManagerComponent.EndVoting | ( | EVotingType | type, |
int | value = SCR_VotingBase::DEFAULT_VALUE , |
||
EVotingOutcome | outcome = EVotingOutcome::EVALUATE |
||
) |
End voting.
[in] | type | Type of the vote |
[in] | value | Target value, depends on the type (e.g., for KICK it's player ID) |
[in] | outcome | How should the winner be evaluated |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
int SCR_VotingManagerComponent.GetAllVotingsAboutPlayer | ( | bool | aboutPlayer, |
out notnull array< EVotingType > | outVotingTypes, | ||
bool | onlyTemplates = false , |
||
bool | onlyAvailable = false |
||
) |
Get all active player vote types (not caring which player is the target) Does not care what player the target is or if it is a referendum or election.
[in] | aboutPlayer | Player True to return votings that are about players, false to return those which are not about players |
[out] | outVotingTypes | Array to be filled with vote types |
[in] | onlyTemplates | True to scan all voting templates, not only active votings |
[in] | onlyAvailable | True to scan only votings which can be available in current situation, evaluated by SCR_VotingBase.IsAvailable(). Note that Vote class specific values such as m_bFactionSpecific in SCR_VotingKick are not properly checked and need a IsVotingAvailable specifically if not checking for templates only |
int SCR_VotingManagerComponent.GetAllVotingsWithValue | ( | out notnull array< EVotingType > | outVotingTypes, |
array< EVotingType > | outValues, | ||
bool | onlyTemplates = false , |
||
bool | onlyAvailable = false |
||
) |
Get all votings with value defined.
Returns only referendums, not elections
[out] | outVotingTypes | Array to be filled with vote types |
[out] | outValues | Array to be filled with vote values |
[in] | onlyTemplates | True to scan all voting templates, not only active votings |
[in] | onlyAvailable | True to scan only votings which can be available in current situation, evaluated by SCR_VotingBase.IsAvailable(). Note that Vote class specific values such as m_bFactionSpecific in SCR_VotingKick are not properly checked and need a IsVotingAvailable specifically if not checking for templates only |
int SCR_VotingManagerComponent.GetAllVotingValues | ( | EVotingType | type, |
out notnull array< int > | outValues, | ||
bool | onlyTemplates = false , |
||
bool | onlyAvailable = false |
||
) |
Get a array of all active votes with the specific voteType.
[in] | type | The type of active vote that needs to be searched |
[out] | outValues | list of all active vote values of the given type |
[in] | onlyTemplates | True to scan all voting templates, not only active votings |
[in] | onlyAvailable | True to scan only votings which can be available in current situation, evaluated by SCR_VotingBase.IsAvailable(). Note that Vote class specific values such as m_bFactionSpecific in SCR_VotingKick are not properly checked and need a IsVotingAvailable specifically if not checking for templates only |
|
protected |
[in] | type | The type to which to get the delay time |
int SCR_VotingManagerComponent.GetCurrentVoteCooldownForLocalPlayer | ( | EVotingType | type | ) |
param[in] type The voting type to get current cooldown for
|
protected |
[in] | type | The type to which to get the cooldown time |
int SCR_VotingManagerComponent.GetHostPlayerID | ( | ) |
Get player ID of the host player.
|
static |
Get local instance of this component.
int SCR_VotingManagerComponent.GetLocalVote | ( | EVotingType | type, |
int | value = SCR_VotingBase::DEFAULT_VALUE |
||
) |
Get local vote for given voting.
It is purely informative and does not affect voting outcome
[in] | type | Type of the vote |
[in] | value | Target value, depends on the type (e.g., for KICK it's player ID) |
ScriptInvoker_VotingManagerStart SCR_VotingManagerComponent.GetOnAbstainVoteLocal | ( | ) |
Get event called on player when they remove their vote.
ScriptInvoker_VotingManagerPlayer SCR_VotingManagerComponent.GetOnRemoveVote | ( | ) |
Get event called on server when a player removes their vote.
ScriptInvoker_VotingManagerStart SCR_VotingManagerComponent.GetOnRemoveVoteLocal | ( | ) |
Get event called on player when they remove their vote.
ScriptInvoker_VotingManagerPlayer SCR_VotingManagerComponent.GetOnVote | ( | ) |
Get event called on server when a player casts a vote.
ScriptInvoker_VotingManagerVoteCountChanged SCR_VotingManagerComponent.GetOnVoteCountChanged | ( | ) |
Get event called everywhere when a player voted or abstained.
ScriptInvoker_VotingManagerStart SCR_VotingManagerComponent.GetOnVoteLocal | ( | ) |
Get event called on player when they cast a vote.
ScriptInvoker_VotingManagerEnd SCR_VotingManagerComponent.GetOnVotingEnd | ( | ) |
Get event called everywhere when a voting ends (e.g., time runs out, number of votes reaches threshold, or the player about whom the voting was disconnects).
ScriptInvoker_VotingManagerStart SCR_VotingManagerComponent.GetOnVotingStart | ( | ) |
Get event called everywhere when a new voting is created.
int SCR_VotingManagerComponent.GetPlayerVote | ( | int | playerID, |
EVotingType | type, | ||
int | value = SCR_VotingBase::DEFAULT_VALUE |
||
) |
Get value cast by given player.
[in] | playerID | Player who cast the vote |
[in] | type | Type of the vote |
[in] | value | Target value, depends on the type (e.g., for KICK it's player ID) |
float SCR_VotingManagerComponent.GetRemainingDurationOfVote | ( | EVotingType | type, |
int | value = SCR_VotingBase::DEFAULT_VALUE |
||
) |
[in] | type | |
[in] | value |
|
protected |
string SCR_VotingManagerComponent.GetValueName | ( | EVotingType | type, |
int | value | ||
) |
Get name of the value.
[in] | type | Type of the vote |
[in] | value | Value |
bool SCR_VotingManagerComponent.GetVoteCounts | ( | EVotingType | type, |
int | value, | ||
out int | currentVotes, | ||
out int | votesRequired | ||
) |
Get the amount of players needed.
[in] | type | Type of the vote |
[in] | value | Value of the vote |
[out] | currentVotes | Current votes the vote has |
[out] | votesRequired | Votes required to be successfull return True if successfully obtained the requirement data |
SCR_VotingUIInfo SCR_VotingManagerComponent.GetVotingInfo | ( | EVotingType | type | ) |
Get UI representation of given voting.
[in] | type | Type of the vote |
int SCR_VotingManagerComponent.GetVotingsAboutPlayer | ( | int | playerID, |
out notnull array< EVotingType > | outVotingTypes, | ||
bool | onlyTemplates = false , |
||
bool | onlyAvailable = false |
||
) |
Get all votings about given player.
Returns only referendums, not elections e.g., vote to KICK a player is a referendum, but vote to make him/her an ADMIN is election in which multiple players can compete, therefore it's not a vote about the player)
[in] | playerID | Player ID |
[out] | outVotingTypes | Array to be filled with vote types |
[in] | onlyTemplates | True to scan all voting templates, not only active votings |
[in] | onlyAvailable | True to scan only votings which can be available in current situation, evaluated by SCR_VotingBase.IsAvailable(). Note that Vote class specific values such as m_bFactionSpecific in SCR_VotingKick are not properly checked and need a IsVotingAvailable specifically if not checking for templates only |
bool SCR_VotingManagerComponent.HasAbstainedLocally | ( | EVotingType | type, |
int | value = SCR_VotingBase::DEFAULT_VALUE |
||
) |
If local player has abstained from voting eg: VoteRemove was called.
[in] | type | Type of the vote |
[in] | value | Target value, depends on the type (e.g., for KICK it's player ID) |
bool SCR_VotingManagerComponent.IsLocalVote | ( | EVotingType | type, |
int | value = SCR_VotingBase::DEFAULT_VALUE |
||
) |
Check if local vote was cast.
It is purely informative and does not affect voting outcome
[in] | type | Type of the vote |
[in] | value | Target value, depends on the type (e.g., for KICK it's player ID) |
bool SCR_VotingManagerComponent.IsVoting | ( | EVotingType | type, |
int | value = SCR_VotingBase::DEFAULT_VALUE |
||
) |
Check if a voting with given params is currently in effect.
[in] | type | Type of the vote |
[in] | value | Target value, depends on the type (e.g., for KICK it's player ID) |
bool SCR_VotingManagerComponent.IsVotingAboutPlayer | ( | int | playerID, |
EVotingType | type | ||
) |
Check if there is a vote of certain type about given player.
e.g., is there a vote about player being kicked?
[in] | playerID | Player ID |
[in] | type | Type of the vote |
bool SCR_VotingManagerComponent.IsVotingAvailable | ( | EVotingType | type, |
int | value = SCR_VotingBase::DEFAULT_VALUE |
||
) |
Check if a voting is available in the current world.
[in] | type | Type of the vote |
[in] | value | Target value, depends on the type (e.g., for KICK it's player ID) |
void SCR_VotingManagerComponent.Log | ( | ) |
Print out information about all ongoing voting instances.
override void SCR_VotingManagerComponent.OnPlayerConnected | ( | int | playerId | ) |
Called after a player is connected.
Server-only.
[in] | playerId | PlayerId of connected player. |
Implements SCR_BaseGameModeComponent.
override void SCR_VotingManagerComponent.OnPlayerDisconnected | ( | int | playerId, |
KickCauseCode | cause, | ||
int | timeout | ||
) |
Called after a player is disconnected.
[in] | playerId | PlayerId of disconnected player. |
[in] | cause | Reason player disconnected |
[in] | timeout | Timeout for when players are allowed to connect again. -1 means Ban without an assigned timeout |
Implements SCR_BaseGameModeComponent.
override void SCR_VotingManagerComponent.OnPlayerRegistered | ( | int | playerId | ) |
Called on every machine after a player is registered (identity, name etc.).
Always called after OnPlayerConnected.
[in] | playerId | PlayerId of registered player. |
Implements SCR_BaseGameModeComponent.
void SCR_VotingManagerComponent.PreVoteLocal | ( | EVotingType | type, |
int | value | ||
) |
Called before the vote is cased locally to make sure the cooldowns are set if the vote was initiated by the player.
[in] | type | Type of the vote |
[in] | value | Voted value, depends on the type (e.g., for KICK it's player ID) |
void SCR_VotingManagerComponent.RemoveVote | ( | int | playerID, |
EVotingType | type, | ||
int | value | ||
) |
Remove previously cast vote.
To be called from SCR_VoterComponent! Do not call from elsewhere unless you want to subvert democracy!
[in] | playerID | Player who 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) |
void SCR_VotingManagerComponent.RemoveVoteLocal | ( | EVotingType | type, |
int | value | ||
) |
Remove local vote for given voting.
It is purely informative and does not affect voting outcome To be called from SCR_VoterComponent!
[in] | type | Type of the vote |
[in] | value | Voted value, depends on the type (e.g., for KICK it's player ID) |
|
protected |
override bool SCR_VotingManagerComponent.RplLoad | ( | ScriptBitReader | reader | ) |
override bool SCR_VotingManagerComponent.RplSave | ( | ScriptBitWriter | writer | ) |
bool SCR_VotingManagerComponent.StartVoting | ( | EVotingType | type, |
int | value = SCR_VotingBase::DEFAULT_VALUE |
||
) |
Start voting.
[in] | type | Type of the vote |
[in] | value | Target value, depends on the type (e.g., for KICK it's player ID) |
|
protected |
void SCR_VotingManagerComponent.Vote | ( | int | playerID, |
EVotingType | type, | ||
int | value | ||
) |
Vote! If the voting does not exist yet, start it.
To be called from SCR_VoterComponent! Do not call from elsewhere unless you want to subvert democracy!
[in] | playerID | Player who 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) |
void SCR_VotingManagerComponent.VoteLocal | ( | EVotingType | type, |
int | value | ||
) |
Save local vote for given voting.
It is purely informative and does not affect voting outcome To be called from SCR_VoterComponent!
[in] | type | Type of the vote |
[in] | value | Voted value, depends on the type (e.g., for KICK it's player ID) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |