|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static RoundEnd | From (IGameEvent &e) |
Public Attributes | |
| int | Winner = 0 |
| winner team/user i | |
| int | Reason = 0 |
| reson why team won | |
| std::string | Message |
| end round message | |
| int | Legacy = 0 |
| server-generated legacy value | |
| int | PlayerCount = 0 |
| int | Nomusic = 0 |
| if set, don't play round end music, because action is still on-going | |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "round_end" |
Definition at line 1705 of file EventTypes.hpp.
|
static |
Definition at line 1612 of file EventTypes.cpp.
References VoltMod::ReadFile(), and Winner.
|
staticconstexpr |
Definition at line 1707 of file EventTypes.hpp.
| int VoltMod::RoundEnd::Legacy = 0 |
server-generated legacy value
Definition at line 1711 of file EventTypes.hpp.
| std::string VoltMod::RoundEnd::Message |
end round message
Definition at line 1710 of file EventTypes.hpp.
| int VoltMod::RoundEnd::Nomusic = 0 |
if set, don't play round end music, because action is still on-going
Definition at line 1714 of file EventTypes.hpp.
| int VoltMod::RoundEnd::PlayerCount = 0 |
total number of players alive at the end of round, used for statistics gathering, computed on the server in the event client is in replay when receiving this message
Definition at line 1712 of file EventTypes.hpp.
| int VoltMod::RoundEnd::Reason = 0 |
reson why team won
Definition at line 1709 of file EventTypes.hpp.
| int VoltMod::RoundEnd::Winner = 0 |