Beispiel #1
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     JobId = reader.ReadSByte();
     var limit = reader.ReadUShort();
     Skills = new SkillActionDescription[limit];
     for (int i = 0; i < limit; i++)
     {
         Skills[i] = Types.ProtocolTypeManager.GetInstance<SkillActionDescription>(reader.ReadShort());
         Skills[i].Deserialize(reader);
     }
 }
Beispiel #2
0
 public JobDescription(sbyte jobId, SkillActionDescription[] skills)
 {
     JobId = jobId;
     Skills = skills;
 }