static int ValidateSkillEquip(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); ConditionValidator obj = (ConditionValidator)LuaScriptMgr.GetNetObjectSelf(L, 1, "ConditionValidator"); string arg0 = LuaScriptMgr.GetLuaString(L, 2); bool o = obj.ValidateSkillEquip(arg0); LuaScriptMgr.Push(L, o); return(1); }