public static int Tick(IntPtr l) { int result; try { NetWorkClient netWorkClient = (NetWorkClient)LuaObject.checkSelf(l); netWorkClient.Tick(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }