Started error handling for vote kick.
This commit is contained in:
+4
-1
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user