Beispiel #1
0
 public override void Deserialize(QNetworkReader reader)
 {
     base.Deserialize(reader);
     FactId           = reader.ReadString();
     SaveGame         = reader.ReadBoolean();
     ShowNotification = reader.ReadBoolean();
 }
 public override void Deserialize(QNetworkReader reader)
 {
     base.Deserialize(reader);
     PlayerName  = reader.ReadString();
     PlayerReady = reader.ReadBoolean();
     PlayerState = (State)reader.ReadInt32();
 }
Beispiel #3
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;
            }
        }
Beispiel #4
0
 public override void Deserialize(QNetworkReader reader)
 {
     base.Deserialize(reader);
     Message = reader.ReadString();
 }
 public override void Deserialize(QNetworkReader reader)
 {
     base.Deserialize(reader);
     PlayerName = reader.ReadString();
     QSBVersion = reader.ReadString();
 }
Beispiel #6
0
 public override void Deserialize(QNetworkReader reader)
 {
     base.Deserialize(reader);
     ConditionName  = reader.ReadString();
     ConditionState = reader.ReadBoolean();
 }