Exemplo n.º 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);
     }
 }
Exemplo n.º 2
0
 public override void Deserialize(BigEndianReader reader)
 {
     NewLevel = reader.ReadSByte();
     JobsDescription = new JobDescription();
     JobsDescription.Deserialize(reader);
 }
Exemplo n.º 3
0
 public JobLevelUpMessage(sbyte newLevel, JobDescription jobsDescription)
 {
     NewLevel = newLevel;
     JobsDescription = jobsDescription;
 }
Exemplo n.º 4
0
 public JobDescriptionMessage(JobDescription[] jobsDescription)
 {
     JobsDescription = jobsDescription;
 }