local FuncNode_IsInMatching = class("FuncNode_IsInMatching") --[[ 初始化 --]] function FuncNode_IsInMatching:initialize(entity) self.LimitChildCount = 0 self.Type = LuaConst.ConditionFuncType.FuncNode_IsInMatching end --[[ 执行 --]] function FuncNode_IsInMatching:Run(conditionDataNode, entity, missile) if CTL and CTL.TeamMatch then local isMatching = CTL.TeamMatch.IsInMatching() return isMatching and FP.Const.One or FP.Const.Zero end logging.error(LTAG.ERROR, "[GWS] : 判断是否正在匹配战斗 ,不能使用在同步战斗中!") return FP.Const.Zero end return FuncNode_IsInMatching