Started error handling for vote kick.

This commit is contained in:
lotodore
2008-12-06 00:18:36 +00:00
parent 5bf83898d2
commit 2652625828
6 changed files with 113 additions and 39 deletions
+4 -1
View File
@@ -68,7 +68,9 @@ enum PlayerActionCode
enum DenyKickPlayerReason
{
KICK_DENIED_TEMPORARY = 0,
KICK_DENIED_INVALID_STATE = 0,
KICK_DENIED_TOO_FEW_PLAYERS,
KICK_DENIED_TEMPORARY,
KICK_DENIED_OTHER_IN_PROGRESS,
KICK_DENIED_OTHER_REASON
};
@@ -83,6 +85,7 @@ enum DenyVoteReason
{
VOTE_DENIED_INVALID_PETITION = 0,
VOTE_DENIED_ALREADY_VOTED,
VOTE_DENIED_IMPOSSIBLE,
VOTE_DENIED_OTHER_REASON
};