Added error handling for networking stuff. Now checking the player action.
This commit is contained in:
+4
-4
@@ -839,10 +839,10 @@ public:
|
||||
|
||||
struct Data
|
||||
{
|
||||
GameState gameState;
|
||||
PlayerAction playerAction;
|
||||
u_int32_t playerBet;
|
||||
int rejectionReason;
|
||||
GameState gameState;
|
||||
PlayerAction playerAction;
|
||||
u_int32_t playerBet;
|
||||
PlayerActionCode rejectionReason;
|
||||
};
|
||||
|
||||
NetPacketPlayersActionRejected();
|
||||
|
||||
Reference in New Issue
Block a user