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
Migrations
A set of migrations that are applied to ExportedHousehold instances when they are loaded. Mods can add their own migrations to this list. Non-silent migrations, as well as Early and Late migration phases, are supported.
public static readonly List<Migration<ExportedHousehold>> Migrations
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) method.
public void ValidatePeople(Map map)
Parameters
mapMapThe map to validate this exported household for.