def __str__(self): return '{0} ({1} [{2}] {3})'.format( super().__str__(), self.no_seat, ', '.join(self.cards), PlayerStateEnum.to_string(self.player_state) )
def __str__(self): return '{0} ({1} {2}/{3} {4} {5}:{6} {7})'.format( super().__str__(), self.no_seat, self.total_played_money_amount, self.total_safe_money_amount, self.total_pot, GameActionEnum.to_string(self.action_taken_type), self.action_taken_amount, PlayerStateEnum.to_string(self.player_state))
def _encode_specific(self, d): super()._encode_specific(d) d['NoSeat'] = self.no_seat d['TotalPlayedMoneyAmount'] = self.total_played_money_amount d['TotalSafeMoneyAmount'] = self.total_safe_money_amount d['TotalPot'] = self.total_pot d['ActionTakenType'] = GameActionEnum.to_string(self.action_taken_type) d['ActionTakenAmount'] = self.action_taken_amount d['PlayerState'] = PlayerStateEnum.to_string(self.player_state)
def __str__(self): return '{0} ({1} {2}/{3} {4} {5}:{6} {7})'.format( super().__str__(), self.no_seat, self.total_played_money_amount, self.total_safe_money_amount, self.total_pot, GameActionEnum.to_string(self.action_taken_type), self.action_taken_amount, PlayerStateEnum.to_string(self.player_state) )
def _encode_specific(self, d): super()._encode_specific(d) d['NoSeat'] = self.no_seat d['Cards'] = self.cards d['PlayerState'] = PlayerStateEnum.to_string(self.player_state)
def __str__(self): return '{0} ({1} [{2}] {3})'.format( super().__str__(), self.no_seat, ', '.join(self.cards), PlayerStateEnum.to_string(self.player_state))