VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::Schema::CVoteController Class Reference

#include <CVoteController.hpp>

+ Inheritance diagram for VoltMod::Schema::CVoteController:

Public Member Functions

int32_t ActiveIssueIndex () const
 
void SetActiveIssueIndex (int32_t value) const
 
int32_t OnlyTeamToVote () const
 
void SetOnlyTeamToVote (int32_t value) const
 
int32_t VoteOptionCount (size_t index) const
 
void SetVoteOptionCount (size_t index, int32_t value) const
 
int32_t PotentialVotes () const
 
void SetPotentialVotes (int32_t value) const
 
bool IsYesNoVote () const
 
void SetIsYesNoVote (bool value) const
 
CountdownTimer AcceptingVotesTimer () const
 
CountdownTimer ExecuteCommandTimer () const
 
CountdownTimer ResetVoteTimer () const
 
int32_t VotesCast (size_t index) const
 
void SetVotesCast (size_t index, int32_t value) const
 
int32_t PlayerHoldingVote () const
 
void SetPlayerHoldingVote (int32_t value) const
 
int32_t PlayerOverrideForVote () const
 
void SetPlayerOverrideForVote (int32_t value) const
 
int32_t HighestCountIndex () const
 
void SetHighestCountIndex (int32_t value) const
 
void * PotentialIssues () const
 
void * VoteOptions () const
 
- Public Member Functions inherited from VoltMod::Schema::CBaseEntity
int32_t Health () const
 
void SetHealth (int32_t value) const
 
int32_t MaxHealth () const
 
void SetMaxHealth (int32_t value) const
 
float GravityScale () const
 
void SetGravityScale (float value) const
 
VoltMod::Team TeamNum () const
 
void SetTeamNum (VoltMod::Team value) const
 
uint8_t LifeState () const
 
void SetLifeState (uint8_t value) const
 
uint32_t Flags () const
 
void SetFlags (uint32_t value) const
 
Vector AbsVelocity () const
 
void SetAbsVelocity (Vector value) const
 
MoveType_t MoveTypeRaw () const
 
void SetMoveTypeRaw (MoveType_t value) const
 
MoveType_t ActualMoveType () const
 
void SetActualMoveType (MoveType_t value) const
 
EntityRef GroundEntity () const
 
void SetGroundEntity (EntityRef value) const
 
EntityRef OwnerEntity () const
 
void SetOwnerEntity (EntityRef value) const
 
CBodyComponent BodyComponent () const
 
 CEntityInstance ()=default
 
 CEntityInstance (::CEntityInstance *entity) noexcept
 
 CEntityInstance (void *base) noexcept
 
- Public Member Functions inherited from VoltMod::Schema::CEntityInstance
 CEntityInstance ()=default
 
 CEntityInstance (::CEntityInstance *entity) noexcept
 
 CEntityInstance (void *base) noexcept
 
- Public Member Functions inherited from VoltMod::Schema::View
 View ()=default
 
 View (void *base) noexcept
 
 View (void *base, ::CEntityInstance *owner, int32_t ownerOffset) noexcept
 
 operator bool () const noexcept
 
void * Base () const noexcept
 

Additional Inherited Members

- Protected Attributes inherited from VoltMod::Schema::View
void * _base = nullptr
 
::CEntityInstance * _owner = nullptr
 
int32_t _ownerOffset = 0
 

Detailed Description

Frame-local view over an engine CVoteController; never store one.

Definition at line 15 of file CVoteController.hpp.

Member Function Documentation

◆ AcceptingVotesTimer()

◆ ActiveIssueIndex()

int32_t VoltMod::Schema::CVoteController::ActiveIssueIndex ( ) const

◆ ExecuteCommandTimer()

◆ HighestCountIndex()

int32_t VoltMod::Schema::CVoteController::HighestCountIndex ( ) const

◆ IsYesNoVote()

bool VoltMod::Schema::CVoteController::IsYesNoVote ( ) const

◆ OnlyTeamToVote()

int32_t VoltMod::Schema::CVoteController::OnlyTeamToVote ( ) const

◆ PlayerHoldingVote()

int32_t VoltMod::Schema::CVoteController::PlayerHoldingVote ( ) const

◆ PlayerOverrideForVote()

int32_t VoltMod::Schema::CVoteController::PlayerOverrideForVote ( ) const

◆ PotentialIssues()

void * VoltMod::Schema::CVoteController::PotentialIssues ( ) const

◆ PotentialVotes()

int32_t VoltMod::Schema::CVoteController::PotentialVotes ( ) const

◆ ResetVoteTimer()

◆ SetActiveIssueIndex()

◆ SetHighestCountIndex()

void VoltMod::Schema::CVoteController::SetHighestCountIndex ( int32_t  value) const

◆ SetIsYesNoVote()

◆ SetOnlyTeamToVote()

◆ SetPlayerHoldingVote()

void VoltMod::Schema::CVoteController::SetPlayerHoldingVote ( int32_t  value) const

◆ SetPlayerOverrideForVote()

void VoltMod::Schema::CVoteController::SetPlayerOverrideForVote ( int32_t  value) const

◆ SetPotentialVotes()

◆ SetVoteOptionCount()

◆ SetVotesCast()

void VoltMod::Schema::CVoteController::SetVotesCast ( size_t  index,
int32_t  value 
) const

◆ VoteOptionCount()

int32_t VoltMod::Schema::CVoteController::VoteOptionCount ( size_t  index) const

◆ VoteOptions()

void * VoltMod::Schema::CVoteController::VoteOptions ( ) const

◆ VotesCast()

int32_t VoltMod::Schema::CVoteController::VotesCast ( size_t  index) const

The documentation for this class was generated from the following files: