public void Read(BinaryReader reader) { ReplyType = reader.ReadInt16(); Sequence = reader.ReadInt16(); reader.ReadInt32(); var clients = reader.ReadByte(); for (int i = 0; i < clients; i++) { var client = new MatchSessionClient(); client.Read(reader); Clients.Add(client); } }
public void Read(BinaryReader reader) { ReplyType = reader.ReadInt16(); Sequence = reader.ReadInt16(); reader.ReadInt32(); var clients = reader.ReadByte(); for (int i = 0; i < clients; i++) { var client = new MatchSessionClient(); client.Read(reader); Clients.Add(client); } }