DDraceNetwork Docs
|
#include <gtest/gtest.h>
#include <base/detect.h>
#include <engine/external/json-parser/json.h>
#include <engine/server.h>
#include <engine/shared/config.h>
#include <game/gamecore.h>
#include <game/server/teehistorian.h>
#include <vector>
#include <engine/shared/config_variables.h>
Classes | |
class | TeeHistorian |
Macros | |
#define | MACRO_CONFIG_INT(Name, ScriptName, Def, Min, Max, Save, Desc) m_Config.m_##Name = (Def); |
#define | MACRO_CONFIG_COL(Name, ScriptName, Def, Save, Desc) MACRO_CONFIG_INT(Name, ScriptName, Def, 0, 0, Save, Desc) |
#define | MACRO_CONFIG_STR(Name, ScriptName, Len, Def, Save, Desc) str_copy(m_Config.m_##Name, (Def), sizeof(m_Config.m_##Name)); |
Functions | |
void | RegisterGameUuids (CUuidManager *pManager) |
TEST_F (TeeHistorian, Empty) | |
TEST_F (TeeHistorian, Finished) | |
TEST_F (TeeHistorian, TickImplicitOneTick) | |
TEST_F (TeeHistorian, TickImplicitTwoTicks) | |
TEST_F (TeeHistorian, TickImplicitDescendingClientId) | |
TEST_F (TeeHistorian, TickExplicitAscendingClientId) | |
TEST_F (TeeHistorian, TickImplicitEmpty) | |
TEST_F (TeeHistorian, TickExplicitStart) | |
TEST_F (TeeHistorian, TickExplicitPlayerMessage) | |
TEST_F (TeeHistorian, ExtraMessage) | |
TEST_F (TeeHistorian, DDNetVersion) | |
TEST_F (TeeHistorian, Auth) | |
TEST_F (TeeHistorian, JoinLeave) | |
TEST_F (TeeHistorian, Input) | |
TEST_F (TeeHistorian, SaveSuccess) | |
TEST_F (TeeHistorian, SaveFailed) | |
TEST_F (TeeHistorian, LoadSuccess) | |
TEST_F (TeeHistorian, LoadFailed) | |
TEST_F (TeeHistorian, PlayerSwap) | |
TEST_F (TeeHistorian, PlayerTeam) | |
TEST_F (TeeHistorian, TeamPractice) | |
TEST_F (TeeHistorian, PlayerRejoinVer6) | |
TEST_F (TeeHistorian, PlayerReady) | |
TEST_F (TeeHistorian, PlayerReadyMultiple) | |
TEST_F (TeeHistorian, AntibotEmpty) | |
TEST_F (TeeHistorian, AntibotEmptyNulBytes) | |
TEST_F (TeeHistorian, AntibotEmptyMessage) | |
TEST_F (TeeHistorian, PlayerName) | |
TEST_F (TeeHistorian, PlayerFinish) | |
TEST_F (TeeHistorian, TeamFinish) | |
TEST_F (TeeHistorian, PrevGameUuid) | |
#define MACRO_CONFIG_COL | ( | Name, | |
ScriptName, | |||
Def, | |||
Save, | |||
Desc | |||
) | MACRO_CONFIG_INT(Name, ScriptName, Def, 0, 0, Save, Desc) |
#define MACRO_CONFIG_INT | ( | Name, | |
ScriptName, | |||
Def, | |||
Min, | |||
Max, | |||
Save, | |||
Desc | |||
) | m_Config.m_##Name = (Def); |
#define MACRO_CONFIG_STR | ( | Name, | |
ScriptName, | |||
Len, | |||
Def, | |||
Save, | |||
Desc | |||
) | str_copy(m_Config.m_##Name, (Def), sizeof(m_Config.m_##Name)); |
void RegisterGameUuids | ( | CUuidManager * | pManager | ) |
TEST_F | ( | TeeHistorian | , |
AntibotEmpty | |||
) |
TEST_F | ( | TeeHistorian | , |
AntibotEmptyMessage | |||
) |
TEST_F | ( | TeeHistorian | , |
AntibotEmptyNulBytes | |||
) |
TEST_F | ( | TeeHistorian | , |
Auth | |||
) |
TEST_F | ( | TeeHistorian | , |
DDNetVersion | |||
) |
TEST_F | ( | TeeHistorian | , |
Empty | |||
) |
TEST_F | ( | TeeHistorian | , |
ExtraMessage | |||
) |
TEST_F | ( | TeeHistorian | , |
Finished | |||
) |
TEST_F | ( | TeeHistorian | , |
Input | |||
) |
TEST_F | ( | TeeHistorian | , |
JoinLeave | |||
) |
TEST_F | ( | TeeHistorian | , |
LoadFailed | |||
) |
TEST_F | ( | TeeHistorian | , |
LoadSuccess | |||
) |
TEST_F | ( | TeeHistorian | , |
PlayerFinish | |||
) |
TEST_F | ( | TeeHistorian | , |
PlayerName | |||
) |
TEST_F | ( | TeeHistorian | , |
PlayerReady | |||
) |
TEST_F | ( | TeeHistorian | , |
PlayerReadyMultiple | |||
) |
TEST_F | ( | TeeHistorian | , |
PlayerRejoinVer6 | |||
) |
TEST_F | ( | TeeHistorian | , |
PlayerSwap | |||
) |
TEST_F | ( | TeeHistorian | , |
PlayerTeam | |||
) |
TEST_F | ( | TeeHistorian | , |
PrevGameUuid | |||
) |
TEST_F | ( | TeeHistorian | , |
SaveFailed | |||
) |
TEST_F | ( | TeeHistorian | , |
SaveSuccess | |||
) |
TEST_F | ( | TeeHistorian | , |
TeamFinish | |||
) |
TEST_F | ( | TeeHistorian | , |
TeamPractice | |||
) |
TEST_F | ( | TeeHistorian | , |
TickExplicitAscendingClientId | |||
) |
TEST_F | ( | TeeHistorian | , |
TickExplicitPlayerMessage | |||
) |
TEST_F | ( | TeeHistorian | , |
TickExplicitStart | |||
) |
TEST_F | ( | TeeHistorian | , |
TickImplicitDescendingClientId | |||
) |
TEST_F | ( | TeeHistorian | , |
TickImplicitEmpty | |||
) |
TEST_F | ( | TeeHistorian | , |
TickImplicitOneTick | |||
) |
TEST_F | ( | TeeHistorian | , |
TickImplicitTwoTicks | |||
) |