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

Inherits TaleWorlds.Core.PropertyOwner< PerkObject >.

Public Member Functions

 CharacterPerks ()
 
 CharacterPerks (CharacterPerks perks)
 
void ClearChangedPerks (Hero owner)
 
override void Deserialize (MBObjectManager objectManager, XmlNode node)
 
- Public Member Functions inherited from TaleWorlds.Core.PropertyOwner< PerkObject >
 PropertyOwner ()
 
 PropertyOwner (PropertyOwner< T > propertyOwner)
 
void SetPropertyValue (T attribute, int value)
 
int GetPropertyValue (T attribute)
 
bool HasProperty (T attribute)
 
void ClearAllProperty ()
 
void Serialize (XmlWriter writer)
 
override void Deserialize (MBObjectManager objectManager, XmlNode node)
 

Additional Inherited Members

- Protected Attributes inherited from TaleWorlds.Core.PropertyOwner< PerkObject >
readonly Dictionary< T, int > _attributes
 

Constructor & Destructor Documentation

◆ CharacterPerks() [1/2]

TaleWorlds.CampaignSystem.CharacterDevelopment.CharacterPerks.CharacterPerks ( )

◆ CharacterPerks() [2/2]

TaleWorlds.CampaignSystem.CharacterDevelopment.CharacterPerks.CharacterPerks ( CharacterPerks  perks)

Member Function Documentation

◆ ClearChangedPerks()

void TaleWorlds.CampaignSystem.CharacterDevelopment.CharacterPerks.ClearChangedPerks ( Hero  owner)

◆ Deserialize()

override void TaleWorlds.CampaignSystem.CharacterDevelopment.CharacterPerks.Deserialize ( MBObjectManager  objectManager,
XmlNode  node 
)