Entity systemClasses
CVoteController
Schema class CVoteController, derived from CBaseEntity.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CVoteController.h
Inherits CBaseEntity
Fields
| Field | Type |
|---|---|
m_iActiveIssueIndex | int32_t |
m_iOnlyTeamToVote | int32_t |
m_nVoteOptionCount | int32_t |
m_nPotentialVotes | int32_t |
m_bIsYesNoVote | bool |
m_acceptingVotesTimer | CountdownTimer |
m_executeCommandTimer | CountdownTimer |
m_resetVoteTimer | CountdownTimer |
m_nVotesCast | int32_t |
m_playerHoldingVote | int32_t |
m_playerOverrideForVote | int32_t |
m_nHighestCountIndex | int32_t |
m_potentialIssues | CUtlVector<CBaseIssue*> |
m_VoteOptions | CUtlVector<char*> |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).