Public feed
#529535
#ifndef __DEFINES_H_#define __DEFINES_H_// #define ADMIN_CONNECT 0x00#define ADMIN_DISCONNECT 0x01#define ADMIN_PING 0x02#define ADMIN_CHAT 0x03#define ADMIN_PLAYER_JOIN 0x04#define ADMIN_PLAYER_PART 0x05#define ADMIN_PLAYER_LOGIN 0x06#define ADMIN_KICK 0x07#define ADMIN_BAN 0x08#define ADMIN_ADDBAN 0x09#define ADMIN_PLAYER_DEATH 0x10#define ADMIN_PLAYER_PM 0x11#define ADMIN_RACE_LIST 0x12#define ADMIN_START_RACE 0x13#define ADMIN_SET_MAX_PLAYERS 0x14#define ADMIN_PLAYER_FINISHED_RACE 0x15#define ADMIN_PLAYER_PING 0x16#define ADMIN_PLAYER_RESPAWN 0x17// #define CONNECT_DISCONNECT 0x00#define CONNECT_FAILED_BAD_PASS 0x01#define CONNECT_CONNECTED 0x02#define CONNECT_TIMED_OUT 0x03#define CONNECT_TOO_MANY_USERS_FROM_IP 0x04#define CONNECT_BANNED 0x05#define CONNECT_NAME_IN_USE 0x06#define CONNECT_INVALID_VERSION 0x07// #define ADMIN_CONSOLE_CHAT 0x00#define ADMIN_ADMIN_CHAT 0x01#define ADMIN_PLAYER_CHAT 0x02#define ADMIN_PLAYER_PARTED 0x00#define ADMIN_PLAYER_KICKED 0x01#define ADMIN_PLAYER_BANNED 0x02#define ADMIN_PLAYER_TIMED_OUT 0x03//#define ADMIN_LOGIN_SUCCESS 0x00#define ADMIN_LOGIN_FAILED 0x01// #define ADMIN_LOGIN_LOGGED_IN 0x02#define ADMIN_BAN_SUCCESS 0x00#define ADMIN_BAN_FAILED 0x01#define ADMIN_UNBAN_SUCCESS 0x00#define ADMIN_UNBAN_FAILED 0x01// #define ADMIN_SERVER_PASSWORD_CHANGED 0x00#define ADMIN_SERVER_PASSWORD_FAILED 0x01#define ADMIN_SERVER_PASSWORD_DISABLED 0x02// #define ADMIN_SERVER_SHUTDOWN_SUCCESS 0x00#define ADMIN_SERVER_SHUTDOWN_WAITING 0x01#define ADMIN_SERVER_SHUTDOWN_DISABLED 0x02// #define ADMIN_PLAYER_MUTE 0x00#define ADMIN_PLAYER_UNMUTE 0x01#define ADMIN_MUTE_SUCCESS 0x02#define ADMIN_UNMUTE_SUCCESS 0x03// #define ADMIN_MUTE_FAILED 0x00#define ADMIN_UNMUTE_FAILED 0x01// #define ADMIN_PLAYER_FREEZE 0x00#define ADMIN_PLAYER_UNFREEZE 0x01#define ADMIN_FREEZE_SUCCESS 0x02#define ADMIN_UNFREEZE_SUCCESS 0x03// #define ADMIN_FREEZE_FAILED 0x00#define ADMIN_UNFREEZE_FAILED 0x01// #define CHAT_PRINT 0x00#define CONSOLE_ECHO 0x01#define CHAT_PRINT_FAILED 0x02#define CONSOLE_ECHO_FAILED 0x03// #define ADMIN_RACE_LIST_NEW 0x00#define ADMIN_RACE_LIST_MAP 0x01#define ADMIN_RACE_LIST_END 0x02// #define ADMIN_RACE_STARTED 0x00#define ADMIN_RACE_FAILED 0x01#define ADMIN_RACE_NO_PLAYERS 0x02#endif