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);
            }
        }
Пример #2
0
        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);
            }
        }