M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.PolicyObject Class Reference

Inherits TaleWorlds.Core.PropertyObject.

Public Member Functions

 PolicyObject (string stringId)
 
void Initialize (TextObject name, TextObject description, TextObject logEntryDescription, TextObject secondaryEffects, float authoritarianWeight, float oligarchyWeight, float egalitarianWeight)
 
override string ToString ()
 
- Public Member Functions inherited from TaleWorlds.Core.PropertyObject
 PropertyObject (string stringId)
 Initializes a new instance of the SkillObject class.
 
void Initialize (TextObject name, TextObject description)
 
- 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 ()
 

Properties

static Library.MBReadOnlyList< PolicyObjectAll [get]
 
TextObject SecondaryEffects [get]
 
float AuthoritarianWeight [get]
 
float OligarchicWeight [get]
 
float EgalitarianWeight [get]
 
TextObject LogEntryDescription [get]
 
- Properties inherited from TaleWorlds.Core.PropertyObject
TextObject Name [get]
 
TextObject Description [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 ()
 

Constructor & Destructor Documentation

◆ PolicyObject()

TaleWorlds.CampaignSystem.PolicyObject.PolicyObject ( string  stringId)

Member Function Documentation

◆ Initialize()

void TaleWorlds.CampaignSystem.PolicyObject.Initialize ( TextObject  name,
TextObject  description,
TextObject  logEntryDescription,
TextObject  secondaryEffects,
float  authoritarianWeight,
float  oligarchyWeight,
float  egalitarianWeight 
)

◆ ToString()

override string TaleWorlds.CampaignSystem.PolicyObject.ToString ( )

Property Documentation

◆ All

Library.MBReadOnlyList<PolicyObject> TaleWorlds.CampaignSystem.PolicyObject.All
staticget

◆ SecondaryEffects

TextObject TaleWorlds.CampaignSystem.PolicyObject.SecondaryEffects
get

◆ AuthoritarianWeight

float TaleWorlds.CampaignSystem.PolicyObject.AuthoritarianWeight
get

◆ OligarchicWeight

float TaleWorlds.CampaignSystem.PolicyObject.OligarchicWeight
get

◆ EgalitarianWeight

float TaleWorlds.CampaignSystem.PolicyObject.EgalitarianWeight
get

◆ LogEntryDescription

TextObject TaleWorlds.CampaignSystem.PolicyObject.LogEntryDescription
get