|
CS2-Kit
C++23 library for CS2 Metamod:Source plugin development
|
Namespaces | |
| namespace | Commands |
| namespace | Core |
| namespace | Menu |
| namespace | Players |
| namespace | Sdk |
| namespace | Utils |
Functions | |
| bool | Initialize (ISmmAPI *ismm, char *error, size_t maxlen, const InitParams ¶ms) |
| void | Shutdown () |
| void | OnGameFrame () |
| void | OnPlayerDisconnect (int slot) |
Variables | |
| static constexpr const char * | DefaultGameDataPath = "addons/cs2-kit/gamedata/signatures.jsonc" |
| static Core::ConsoleLogger | g_consoleLogger |
| bool CS2Kit::Initialize | ( | ISmmAPI * | ismm, |
| char * | error, | ||
| size_t | maxlen, | ||
| const InitParams & | params | ||
| ) |
Definition at line 31 of file CS2Kit.cpp.
References DefaultGameDataPath, g_consoleLogger, Initialize(), CS2Kit::Core::SetBaseDir(), CS2Kit::Core::SetGlobalLogger(), and CS2Kit::Core::ConsoleLogger::SetPrefix().
Referenced by Initialize().
| void CS2Kit::OnGameFrame | ( | ) |
Definition at line 161 of file CS2Kit.cpp.
| void CS2Kit::OnPlayerDisconnect | ( | int | slot | ) |
Definition at line 167 of file CS2Kit.cpp.
| void CS2Kit::Shutdown | ( | ) |
Definition at line 156 of file CS2Kit.cpp.
|
staticconstexpr |
Definition at line 28 of file CS2Kit.cpp.
Referenced by Initialize().
|
static |
Definition at line 29 of file CS2Kit.cpp.
Referenced by Initialize().