本文整理汇总了Python中toontown.distributed.DelayDelete类的典型用法代码示例。如果您正苦于以下问题:Python DelayDelete类的具体用法?Python DelayDelete怎么用?Python DelayDelete使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了DelayDelete类的16个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: avatarExit
def avatarExit(self, avatarId):
if avatarId == self.avatarId:
for track in self.avatarTracks:
track.finish()
DelayDelete.cleanupDelayDeletes(track)
self.avatarTracks = []
开发者ID:MasterLoopyBM,项目名称:c0d3,代码行数:7,代码来源:DistributedKnockKnockDoor.py
示例2: clearToonTrack
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,代码行数:7,代码来源:DistributedClubElevator.py
示例3: clearToonTrack
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,代码行数:7,代码来源:DistributedElevator.py
示例4: exitBarrelRoomIntro
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,代码行数:7,代码来源:DistributedCogdoInterior.py
示例5: exitPlaying
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,代码行数:8,代码来源:DistributedKnockKnockDoor.py
示例6: stopTracks
def stopTracks(self):
for track in self.avatarTracks:
track.pause()
DelayDelete.cleanupDelayDeletes(track)
self.cleanupTrack()
self.avatarTracks = []
self.avatarId = 0
开发者ID:BmanGames,项目名称:ToontownStride,代码行数:8,代码来源:DistributedKnockKnockDoor.py
示例7: exitReward
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,代码行数:11,代码来源:DistributedCogdoInterior.py
示例8: finishAllTracks
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,代码行数:11,代码来源:DistributedDoor.py
示例9: clearInterval
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,代码行数:12,代码来源:DistributedBossCog.py
示例10: cleanupIntervals
def cleanupIntervals(self):
for interval in self.activeIntervals.values():
interval.finish()
DelayDelete.cleanupDelayDeletes(interval)
self.activeIntervals = {}
开发者ID:Teku16,项目名称:Toontown-Crystal-Master,代码行数:6,代码来源:DistributedBossCog.py
示例11: exitDoorExitOpen
def exitDoorExitOpen(self):
for track in self.avatarExitTracks:
track.finish()
DelayDelete.cleanupDelayDeletes(track)
self.avatarExitTracks = []
开发者ID:Teku16,项目名称:MikeyTheRepository,代码行数:6,代码来源:DistributedDoor.py
示例12: _deleteTransitionTrack
def _deleteTransitionTrack(self):
if self.transitionTrack:
DelayDelete.cleanupDelayDeletes(self.transitionTrack)
self.transitionTrack = None
return
开发者ID:Teku16,项目名称:MikeyTheRepository,代码行数:5,代码来源:DistributedBuilding.py
示例13: clearToonTrack
def clearToonTrack(self, avId):
oldTrack = self.__toonTracks.get(avId)
if oldTrack:
oldTrack.pause()
DelayDelete.cleanupDelayDeletes(oldTrack)
开发者ID:Toonerz,项目名称:Toontown-World-Online-Leak,代码行数:5,代码来源:DistributedPicnicTable.py
示例14: clearToonTrack
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,代码行数:6,代码来源:DistributedPicnicBasket.py
示例15: _deleteTrack
def _deleteTrack(self):
if self.track:
DelayDelete.cleanupDelayDeletes(self.track)
self.track = None
开发者ID:ponyboy837,项目名称:Toontown-2003-Server,代码行数:4,代码来源:Movie.py
示例16: clearToonTrack
def clearToonTrack(self, avId):
oldTrack = self._OZSafeZoneLoader__toonTracks.get(avId)
if oldTrack:
oldTrack.pause()
DelayDelete.cleanupDelayDeletes(oldTrack)
del self._OZSafeZoneLoader__toonTracks[avId]
开发者ID:OldToontown,项目名称:OldToontown,代码行数:6,代码来源:OZSafeZoneLoader.py
注:本文中的toontown.distributed.DelayDelete类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论