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


Python DelayDelete.cleanupDelayDeletes方法代码示例

本文整理汇总了Python中toontown.distributed.DelayDelete.cleanupDelayDeletes方法的典型用法代码示例。如果您正苦于以下问题:Python DelayDelete.cleanupDelayDeletes方法的具体用法?Python DelayDelete.cleanupDelayDeletes怎么用?Python DelayDelete.cleanupDelayDeletes使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在toontown.distributed.DelayDelete的用法示例。


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

示例1: avatarExit

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
    def avatarExit(self, avatarId):
        if avatarId == self.avatarId:
            for track in self.avatarTracks:
                track.finish()
                DelayDelete.cleanupDelayDeletes(track)

            self.avatarTracks = []
开发者ID:MasterLoopyBM,项目名称:c0d3,代码行数:9,代码来源:DistributedKnockKnockDoor.py

示例2: clearToonTrack

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
 def clearToonTrack(self, avId):
     oldTrack = self._DistributedClubElevator__toonTracks.get(avId)
     if oldTrack:
         oldTrack.pause()
         if self._DistributedClubElevator__toonTracks.get(avId):
             DelayDelete.cleanupDelayDeletes(self._DistributedClubElevator__toonTracks[avId])
             del self._DistributedClubElevator__toonTracks[avId]
开发者ID:ponyboy837,项目名称:Toontown-2003-Server,代码行数:9,代码来源:DistributedClubElevator.py

示例3: clearToonTrack

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
 def clearToonTrack(self, avId):
     oldTrack = self.__toonTracks.get(avId)
     if oldTrack:
         oldTrack.pause()
         if self.__toonTracks.get(avId):
             DelayDelete.cleanupDelayDeletes(self.__toonTracks[avId])
             del self.__toonTracks[avId]
开发者ID:Teku16,项目名称:MikeyTheRepository,代码行数:9,代码来源:DistributedElevator.py

示例4: exitBarrelRoomIntro

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
 def exitBarrelRoomIntro(self):
     if self._wantBarrelRoom and not self.isBossFloor(self.currentFloor):
         self.ignore(self.barrelRoomIntroDoneEvent)
         if self.barrelRoomIntroTrack:
             self.barrelRoomIntroTrack.finish()
             DelayDelete.cleanupDelayDeletes(self.barrelRoomIntroTrack)
             self.barrelRoomIntroTrack = None
开发者ID:BmanGames,项目名称:ToontownStride,代码行数:9,代码来源:DistributedCogdoInterior.py

示例5: exitPlaying

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
    def exitPlaying(self):
        DistributedAnimatedProp.DistributedAnimatedProp.exitPlaying(self)
        for track in self.avatarTracks:
            track.finish()
            DelayDelete.cleanupDelayDeletes(track)

        self.avatarTracks = []
        self.avatarId = 0
开发者ID:MasterLoopyBM,项目名称:c0d3,代码行数:10,代码来源:DistributedKnockKnockDoor.py

示例6: stopTracks

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
    def stopTracks(self):
        for track in self.avatarTracks:
            track.pause()
            DelayDelete.cleanupDelayDeletes(track)

        self.cleanupTrack()
        self.avatarTracks = []
        self.avatarId = 0
开发者ID:BmanGames,项目名称:ToontownStride,代码行数:10,代码来源:DistributedKnockKnockDoor.py

示例7: exitReward

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
 def exitReward(self):
     self.notify.debug('exitReward')
     if self.penthouseOutroTrack:
         self.penthouseOutroTrack.finish()
         DelayDelete.cleanupDelayDeletes(self.penthouseOutroTrack)
         self.penthouseOutroTrack = None
         if not self.penthouseOutroChatDoneTrack:
             self.notify.debug('exitReward: instanting outroPenthouseChatDone track')
             self.__outroPenthouseChatDone()
         self.penthouseOutroChatDoneTrack.finish()
         self.penthouseOutroChatDoneTrack = None
开发者ID:BmanGames,项目名称:ToontownStride,代码行数:13,代码来源:DistributedCogdoInterior.py

示例8: finishAllTracks

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
 def finishAllTracks(self):
     self.finishDoorTrack()
     self.finishDoorExitTrack()
     for t in self.avatarTracks:
         t.finish()
         DelayDelete.cleanupDelayDeletes(t)
     self.avatarTracks = []
     for t in self.avatarExitTracks:
         t.finish()
         DelayDelete.cleanupDelayDeletes(t)
     self.avatarExitTracks = []
开发者ID:Toontown-Electrified,项目名称:src-feature-the-experiment,代码行数:13,代码来源:DistributedDoor.py

示例9: clearInterval

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
 def clearInterval(self, name, finish = 1):
     if name in self.activeIntervals:
         ival = self.activeIntervals[name]
         if finish:
             ival.finish()
         else:
             ival.pause()
         if name in self.activeIntervals:
             DelayDelete.cleanupDelayDeletes(ival)
             del self.activeIntervals[name]
     else:
         self.notify.debug('interval: %s already cleared' % name)
开发者ID:Teku16,项目名称:Toontown-Crystal-Master,代码行数:14,代码来源:DistributedBossCog.py

示例10: cleanupIntervals

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
    def cleanupIntervals(self):
        for interval in self.activeIntervals.values():
            interval.finish()
            DelayDelete.cleanupDelayDeletes(interval)

        self.activeIntervals = {}
开发者ID:Teku16,项目名称:Toontown-Crystal-Master,代码行数:8,代码来源:DistributedBossCog.py

示例11: exitDoorExitOpen

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
    def exitDoorExitOpen(self):
        for track in self.avatarExitTracks:
            track.finish()
            DelayDelete.cleanupDelayDeletes(track)

        self.avatarExitTracks = []
开发者ID:Teku16,项目名称:MikeyTheRepository,代码行数:8,代码来源:DistributedDoor.py

示例12: _deleteTransitionTrack

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
 def _deleteTransitionTrack(self):
     if self.transitionTrack:
         DelayDelete.cleanupDelayDeletes(self.transitionTrack)
         self.transitionTrack = None
     return
开发者ID:Teku16,项目名称:MikeyTheRepository,代码行数:7,代码来源:DistributedBuilding.py

示例13: clearToonTrack

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
 def clearToonTrack(self, avId):
     oldTrack = self.__toonTracks.get(avId)
     if oldTrack:
         oldTrack.pause()
         DelayDelete.cleanupDelayDeletes(oldTrack)
开发者ID:Toonerz,项目名称:Toontown-World-Online-Leak,代码行数:7,代码来源:DistributedPicnicTable.py

示例14: clearToonTrack

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
 def clearToonTrack(self, avId):
     oldTrack = self._DistributedPicnicBasket__toonTracks.get(avId)
     if oldTrack:
         oldTrack.pause()
         DelayDelete.cleanupDelayDeletes(oldTrack)
         del self._DistributedPicnicBasket__toonTracks[avId]
开发者ID:OldToontown,项目名称:OldToontown,代码行数:8,代码来源:DistributedPicnicBasket.py

示例15: _deleteTrack

# 需要导入模块: from toontown.distributed import DelayDelete [as 别名]
# 或者: from toontown.distributed.DelayDelete import cleanupDelayDeletes [as 别名]
 def _deleteTrack(self):
     if self.track:
         DelayDelete.cleanupDelayDeletes(self.track)
         self.track = None
开发者ID:ponyboy837,项目名称:Toontown-2003-Server,代码行数:6,代码来源:Movie.py


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