VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::VoteTally Struct Reference

#include <Vote.hpp>

Public Member Functions

int Cast () const
 

Public Attributes

int Eligible = 0
 players who could vote
 
int Yes = 0
 
int No = 0
 

Detailed Description

The tally handed to VoteRequest::Passed.

Definition at line 31 of file Vote.hpp.

Member Function Documentation

◆ Cast()

int VoltMod::VoteTally::Cast ( ) const
inline

Definition at line 37 of file Vote.hpp.

References No, and Yes.

Member Data Documentation

◆ Eligible

int VoltMod::VoteTally::Eligible = 0

players who could vote

Definition at line 33 of file Vote.hpp.

◆ No

int VoltMod::VoteTally::No = 0

Definition at line 35 of file Vote.hpp.

Referenced by Cast().

◆ Yes

int VoltMod::VoteTally::Yes = 0

Definition at line 34 of file Vote.hpp.

Referenced by Cast().


The documentation for this struct was generated from the following file: