예제 #1
0
 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,
     }
예제 #2
0
 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'))
예제 #4
0
 def __init__(self, air):
     DistributedObjectGlobalAI.__init__(self, air)
     self.latestIssueStr = ''
예제 #5
0
 def __init__(self, cr):
     DistributedObjectGlobalAI.__init__(self, cr)
     self.doNotListenToChannel = True
예제 #6
0
 def __init__(self, air):
     DistributedObjectGlobalAI.__init__(self, air)
     self.holiday = 0
예제 #7
0
 def __init__(self, air):
     DistributedObjectGlobalAI.__init__(self, air)
예제 #8
0
 def __init__(self, air):
     DistributedObjectGlobalAI.__init__(self, air)
     self.air = air
예제 #9
0
    def __init__(self, air):
        DistributedObjectGlobalAI.__init__(self, air)

        self.inventories = {}
 def __init__(self, air):
     DistributedObjectGlobalAI.__init__(self, air)
     self.msgChannels = {}