def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.chatMode2channel = { 1: OtpDoGlobals.OTP_MOD_CHANNEL, 2: OtpDoGlobals.OTP_ADMIN_CHANNEL, 3: OtpDoGlobals.OTP_SYSADMIN_CHANNEL, }
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.chatMode2channel = { 1: OtpDoGlobals.OTP_MOD_CHANNEL, 2: OtpDoGlobals.OTP_ADMIN_CHANNEL, 3: OtpDoGlobals.OTP_SYSADMIN_CHANNEL, } self.air = air self.accept('requestToonAccess', self.getToonAccess) self.accept('warningUpdate', self.updateWarnings) self.accept('requestOffenses', self.sendAvatarOffenses) self.accept('sendSystemMessage', self.sendSystemMessage) self.accept('chatBan', self.banAvatar)
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.chatMode2channel = { 1: OtpDoGlobals.OTP_MOD_CHANNEL, 2: OtpDoGlobals.OTP_ADMIN_CHANNEL, 3: OtpDoGlobals.OTP_SYSADMIN_CHANNEL, } self.air = air self.accept('requestToonAccess', self.getToonAccess) self.accept('warningUpdate', self.updateWarnings) self.accept('requestOffenses', self.sendAvatarOffenses) self.accept('sendSystemMessage', self.sendSystemMessage) self.accept('chatBan', self.banAvatar) self.accountId = 0 self.domain = str(ConfigVariableString('ws-domain', 'localhost')) self.key = str(ConfigVariableString('ws-key', 'secretkey'))
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.latestIssueStr = ''
def __init__(self, cr): DistributedObjectGlobalAI.__init__(self, cr) self.doNotListenToChannel = True
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.holiday = 0
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air)
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.air = air
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.inventories = {}
def __init__(self, air): DistributedObjectGlobalAI.__init__(self, air) self.msgChannels = {}