Example #1
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     Parts = new ContentPart[limit];
     for (int i = 0; i < limit; i++)
     {
         Parts[i] = new ContentPart();
         Parts[i].Deserialize(reader);
     }
 }
Example #2
0
 public override void Deserialize(BigEndianReader reader)
 {
     Part = new ContentPart();
     Part.Deserialize(reader);
     InstallationPercent = reader.ReadFloat();
 }
Example #3
0
 public PartsListMessage(ContentPart[] parts)
 {
     Parts = parts;
 }
Example #4
0
 public PartInfoMessage(ContentPart part, float installationPercent)
 {
     Part = part;
     InstallationPercent = installationPercent;
 }