static int VersionIncrease(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); GameVersion obj = (GameVersion)ToLua.CheckObject <GameVersion>(L, 1); obj.VersionIncrease(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }