M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Inherits TaleWorlds.ObjectSystem.MBObjectBase.
Public Member Functions | |
VillageType (string stringId) | |
VillageType | Initialize (TextObject shortName, string meshName, string meshNameUnderConstruction, string meshNameBurned, ValueTuple< ItemObject, float >[] productions) |
override string | ToString () |
void | AddProductions (IEnumerable< ValueTuple< ItemObject, float > > productions) |
float | GetProductionPerDay (ItemObject item) |
float | GetProductionPerDay (ItemCategory itemCategory) |
Public Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase | |
MBObjectBase () | |
MBObjectBase (MBObjectBase other) | |
MBObjectBase (string stringId) | |
void | AfterInitialized () |
virtual void | AfterRegister () |
virtual void | Initialize () |
virtual void | Deserialize (MBObjectManager objectManager, XmlNode node) |
override int | GetHashCode () |
virtual TextObject | GetName () |
void | PreAfterLoadInternal () |
void | AfterLoadInternal () |
void | OnRegistered () |
void | OnUnregistered () |
Public Attributes | |
TextObject | ShortName |
string | MeshName |
string | MeshNameUnderConstruction |
string | MeshNameBurned |
Properties | |
static MBReadOnlyList< VillageType > | All [get] |
MBReadOnlyList< ValueTuple< ItemObject, float > > | Productions [get] |
ItemObject | PrimaryProduction [get] |
Properties inherited from TaleWorlds.ObjectSystem.MBObjectBase | |
string | StringId [get, set] |
MBGUID | Id [get, set] |
bool | IsInitialized [get] |
bool | IsReady [get, set] |
Additional Inherited Members | |
Protected Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase | |
virtual void | OnBeforeLoad () |
virtual void | PreAfterLoad () |
virtual void | AfterLoad () |
TaleWorlds.CampaignSystem.Settlements.VillageType.VillageType | ( | string | stringId | ) |
VillageType TaleWorlds.CampaignSystem.Settlements.VillageType.Initialize | ( | TextObject | shortName, |
string | meshName, | ||
string | meshNameUnderConstruction, | ||
string | meshNameBurned, | ||
ValueTuple< ItemObject, float >[] | productions | ||
) |
override string TaleWorlds.CampaignSystem.Settlements.VillageType.ToString | ( | ) |
void TaleWorlds.CampaignSystem.Settlements.VillageType.AddProductions | ( | IEnumerable< ValueTuple< ItemObject, float > > | productions | ) |
float TaleWorlds.CampaignSystem.Settlements.VillageType.GetProductionPerDay | ( | ItemObject | item | ) |
float TaleWorlds.CampaignSystem.Settlements.VillageType.GetProductionPerDay | ( | ItemCategory | itemCategory | ) |
TextObject TaleWorlds.CampaignSystem.Settlements.VillageType.ShortName |
string TaleWorlds.CampaignSystem.Settlements.VillageType.MeshName |
string TaleWorlds.CampaignSystem.Settlements.VillageType.MeshNameUnderConstruction |
string TaleWorlds.CampaignSystem.Settlements.VillageType.MeshNameBurned |
|
staticget |
|
get |
|
get |