static int StepLogRequest(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); CenterServerManager obj = (CenterServerManager)ToLua.CheckObject(L, 1, typeof(CenterServerManager)); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.StepLogRequest(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
private static int StepLogRequest(IntPtr L) { int result; try { ToLua.CheckArgsCount(L, 2); CenterServerManager centerServerManager = (CenterServerManager)ToLua.CheckObject(L, 1, typeof(CenterServerManager)); int stepFlag = (int)LuaDLL.luaL_checknumber(L, 2); centerServerManager.StepLogRequest(stepFlag); result = 0; } catch (Exception e) { result = LuaDLL.toluaL_exception(L, e, null); } return(result); }