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
propertyOwnerPropertyOwnerF<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
ClearAllProperty()
public void ClearAllProperty()
Deserialize(MBObjectManager, XmlNode)
public override void Deserialize(MBObjectManager objectManager, XmlNode node)
Parameters
objectManagerMBObjectManagernodeXmlNode
GetPropertyValue(T)
public float GetPropertyValue(T attribute)
Parameters
attributeT
Returns
HasProperty(T)
public bool HasProperty(T attribute)
Parameters
attributeT
Returns
Serialize(XmlWriter)
public void Serialize(XmlWriter writer)
Parameters
writerXmlWriter
SetPropertyValue(T, float)
public void SetPropertyValue(T attribute, float value)
Parameters
attributeTvaluefloat
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).