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