Send player state with each player action. autofold/disconnect timeout now depends on player action timeout.
This commit is contained in:
1 parent
7c5335f1da
commit
99616b4eed
45 files changed
+394
-119
No files matched your search
@@ -1785,6 +1785,7 @@ ClientStateRunHand::InternalHandlePacket(boost::shared_ptr<ClientThread> client,
|
||||
}
|
||||
|
||||
tmpPlayer->setMyAction(PlayerAction(netActionDone->playerAction));
|
||||
tmpPlayer->setIsSessionActive(netActionDone->playerState == NetPlayerState_playerStateNormal);
|
||||
tmpPlayer->setMySetAbsolute(netActionDone->totalPlayerBet);
|
||||
tmpPlayer->setMyCash(netActionDone->playerMoney);
|
||||
curGame->getCurrentHand()->getCurrentBeRo()->setHighestSet(netActionDone->highestSet);
|
||||
|
||||
Reference in new issue
Block a user