|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static ServerSpawn | From (IGameEvent &e) |
Public Attributes | |
| std::string | Hostname |
| public host name | |
| std::string | Address |
| hostame, IP or DNS name | |
| int | Port = 0 |
| server port | |
| std::string | Game |
| game dir | |
| std::string | Mapname |
| map name | |
| std::string | Addonname |
| addon name | |
| int | Maxplayers = 0 |
| max players | |
| std::string | Os |
| WIN32, LINUX. | |
| bool | Dedicated = false |
| true if dedicated server | |
| bool | Password = false |
| true if password protected | |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "server_spawn" |
send once a server starts
Definition at line 1832 of file EventTypes.hpp.
|
static |
Definition at line 1723 of file EventTypes.cpp.
References Hostname, and VoltMod::ReadFile().
| std::string VoltMod::ServerSpawn::Addonname |
addon name
Definition at line 1840 of file EventTypes.hpp.
| std::string VoltMod::ServerSpawn::Address |
hostame, IP or DNS name
Definition at line 1836 of file EventTypes.hpp.
true if dedicated server
Definition at line 1843 of file EventTypes.hpp.
|
staticconstexpr |
Definition at line 1834 of file EventTypes.hpp.
| std::string VoltMod::ServerSpawn::Game |
game dir
Definition at line 1838 of file EventTypes.hpp.
| std::string VoltMod::ServerSpawn::Hostname |
| std::string VoltMod::ServerSpawn::Mapname |
map name
Definition at line 1839 of file EventTypes.hpp.
| int VoltMod::ServerSpawn::Maxplayers = 0 |
max players
Definition at line 1841 of file EventTypes.hpp.
| std::string VoltMod::ServerSpawn::Os |
WIN32, LINUX.
Definition at line 1842 of file EventTypes.hpp.
true if password protected
Definition at line 1844 of file EventTypes.hpp.
| int VoltMod::ServerSpawn::Port = 0 |
server port
Definition at line 1837 of file EventTypes.hpp.