当前位置: 首页>>代码示例>>Python>>正文


Python DistributedObjectGlobal.DistributedObjectGlobal类代码示例

本文整理汇总了Python中direct.distributed.DistributedObjectGlobal.DistributedObjectGlobal的典型用法代码示例。如果您正苦于以下问题:Python DistributedObjectGlobal类的具体用法?Python DistributedObjectGlobal怎么用?Python DistributedObjectGlobal使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了DistributedObjectGlobal类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

 def __init__(self, cr):
     DistributedObjectGlobal.__init__(self, cr)
     self.avatarData = {}
     self.avatarQueue = []
     self.avatarRequestTaskName = 'StatusDataBase_RequestAvatarLastOnline'
     self.avatarRetreiveTaskName = 'StatusDataBase_GetAvatarLastOnline'
     self.avatarDoneTaskName = 'StatusDataBase GotAvatarData'
开发者ID:AdrianF98,项目名称:Toontown-Rewritten,代码行数:7,代码来源:StatusDatabase.py

示例2: __init__

 def __init__(self, cr):
     DistributedObjectGlobal.__init__(self, cr)
     self.offerRequestCache = []
     self.offerCurrentlyOnScreen = False
     self.crewType = 1
     self.confirmBox = None
     self.handleDict = { }
开发者ID:TTGhost,项目名称:POTCOR-src,代码行数:7,代码来源:DistributedCrewMatchManager.py

示例3: delete

 def delete(self):
     self.ignore(self._crConnectEvent)
     if self._sracs:
         self._sracs.destroy()
     
     SettingsMgrBase.delete(self)
     DistributedObjectGlobal.delete(self)
开发者ID:TTGhost,项目名称:POTCOR-src,代码行数:7,代码来源:SettingsMgr.py

示例4: announceGenerate

 def announceGenerate(self):
     DistributedObjectGlobal.announceGenerate(self)
     SettingsMgrBase.announceGenerate(self)
     if not self.cr.isLive():
         self._sracs = None
         if self.cr.isConnected():
             self._scheduleChangedSettingRequest()
         self._crConnectEvent = self.cr.getConnectedEvent()
         self.accept(self._crConnectEvent, self._handleConnected)
     return
开发者ID:Toonerz,项目名称:Toontown-World-Online-Leaked-Source,代码行数:10,代码来源:SettingsMgr.py

示例5: __init__

 def __init__(self, cr):
     DistributedObjectGlobal.__init__(self, cr)
     self.id2Name = { }
     self.id2BandId = { }
     self.id2Rank = { }
     self.id2Online = { }
     self.pendingMsgs = []
     self.whiteListEnabled = base.config.GetBool('whitelist-chat-enabled', 1)
     self.emailNotification = 0
     self.emailNotificationAddress = None
     self.receivingNewList = False
     self.spamGateOpen = True
开发者ID:OldToontown,项目名称:OldToontown,代码行数:12,代码来源:GuildManager.py

示例6: __init__

 def __init__(self, cr):
     DistributedObjectGlobal.__init__(self, cr)
     self.setupPortableHoleEvent()
开发者ID:Wesley1000070,项目名称:Toontown-Crystal,代码行数:3,代码来源:ARGManager.py

示例7: __init__

    def __init__(self, cr):
        DistributedObjectGlobal.__init__(self, cr)

        self.loginDoneEvent = None
        self.systemMessageSfx = None
开发者ID:Toonerz,项目名称:TTI-Leak--From-2015-,代码行数:5,代码来源:ClientServicesManager.py

示例8: __init__

 def __init__(self, cr):
     DistributedObjectGlobal.__init__(self, cr)
     self.chatMode = 0
开发者ID:Teku16,项目名称:ToontownPlanet,代码行数:3,代码来源:ChatAgent.py

示例9: delete

 def delete(self):
     self.ignoreAll()
     self.cr.chatManager = None
     self.cr.chatAgent = None
     DistributedObjectGlobal.delete(self)
     return
开发者ID:Teku16,项目名称:ToontownPlanet,代码行数:6,代码来源:ChatAgent.py

示例10: __init__

 def __init__(self, cr):
     DistributedObjectGlobal.__init__(self, cr)
     self.notify.warning('ChatManager going online')
开发者ID:BmanGames,项目名称:Toontown-Level-Editor,代码行数:3,代码来源:DistributedChatManager.py

示例11: delete

 def delete(self):
     self.ignoreAll()
     self.notify.warning('ChatManager going offline')
     self.cr.chatManager = None
     DistributedObjectGlobal.delete(self)
     return
开发者ID:BmanGames,项目名称:Toontown-Level-Editor,代码行数:6,代码来源:DistributedChatManager.py

示例12: announceGenerate

 def announceGenerate(self):
     DistributedObjectGlobal.announceGenerate(self)
     self.leader2Group = {}
开发者ID:NostalgicTTR,项目名称:Toontown-Infinite-2016-Leak,代码行数:3,代码来源:GlobalGroupTracker.py

示例13: generate

 def generate(self):
     DistributedObjectGlobal.generate(self)
开发者ID:TTGhost,项目名称:POTCOR-src,代码行数:2,代码来源:DistributedCrewMatchManager.py

示例14: delete

 def delete(self):
     self.cleanupPortableHoleEvent()
     DistributedObjectGlobal.delete(self)
开发者ID:Wesley1000070,项目名称:Toontown-Crystal,代码行数:3,代码来源:ARGManager.py

示例15: __init__

 def __init__(self, cr):
     DistributedObjectGlobal.__init__(self, cr)
     self.__secret = config.GetString('csm-secret', 'dev')
     loadPrcFileData('', 'csm-secret dev')
开发者ID:vincent15k,项目名称:Toontown-House,代码行数:4,代码来源:ClientServicesManager.py


注:本文中的direct.distributed.DistributedObjectGlobal.DistributedObjectGlobal类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。