static int CreatePacket(IntPtr L) { try { ToLua.CheckArgsCount(L, 0); Packet o = GUtil.CreatePacket(); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int CreatePacket(IntPtr L) { try { ToLua.CheckArgsCount(L, 0); Packet o = GUtil.CreatePacket(); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }