public override void ChildDeserialize(GenericReader reader) { int version = reader.ReadEncodedInt(); int count = reader.ReadEncodedInt(); for (int i = 0; i < count; i++) { NestArea nest = NestArea.GetByID(reader.ReadEncodedInt()); m_StudiedNests.Add(nest); } m_StudiedSpecialNest = reader.ReadBool(); }
public override void ChildDeserialize(IGenericReader reader) { var version = reader.ReadEncodedInt(); var count = reader.ReadEncodedInt(); for (var i = 0; i < count; i++) { var nest = NestArea.GetByID(reader.ReadEncodedInt()); m_StudiedNests.Add(nest); } StudiedSpecialNest = reader.ReadBool(); }