VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
CVoteController.hpp
Go to the documentation of this file.
1// Generated by `voltmod framework schemagen`. Do not edit.
2
3#pragma once
4
8#include <cstddef>
9#include <cstdint>
10
11namespace VoltMod::Schema
12{
13
14/** Frame-local view over an engine CVoteController; never store one. */
16{
17public:
18 using CBaseEntity::CBaseEntity;
19
21 void SetActiveIssueIndex(int32_t value) const;
22
23 int32_t OnlyTeamToVote() const;
24 void SetOnlyTeamToVote(int32_t value) const;
25
26 int32_t VoteOptionCount(size_t index) const;
27 void SetVoteOptionCount(size_t index, int32_t value) const;
28
29 int32_t PotentialVotes() const;
30 void SetPotentialVotes(int32_t value) const;
31
32 bool IsYesNoVote() const;
33 void SetIsYesNoVote(bool value) const;
34
36
38
40
41 int32_t VotesCast(size_t index) const;
42 void SetVotesCast(size_t index, int32_t value) const;
43
45 void SetPlayerHoldingVote(int32_t value) const;
46
48 void SetPlayerOverrideForVote(int32_t value) const;
49
51 void SetHighestCountIndex(int32_t value) const;
52
53 void* PotentialIssues() const;
54
55 void* VoteOptions() const;
56};
57
58} // namespace VoltMod::Schema
void SetPlayerHoldingVote(int32_t value) const
int32_t VotesCast(size_t index) const
void SetActiveIssueIndex(int32_t value) const
void SetVotesCast(size_t index, int32_t value) const
void SetIsYesNoVote(bool value) const
void SetHighestCountIndex(int32_t value) const
CountdownTimer AcceptingVotesTimer() const
void SetOnlyTeamToVote(int32_t value) const
CountdownTimer ResetVoteTimer() const
int32_t VoteOptionCount(size_t index) const
void SetVoteOptionCount(size_t index, int32_t value) const
void SetPlayerOverrideForVote(int32_t value) const
void SetPotentialVotes(int32_t value) const
CountdownTimer ExecuteCommandTimer() const
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56