Beispiel #1
0
        public override void Deserialize(QNetworkReader reader)
        {
            var num = (int)reader.ReadUInt16();

            scripts = new QCRCMessageEntry[num];
            for (var i = 0; i < scripts.Length; i++)
            {
                var crcmessageEntry = default(QCRCMessageEntry);
                crcmessageEntry.name    = reader.ReadString();
                crcmessageEntry.channel = reader.ReadByte();
                scripts[i] = crcmessageEntry;
            }
        }