Table of Contents

Struct Household.Relation

Namespace
TinyLife.World
Assembly
Tiny Life.dll

A relation is a set of information for a Household.RandomRelation and ultimately Household.RandomConstellation that stores the GenealogyType, RelationshipType, RomanceType and Dating status that should be applied between two randomly generated household members.

public readonly struct Household.Relation
Inherited Members
Extension Methods

Constructors

Relation(GenealogyType, RelationshipType, RomanceType, bool)

Creates a new relation with the given settings.

public Relation(GenealogyType genealogyType, RelationshipType relationshipType, RomanceType romanceType, bool dating)

Parameters

genealogyType GenealogyType

The genealogy to apply.

relationshipType RelationshipType

The relationship type to apply.

romanceType RomanceType

The romance type to apply.

dating bool

The dating status to apply.

Fields

Dating

The dating status to apply.

public readonly bool Dating

Field Value

bool

GenealogyType

The genealogy to apply.

public readonly GenealogyType GenealogyType

Field Value

GenealogyType

RelationshipType

The relationship type to apply.

public readonly RelationshipType RelationshipType

Field Value

RelationshipType

RomanceType

The romance type to apply.

public readonly RomanceType RomanceType

Field Value

RomanceType