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;
 }
 public LobbySubscribePacket(Enums.LobbyType type, int gameid, string address)
 {
     this.type    = type;
     this.gameid  = gameid;
     this.address = address;
 }
Exemple #4
0
 public LobbyQueryPacket(int gameid, string address, Enums.LobbyType type)
 {
     this.gameid  = gameid;
     this.address = address;
     this.type    = type;
 }