|
VoltMod
C++23 framework for CS2 server plugins
|
#include <CVoteController.hpp>
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 | |
| void * | SubclassIdAddress () const |
| 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 |
Frame-local view over an engine CVoteController; never store one.
Definition at line 15 of file CVoteController.hpp.
| CountdownTimer VoltMod::Schema::CVoteController::AcceptingVotesTimer | ( | ) | const |
Definition at line 135 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::View::_owner, VoltMod::Schema::View::_ownerOffset, VoltMod::Schema::kCVoteController_AcceptingVotesTimer, and VoltMod::MemberPtr().
| int32_t VoltMod::Schema::CVoteController::ActiveIssueIndex | ( | ) | const |
Definition at line 29 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_ActiveIssueIndex, and VoltMod::MemberPtr().
| CountdownTimer VoltMod::Schema::CVoteController::ExecuteCommandTimer | ( | ) | const |
Definition at line 146 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::View::_owner, VoltMod::Schema::View::_ownerOffset, VoltMod::Schema::kCVoteController_ExecuteCommandTimer, and VoltMod::MemberPtr().
| int32_t VoltMod::Schema::CVoteController::HighestCountIndex | ( | ) | const |
Definition at line 228 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_HighestCountIndex, and VoltMod::MemberPtr().
| bool VoltMod::Schema::CVoteController::IsYesNoVote | ( | ) | const |
Definition at line 114 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_IsYesNoVote, and VoltMod::MemberPtr().
| int32_t VoltMod::Schema::CVoteController::OnlyTeamToVote | ( | ) | const |
Definition at line 50 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_OnlyTeamToVote, and VoltMod::MemberPtr().
| int32_t VoltMod::Schema::CVoteController::PlayerHoldingVote | ( | ) | const |
Definition at line 188 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_PlayerHoldingVote, and VoltMod::MemberPtr().
| int32_t VoltMod::Schema::CVoteController::PlayerOverrideForVote | ( | ) | const |
Definition at line 208 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_PlayerOverrideForVote, and VoltMod::MemberPtr().
| void * VoltMod::Schema::CVoteController::PotentialIssues | ( | ) | const |
Definition at line 248 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_PotentialIssues, and VoltMod::MemberPtr().
| int32_t VoltMod::Schema::CVoteController::PotentialVotes | ( | ) | const |
Definition at line 93 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_PotentialVotes, and VoltMod::MemberPtr().
| CountdownTimer VoltMod::Schema::CVoteController::ResetVoteTimer | ( | ) | const |
Definition at line 157 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::View::_owner, VoltMod::Schema::View::_ownerOffset, VoltMod::Schema::kCVoteController_ResetVoteTimer, and VoltMod::MemberPtr().
| void VoltMod::Schema::CVoteController::SetActiveIssueIndex | ( | int32_t | value | ) | const |
Definition at line 39 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::View::_owner, VoltMod::Schema::View::_ownerOffset, VoltMod::Schema::kCVoteController_ActiveIssueIndex, VoltMod::MemberPtr(), and VoltMod::Schema::NotifyEntity().
| void VoltMod::Schema::CVoteController::SetHighestCountIndex | ( | int32_t | value | ) | const |
Definition at line 238 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_HighestCountIndex, and VoltMod::MemberPtr().
| void VoltMod::Schema::CVoteController::SetIsYesNoVote | ( | bool | value | ) | const |
Definition at line 124 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::View::_owner, VoltMod::Schema::View::_ownerOffset, VoltMod::Schema::kCVoteController_IsYesNoVote, VoltMod::MemberPtr(), and VoltMod::Schema::NotifyEntity().
| void VoltMod::Schema::CVoteController::SetOnlyTeamToVote | ( | int32_t | value | ) | const |
Definition at line 60 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::View::_owner, VoltMod::Schema::View::_ownerOffset, VoltMod::Schema::kCVoteController_OnlyTeamToVote, VoltMod::MemberPtr(), and VoltMod::Schema::NotifyEntity().
| void VoltMod::Schema::CVoteController::SetPlayerHoldingVote | ( | int32_t | value | ) | const |
Definition at line 198 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_PlayerHoldingVote, and VoltMod::MemberPtr().
| void VoltMod::Schema::CVoteController::SetPlayerOverrideForVote | ( | int32_t | value | ) | const |
Definition at line 218 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_PlayerOverrideForVote, and VoltMod::MemberPtr().
| void VoltMod::Schema::CVoteController::SetPotentialVotes | ( | int32_t | value | ) | const |
Definition at line 103 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::View::_owner, VoltMod::Schema::View::_ownerOffset, VoltMod::Schema::kCVoteController_PotentialVotes, VoltMod::MemberPtr(), and VoltMod::Schema::NotifyEntity().
| void VoltMod::Schema::CVoteController::SetVoteOptionCount | ( | size_t | index, |
| int32_t | value ) const |
Definition at line 81 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::View::_owner, VoltMod::Schema::View::_ownerOffset, VoltMod::Schema::kCVoteController_VoteOptionCount, VoltMod::MemberPtr(), and VoltMod::Schema::NotifyEntity().
| void VoltMod::Schema::CVoteController::SetVotesCast | ( | size_t | index, |
| int32_t | value ) const |
Definition at line 178 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_VotesCast, and VoltMod::MemberPtr().
| int32_t VoltMod::Schema::CVoteController::VoteOptionCount | ( | size_t | index | ) | const |
Definition at line 71 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_VoteOptionCount, and VoltMod::MemberPtr().
| void * VoltMod::Schema::CVoteController::VoteOptions | ( | ) | const |
Definition at line 253 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_VoteOptions, and VoltMod::MemberPtr().
| int32_t VoltMod::Schema::CVoteController::VotesCast | ( | size_t | index | ) | const |
Definition at line 168 of file CVoteController.cpp.
References VoltMod::Schema::View::_base, VoltMod::Schema::kCVoteController_VotesCast, and VoltMod::MemberPtr().