def __init__(self, screenObj, msgpokerurl): UGAMEClientProtocol.__init__(self) self.screenObj = screenObj self.screenObj.executeCmd = self.executeCmd self.state = STATE_LOGIN self.avatar = Player() self.table = NoneTable() self.game_id = -1 self.msgpokerurl = msgpokerurl
def __init__(self): UGAMEClientProtocol.__init__(self) self.callbacks = {'current': {}, 'not_current': {}, 'outbound': {}} self.setCurrentGameId(None) self.pending_auth_request = False self.publish_packets = [] self.input_packets = [] self.publish_timer = None self.publish_time = 0 self.publishPackets() self.lag = DEFAULT_LAGMAX self.lagmax_callbacks = [] self.explain = PokerExplain()
def __init__(self): UGAMEClientProtocol.__init__(self) self.callbacks = { 'current': {}, 'not_current': {}, 'outbound': {} } self.setCurrentGameId(None) self.pending_auth_request = False self.publish_packets = [] self.input_packets = [] self.publish_timer = None self.publish_time = 0 self.publishPackets() self.lag = DEFAULT_LAGMAX self.lagmax_callbacks = [] self.explain = PokerExplain()
def __init__(self): UGAMEClientProtocol.__init__(self) self.log = PokerClientProtocol.log.get_instance( self, refs=[('User', self, lambda client: client.user.serial if client.user else None)]) self.callbacks = {'current': {}, 'not_current': {}, 'outbound': {}} self.setCurrentGameId(None) self.pending_auth_request = False self.publish_packets = [] self.input_packets = [] self.publish_timer = None self.publish_time = 0 self.publishPackets() self.lag = DEFAULT_LAGMAX self.lagmax_callbacks = [] self.explain = PokerExplain()
def __init__(self): UGAMEClientProtocol.__init__(self) self.log = PokerClientProtocol.log.get_instance(self, refs=[ ('User', self, lambda client: client.user.serial if client.user else None) ]) self.callbacks = { 'current': {}, 'not_current': {}, 'outbound': {} } self.setCurrentGameId(None) self.pending_auth_request = False self.publish_packets = [] self.input_packets = [] self.publish_timer = None self.publish_time = 0 self.publishPackets() self.explain = PokerExplain() self._poll = False