Table of Contents

Class VillageType

Namespace
TaleWorlds.CampaignSystem.Settlements
Assembly
TaleWorlds.CampaignSystem.dll
public sealed class VillageType : MBObjectBase
Inheritance
VillageType
Inherited Members

Constructors

VillageType(string)

public VillageType(string stringId)

Parameters

stringId string

Fields

MeshName

public string MeshName

Field Value

string

MeshNameBurned

public string MeshNameBurned

Field Value

string

MeshNameUnderConstruction

public string MeshNameUnderConstruction

Field Value

string

ShortName

public TextObject ShortName

Field Value

TextObject

Properties

All

public static MBReadOnlyList<VillageType> All { get; }

Property Value

MBReadOnlyList<VillageType>

PrimaryProduction

public ItemObject PrimaryProduction { get; }

Property Value

ItemObject

Productions

public MBReadOnlyList<(ItemObject, float)> Productions { get; }

Property Value

MBReadOnlyList<(ItemObject, float)>

Methods

AddProductions(IEnumerable<(ItemObject, float)>)

public void AddProductions(IEnumerable<(ItemObject, float)> productions)

Parameters

productions IEnumerable<(ItemObject, float)>

AutoGeneratedInstanceCollectObjects(List<object>)

protected override void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)

Parameters

collectedObjects List<object>

GetProductionPerDay(ItemCategory)

public float GetProductionPerDay(ItemCategory itemCategory)

Parameters

itemCategory ItemCategory

Returns

float

GetProductionPerDay(ItemObject)

public float GetProductionPerDay(ItemObject item)

Parameters

item ItemObject

Returns

float

Initialize(TextObject, string, string, string, (ItemObject, float)[])

public VillageType Initialize(TextObject shortName, string meshName, string meshNameUnderConstruction, string meshNameBurned, (ItemObject, float)[] productions)

Parameters

shortName TextObject
meshName string
meshNameUnderConstruction string
meshNameBurned string
productions (ItemObject, float)[]

Returns

VillageType

ToString()

public override string ToString()

Returns

string

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).