|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static VoteCast | From (IGameEvent &e) |
Public Attributes | |
| int | VoteOption = 0 |
| which option the player voted on | |
| VoltMod::Team | Team = VoltMod::Team::None |
| int | Slot = -1 |
| player who voted | |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "vote_cast" |
Definition at line 2174 of file EventTypes.hpp.
|
static |
Definition at line 2052 of file EventTypes.cpp.
References VoltMod::ReadFile(), Slot, and VoteOption.
|
staticconstexpr |
Definition at line 2176 of file EventTypes.hpp.
| int VoltMod::VoteCast::Slot = -1 |
| VoltMod::Team VoltMod::VoteCast::Team = VoltMod::Team::None |
Definition at line 2178 of file EventTypes.hpp.
| int VoltMod::VoteCast::VoteOption = 0 |
which option the player voted on
Definition at line 2177 of file EventTypes.hpp.
Referenced by From().