def __init__(self, service): OTPProtocol.__init__(self, service) MDParticipant.__init__(self, service) self.state: int = ClientState.NEW self.channel: int = service.new_channel_id() self.alloc_channel = self.channel self.subscribe_channel(self.channel) self.interests: List[Interest] = [] self.visible_objects: Dict[int, ObjectInfo] = {} self.owned_objects: Dict[int, ObjectInfo] = {} self.uberdogs: List[int] = [] self.account: Union[DISLAccount, None] = None self.avatar_id: int = 0 self.created_av_id: int = 0 self.wanted_name: str = '' self.potential_avatar = None self.potential_avatars: List[PotentialAvatar] = [] self.avs_deleted: List[Tuple[int, int]] = [] self.pending_objects: Dict[int, PendingObject] = {}
def __init__(self, service): OTPProtocol.__init__(self, service) MDParticipant.__init__(self, service)
def __init__(self, service): OTPProtocol.__init__(self, service) MDParticipant.__init__(self, service) self.post_removes: List[Datagram] = []