Added error handling for networking stuff. Now checking the player action.
This commit is contained in:
+12
-8
@@ -54,14 +54,18 @@
|
||||
#define ERR_NET_UNKNOWN_GAME 110
|
||||
#define ERR_NET_INVALID_CHAT_TEXT 111
|
||||
#define ERR_NET_UNKNOWN_PLAYER_ID 112
|
||||
#define ERR_NET_INVALID_ROUND 113
|
||||
#define ERR_NET_PLAYER_KICKED 114
|
||||
#define ERR_NET_INVALID_PLAYER_COUNT 115
|
||||
#define ERR_NET_TOO_MANY_MANUAL_BLINDS 116
|
||||
#define ERR_NET_BUF_INVALID_SIZE 117
|
||||
#define ERR_NET_INVALID_REQUEST_ID 118
|
||||
#define ERR_NET_WRONG_AVATAR_SIZE 119
|
||||
#define ERR_NET_START_TIMEOUT 120
|
||||
#define ERR_NET_NO_CURRENT_PLAYER 113
|
||||
#define ERR_NET_PLAYER_NOT_ACTIVE 114
|
||||
#define ERR_NET_INVALID_ROUND 115
|
||||
#define ERR_NET_PLAYER_KICKED 116
|
||||
#define ERR_NET_INVALID_PLAYER_COUNT 117
|
||||
#define ERR_NET_TOO_MANY_MANUAL_BLINDS 118
|
||||
#define ERR_NET_INVALID_AVATAR_FILE 119
|
||||
#define ERR_NET_AVATAR_TOO_LARGE 120
|
||||
#define ERR_NET_BUF_INVALID_SIZE 121
|
||||
#define ERR_NET_INVALID_REQUEST_ID 122
|
||||
#define ERR_NET_WRONG_AVATAR_SIZE 123
|
||||
#define ERR_NET_START_TIMEOUT 124
|
||||
|
||||
#define ERR_IRC_INTERNAL 151
|
||||
#define ERR_IRC_CONNECT_FAILED 152
|
||||
|
||||
Reference in New Issue
Block a user