private static int OpenChannelCenter(IntPtr L) { int result; try { ToLua.CheckArgsCount(L, 1); PlatformUtil platformUtil = (PlatformUtil)ToLua.CheckObject(L, 1, typeof(PlatformUtil)); platformUtil.OpenChannelCenter(); result = 0; } catch (Exception e) { result = LuaDLL.toluaL_exception(L, e, null); } return(result); }