Fist steps to implement vote kick in network protocol.

This commit is contained in:
lotodore
2008-10-02 22:15:46 +00:00
parent 8cf3cf33fa
commit 4c78706d14
3 changed files with 263 additions and 0 deletions
+18
View File
@@ -66,6 +66,24 @@ enum PlayerActionCode
ACTION_CODE_NOT_ALLOWED
};
enum DenyKickPlayerReason
{
KICK_DENIED_TEMPORARY,
KICK_DENIED_OTHER_IN_PROGRESS
};
enum KickVote
{
KICK_VOTE_AGAINST,
KICK_VOTE_IN_FAVOUR
};
enum DenyVoteReason
{
VOTE_DENIED_INVALID_PETITION,
VOTE_DENIED_ALREADY_VOTED
};
enum Button {
BUTTON_NONE = 0,