/* 文件名:ATGunner13State.nut 路径:character/ATGunner/ATGunner13State.nut 创建日期:2022-09-10 17:39 文件用途:女枪手13号状态 */ if (!getroottable().rawin("onSetState_ATGunner13State_Table")) onSetState_ATGunner13State_Table <- {} function onSetState_ATGunner13State(obj, state, datas, isResetTimer) { //遍历并执行函数 foreach(Flag, Func in onSetState_ATGunner13State_Table) { Func(obj, state, datas, isResetTimer); } //return 1; } if (!getroottable().rawin("onEndCurrentAni_ATGunner13State_Table")) onEndCurrentAni_ATGunner13State_Table <- {} function onEndCurrentAni_ATGunner13State(obj) { if(!obj) return; //遍历并执行函数 foreach(Flag, Func in onEndCurrentAni_ATGunner13State_Table) { Func(obj); } } if (!getroottable().rawin("onKeyFrameFlag_ATGunner13State_Table")) onKeyFrameFlag_ATGunner13State_Table <- {} function onKeyFrameFlag_ATGunner13State(obj, flagIndex) { if (!obj) return false; //遍历并执行函数 foreach(Flag, Func in onKeyFrameFlag_ATGunner13State_Table) { Func(obj, flagIndex); } return true; }