Class ExportedHousehold
[DataContract]
public class ExportedHousehold
- Inheritance
-
ExportedHousehold
- Inherited Members
- Extension Methods
Fields
AppliedMigrations
The set of names of the Migration instances that have already been applied to objects in this exported household. When a new exported household is created, this collection is initialized with all migrations that exist, as new objects are expected to not need migration.
[JsonProperty(DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public HashSet<string> AppliedMigrations
Field Value
ClothesStorage
This household's clothing storage
[DataMember]
public List<WornClothes> ClothesStorage
Field Value
Description
The exported household's description
[DataMember]
public string Description
Field Value
ExportedVersion
The game version that this household was exported with
[DataMember]
public string ExportedVersion
Field Value
FurnitureStorage
This household's furniture storage
[DataMember]
public List<Furniture> FurnitureStorage
Field Value
Members
The PersonLike instances that are members of this household
[DataMember]
[JsonConverter(typeof(ExportedHousehold.PersonLikeConverter))]
public List<PersonLike> Members
Field Value
Money
The money that this household has
[DataMember]
public float Money
Field Value
Methods
ValidatePeople(Map)
Validates this exported household's content for preview purposes, for example for use with the CreateHouseholdPreview(Map, string, Point, float, Color, bool, Func<string, ExportedHousehold>) method.
public void ValidatePeople(Map map)
Parameters
map
MapThe map to validate this exported household for.