Console client: Several fixes, added handling of removed from game event.

This commit is contained in:
lotodore
2008-12-26 23:05:45 +00:00
parent 52fc37a8b7
commit 26391b57d1
10 changed files with 87 additions and 6 deletions
+5 -1
View File
@@ -91,7 +91,6 @@ namespace pokerth_lib
public enum PropType
{
ErrorReason,
RequestedVersionMajor,
RequestedVersionMinor,
PlayerId,
@@ -145,6 +144,8 @@ namespace pokerth_lib
BestHandPos5,
CardsValue,
ChatText,
ErrorReason,
RemoveReason,
}
public enum ListPropType
@@ -222,6 +223,9 @@ namespace pokerth_lib
case NetTypeEndOfGame :
tmpPacket = new NetPacketEndOfGame(size, reader);
break;
case NetTypeRemovedFromGame :
tmpPacket = new NetPacketRemovedFromGame(size, reader);
break;
case NetTypeChatText :
tmpPacket = new NetPacketChatText(size, reader);
break;