#include <voting.h>
|
| | CVoting () |
| |
| int | Sizeof () const override |
| |
| void | OnReset () override |
| |
| void | OnConsoleInit () override |
| |
| void | OnMessage (int Msgtype, void *pRawMsg) override |
| |
| void | Render () |
| |
| void | CallvoteSpectate (int ClientId, const char *pReason, bool ForceVote=false) |
| |
| void | CallvoteKick (int ClientId, const char *pReason, bool ForceVote=false) |
| |
| void | CallvoteOption (int OptionId, const char *pReason, bool ForceVote=false) |
| |
| void | RemovevoteOption (int OptionId) |
| |
| void | AddvoteOption (const char *pDescription, const char *pCommand) |
| |
| void | AddOption (const char *pDescription) |
| |
| void | Vote (int v) |
| |
| int | SecondsLeft () const |
| |
| bool | IsVoting () const |
| |
| int | TakenChoice () const |
| |
| const char * | VoteDescription () const |
| |
| const char * | VoteReason () const |
| |
| bool | IsReceivingOptions () const |
| |
| virtual | ~CComponent ()=default |
| |
| virtual void | OnStateChange (int NewState, int OldState) |
| |
| virtual void | OnInit () |
| |
| virtual void | OnShutdown () |
| |
| virtual void | OnWindowResize () |
| |
| virtual void | OnUpdate () |
| |
| virtual void | OnRender () |
| |
| virtual void | OnNewSnapshot () |
| |
| virtual void | OnRelease () |
| |
| virtual void | OnMapLoad () |
| |
| virtual bool | OnCursorMove (float x, float y, IInput::ECursorType CursorType) |
| |
| virtual bool | OnInput (const IInput::CEvent &Event) |
| |
| virtual bool | OnTouchState (const std::vector< IInput::CTouchFingerState > &vTouchFingerStates) |
| |
| virtual void | OnInterfacesInit (CGameClient *pClient) |
| |
| virtual | ~CComponentInterfaces ()=default |
| |
◆ CVoting()
◆ AddOption()
◆ AddvoteOption()
◆ Callvote()
◆ CallvoteKick()
◆ CallvoteOption()
◆ CallvoteSpectate()
◆ ClearOptions()
| void CVoting::ClearOptions |
( |
| ) |
|
|
private |
◆ ConCallvote()
◆ ConVote()
◆ IsReceivingOptions()
| bool CVoting::IsReceivingOptions |
( |
| ) |
const |
|
inline |
◆ IsVoting()
| bool CVoting::IsVoting |
( |
| ) |
const |
|
inline |
◆ OnConsoleInit()
| void CVoting::OnConsoleInit |
( |
| ) |
|
|
overridevirtual |
Called to let the components register their console commands.
Reimplemented from CComponent.
◆ OnMessage()
◆ OnReset()
| void CVoting::OnReset |
( |
| ) |
|
|
overridevirtual |
Called to reset the component. This method is usually called on your component constructor to avoid code duplication.
- See also
- CHud::CHud()
-
CHud::OnReset()
Reimplemented from CComponent.
◆ RemoveOption()
◆ RemovevoteOption()
| void CVoting::RemovevoteOption |
( |
int |
OptionId | ) |
|
◆ Render()
◆ RenderBars()
◆ SecondsLeft()
| int CVoting::SecondsLeft |
( |
| ) |
const |
◆ Sizeof()
| int CVoting::Sizeof |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
◆ TakenChoice()
| int CVoting::TakenChoice |
( |
| ) |
const |
|
inline |
◆ Vote()
◆ VoteDescription()
| const char * CVoting::VoteDescription |
( |
| ) |
const |
|
inline |
◆ VoteReason()
◆ m_aDescription
◆ m_aReason
◆ m_Closetime
◆ m_Heap
◆ m_No
◆ m_NumVoteOptions
| int CVoting::m_NumVoteOptions |
◆ m_Opentime
◆ m_Pass
◆ m_pFirst
◆ m_pLast
◆ m_pRecycleFirst
◆ m_pRecycleLast
◆ m_ReceivingOptions
| bool CVoting::m_ReceivingOptions |
|
private |
◆ m_Total
◆ m_Voted
◆ m_Yes
The documentation for this class was generated from the following files: