Table of Contents

Class PropertyOwnerF<T>

Namespace
TaleWorlds.Core
Assembly
TaleWorlds.Core.dll
public class PropertyOwnerF<T> : MBObjectBase where T : MBObjectBase

Type Parameters

T
Inheritance
PropertyOwnerF<T>
Derived
Inherited Members

Constructors

PropertyOwnerF()

public PropertyOwnerF()

PropertyOwnerF(PropertyOwnerF<T>)

public PropertyOwnerF(PropertyOwnerF<T> propertyOwner)

Parameters

propertyOwner PropertyOwnerF<T>

Fields

_attributes

[SaveableField(10)]
protected Dictionary<T, float> _attributes

Field Value

Dictionary<T, float>

Methods

AutoGeneratedInstanceCollectObjects(List<object>)

protected override void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)

Parameters

collectedObjects List<object>

ClearAllProperty()

public void ClearAllProperty()

Deserialize(MBObjectManager, XmlNode)

public override void Deserialize(MBObjectManager objectManager, XmlNode node)

Parameters

objectManager MBObjectManager
node XmlNode

GetPropertyValue(T)

public float GetPropertyValue(T attribute)

Parameters

attribute T

Returns

float

HasProperty(T)

public bool HasProperty(T attribute)

Parameters

attribute T

Returns

bool

Serialize(XmlWriter)

public void Serialize(XmlWriter writer)

Parameters

writer XmlWriter

SetPropertyValue(T, float)

public void SetPropertyValue(T attribute, float value)

Parameters

attribute T
value float

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