public override void Deserialize(IDataReader reader) { var limit = reader.ReadUShort(); startedAchievements = new Types.Achievement[limit]; for (int i = 0; i < limit; i++) { startedAchievements[i] = new Types.Achievement(); startedAchievements[i].Deserialize(reader); } limit = reader.ReadUShort(); finishedAchievements = new Types.Achievement[limit]; for (int i = 0; i < limit; i++) { finishedAchievements[i] = new Types.Achievement(); finishedAchievements[i].Deserialize(reader); } }
public override void Deserialize(IDataReader reader) { var limit = (ushort)reader.ReadUShort(); startedAchievements = new Types.Achievement[limit]; for (int i = 0; i < limit; i++) { startedAchievements[i] = new Types.Achievement(); startedAchievements[i].Deserialize(reader); } limit = (ushort)reader.ReadUShort(); finishedAchievements = new Types.Achievement[limit]; for (int i = 0; i < limit; i++) { finishedAchievements[i] = new Types.Achievement(); finishedAchievements[i].Deserialize(reader); } }
public override void Deserialize(IDataReader reader) { var limit = reader.ReadUShort(); var startedAchievements_ = new Types.Achievement[limit]; for (int i = 0; i < limit; i++) { startedAchievements_[i] = Types.ProtocolTypeManager.GetInstance <Types.Achievement>(reader.ReadShort()); startedAchievements_[i].Deserialize(reader); } startedAchievements = startedAchievements_; limit = reader.ReadUShort(); var finishedAchievementsIds_ = new short[limit]; for (int i = 0; i < limit; i++) { finishedAchievementsIds_[i] = reader.ReadShort(); } finishedAchievementsIds = finishedAchievementsIds_; }
public override void Deserialize(IDataReader reader) { var limit = reader.ReadUShort(); var startedAchievements_ = new Types.Achievement[limit]; for (int i = 0; i < limit; i++) { startedAchievements_[i] = new Types.Achievement(); startedAchievements_[i].Deserialize(reader); } startedAchievements = startedAchievements_; limit = reader.ReadUShort(); var finishedAchievements_ = new Types.Achievement[limit]; for (int i = 0; i < limit; i++) { finishedAchievements_[i] = new Types.Achievement(); finishedAchievements_[i].Deserialize(reader); } finishedAchievements = finishedAchievements_; }
public override void Deserialize(ICustomDataInput reader) { achievement = new Types.Achievement(); achievement.Deserialize(reader); }
public AchievementDetailsMessage(Types.Achievement achievement) { this.achievement = achievement; }
public override void Deserialize(IDataReader reader) { achievement = new Types.Achievement(); achievement.Deserialize(reader); }
public AchievementUpdateMessage(Types.Achievement achievement) { this.achievement = achievement; }
public override void Deserialize(IDataReader reader) { achievement = new Types.Achievement(); achievement.Deserialize(reader); }
public AchievementDetailsMessage(Types.Achievement achievement) { this.achievement = achievement; }
public AchievementUpdateMessage(Types.Achievement achievement) { this.achievement = achievement; }