|
VoltMod
C++23 framework for CS2 server plugins
|
#include <Args.hpp>
Public Attributes | |
| Player * | Online = nullptr |
| int64_t | SteamId = 0 |
Static Public Attributes | |
| static constexpr ArgKind | Kind = ArgKind::PlayerOrSteamId |
An online player when the token resolves to one, otherwise the bare SteamID64.
Resolution is tried first, so @me and a name fragment both work; a numeric token that matches nobody online (or nobody the caller may act on) falls back to SteamId with Online left null, which is how an offline player is addressed.
|
staticconstexpr |
Definition at line 106 of file Args.hpp.
Referenced by VoltMod::BindPlayerOrSteamId().