Preparing admin functions in PokerTH client.
This commit is contained in:
1 parent
6d85adf7e2
commit
883ccdcf44
13 files changed
+77
-15
No files matched your search
@@ -549,6 +549,7 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr<ClientThread> clien
|
||||
tmpInfo.playerName = netInfo.playername();
|
||||
tmpInfo.ptype = netInfo.ishuman() ? PLAYER_TYPE_HUMAN : PLAYER_TYPE_COMPUTER;
|
||||
tmpInfo.isGuest = netInfo.playerrights() == netPlayerRightsGuest;
|
||||
tmpInfo.isAdmin = netInfo.playerrights() == netPlayerRightsAdmin;
|
||||
if (netInfo.has_countrycode()) {
|
||||
tmpInfo.countryCode = netInfo.countrycode();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user