Пример #1
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     JobsDescription = new JobDescription[limit];
     for (int i = 0; i < limit; i++)
     {
         JobsDescription[i] = new JobDescription();
         JobsDescription[i].Deserialize(reader);
     }
 }
Пример #2
0
 public override void Deserialize(BigEndianReader reader)
 {
     NewLevel = reader.ReadSByte();
     JobsDescription = new JobDescription();
     JobsDescription.Deserialize(reader);
 }
Пример #3
0
 public JobLevelUpMessage(sbyte newLevel, JobDescription jobsDescription)
 {
     NewLevel = newLevel;
     JobsDescription = jobsDescription;
 }
Пример #4
0
 public JobDescriptionMessage(JobDescription[] jobsDescription)
 {
     JobsDescription = jobsDescription;
 }