public void load(PacketInputStream ps)
 {
     type     = Enums.makeLobbyType(ps.loadUnsignedByte());
     gameid   = ps.loadInt();
     address  = ps.loadString();
     objectid = ps.loadInt();
 }
 public LobbyObjectSubscribePacket(Enums.LobbyType type, int gameid, string address, int objectid)
 {
     this.type     = type;
     this.gameid   = gameid;
     this.address  = address;
     this.objectid = objectid;
 }
示例#3
0
 public LobbySubscribePacket(Enums.LobbyType type, int gameid, string address)
 {
     this.type    = type;
     this.gameid  = gameid;
     this.address = address;
 }
示例#4
0
 public LobbyQueryPacket(int gameid, string address, Enums.LobbyType type)
 {
     this.gameid  = gameid;
     this.address = address;
     this.type    = type;
 }