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