static int RemoveLimitBuffs(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Logic.Character.Controller.PlayerController obj = (Logic.Character.Controller.PlayerController)ToLua.CheckObject(L, 1, typeof(Logic.Character.Controller.PlayerController)); obj.RemoveLimitBuffs(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }