-
Notifications
You must be signed in to change notification settings - Fork 3
Enums
oukibt edited this page Jun 30, 2021
·
1 revision
enum Query_HookType
{
QHOOK_INFO,
QHOOK_RULES,
QHOOK_PLAYERS,
QHOOK_DETAILED_PLAYERS,
QHOOK_PING,
};
Used in the EnableHookQuery function to pass the hook type
enum Query_Players
{
PQ_pName[MAX_PLAYER_NAME],
PQ_pScore,
};
Used to form a players data array
enum Query_DetailedPlayers
{
PQ_dID,
PQ_dName[MAX_PLAYER_NAME],
PQ_dScore,
PQ_dPing,
};
Used to form an array of detailed player data
enum Query_Rules
{
PQ_rName[MAX_RULE_LENGTH],
PQ_rValue[MAX_RULE_LENGTH],
};
Used to form an array of server rules