Пример #1
0
        private void svc_serverinfo(BitBuffer bb)
        {
            var version = bb.ReadInt16();

            bb.ReadInt32();
            bb.ReadBoolean();
            bb.ReadBoolean();
            bb.ReadInt32();
            bb.ReadInt16();
            if (version < 18)
            {
                bb.ReadBits(32);
            }
            else
            {
                bb.ReadInt32();
                bb.ReadInt32();
                bb.ReadInt32();
                bb.ReadInt32();
            }
            bb.ReadByte();
            bb.ReadByte();
            bb.ReadSingle();
            bb.ReadByte();

            bb.ReadString();
            bb.ReadString();
            bb.ReadString();
            bb.ReadString();
        }