MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / TryCastVote

Method TryCastVote

src/game/server/vote_controller.cpp:676–763  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Player generated a vote command. i.e. /vote option1 -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

HandleVoteCommandsMethod · 0.80
OnVoteStartedMethod · 0.80
OnPlayerDisconnectedMethod · 0.80

Calls 13

UTIL_EntityByIndexFunction · 0.85
GetVoterTeamFunction · 0.85
UTIL_PlayerByIndexFunction · 0.70
HasStartedMethod · 0.45
GetSteamIDMethod · 0.45
IsValidMethod · 0.45
IsTeamRestrictedVoteMethod · 0.45
FindMethod · 0.45
InvalidIndexMethod · 0.45
IsYesNoVoteMethod · 0.45
InsertOrReplaceMethod · 0.45
SetIntMethod · 0.45

Tested by

no test coverage detected