mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Blocked most of incoming network packs during turns of other players
This commit is contained in:
@@ -71,13 +71,13 @@ class TurnOrderProcessor : boost::noncopyable
|
||||
void doEndPlayerTurn(PlayerColor which);
|
||||
|
||||
bool isPlayerAwaitsTurn(PlayerColor which) const;
|
||||
bool isPlayerMakingTurn(PlayerColor which) const;
|
||||
bool isPlayerAwaitsNewDay(PlayerColor which) const;
|
||||
|
||||
public:
|
||||
TurnOrderProcessor(CGameHandler * owner);
|
||||
|
||||
bool isContactAllowed(PlayerColor left, PlayerColor right) const;
|
||||
bool isPlayerMakingTurn(PlayerColor which) const;
|
||||
|
||||
/// Add new player to handle (e.g. on game start)
|
||||
void addPlayer(PlayerColor which);
|
||||
|
||||
Reference in New Issue
Block a user