CVoteController: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
...


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/vote_controller.h /game/server/vote_controller.h]'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/vote_controller vote_controller]'''
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''CVoteController'''
== SendProps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CVoteController
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''m_iActiveIssueIndex'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nVoteIdx'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iOnlyTeamToVote'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_nVoteOptionCount
|-
| style="width: 50%;" |'''000'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''001'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''002'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''003'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''004'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|}
|-
| style="width: 50%;" |'''m_nPotentialVotes'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bIsYesNoVote'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CVoteController
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''CVoteControllerVoteControllerThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 09:50, 8 March 2023

Overview[edit | edit source]

...

Source location : /game/server/vote_controller.h

Linked Entity : vote_controller

Class Structure[edit | edit source]

SendProps[edit | edit source]

CVoteController
Name Type Description
m_iActiveIssueIndex Integer
m_nVoteIdx Integer
m_iOnlyTeamToVote Integer
m_nVoteOptionCount
000 Integer
001 Integer
002 Integer
003 Integer
004 Integer
m_nPotentialVotes Integer
m_bIsYesNoVote Boolean

Entity DataMaps[edit | edit source]

CVoteController
Name Type Description
CVoteControllerVoteControllerThink