Package de.pokerth.protocol.ProtoBuf

Examples of de.pokerth.protocol.ProtoBuf.PlayerResult


      } else if (msg.hasEndOfHandShowCardsMessage()) {
        Collection<PlayerResult> result = msg.getEndOfHandShowCardsMessage().getPlayerResultsList();
        assertFalse(result.isEmpty());
        long maxPlayerMoney = 0;
        for (Iterator<PlayerResult> it = result.iterator(); it.hasNext(); ) {
          PlayerResult r = it.next();
          int curMoney = r.getPlayerMoney();
          if (curMoney > maxPlayerMoney) {
            maxPlayerMoney = curMoney;
          }
        }
        lastPlayerMoney = maxPlayerMoney;
View Full Code Here


          } else if (inMsg.hasEndOfHandShowCardsMessage()) {
            Collection<PlayerResult> result = inMsg.getEndOfHandShowCardsMessage().getPlayerResultsList();
            assertFalse(result.isEmpty());
            int maxPlayerMoney = 0;
            for (Iterator<PlayerResult> it = result.iterator(); it.hasNext(); ) {
              PlayerResult r = it.next();
              int curMoney = r.getPlayerMoney();
              if (curMoney > maxPlayerMoney) {
                maxPlayerMoney = curMoney;
              }
            }
            lastPlayerMoney = maxPlayerMoney;
View Full Code Here

TOP

Related Classes of de.pokerth.protocol.ProtoBuf.PlayerResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.