def onTimer(self, tid, userArg): """ KBEngine method. 引擎回调timer触发 """ #DEBUG_MSG("%s::onTimer: %i, tid:%i, arg:%i" % (self.getScriptName(), self.id, tid, userArg)) NPCObject.onTimer(self, tid, userArg) Spell.onTimer(self, tid, userArg) AI.onTimer(self, tid, userArg)
def onTimer(self, tid, userArg): """ 定时器回调函数 :param tid: :param userArg: """ # 分发到有onTimer的父类 AI.onTimer(self, tid, userArg) Character.onTimer(self, tid, userArg)
def onTimer(self, tid, userArg): """ Ouroboros method. Engine callback timer trigger """ DEBUG_MSG("%s::onTimer: %i, tid:%i, arg:%i" % (self.getScriptName(), self.id, tid, userArg)) NPCObject.onTimer(self, tid, userArg) Ability.onTimer(self, tid, userArg) AI.onTimer(self, tid, userArg)
def onTimer(self, tid, userArg): AI.onTimer(self, tid, userArg)