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