Class PropertyOwner<T>
- Namespace
- TaleWorlds.Core
- Assembly
- TaleWorlds.Core.dll
public class PropertyOwner<T> : MBObjectBase where T : MBObjectBase
Type Parameters
T
- Inheritance
-
PropertyOwner<T>
- Derived
- Inherited Members
Constructors
PropertyOwner()
public PropertyOwner()
PropertyOwner(PropertyOwner<T>)
public PropertyOwner(PropertyOwner<T> propertyOwner)
Parameters
propertyOwner
PropertyOwner<T>
Fields
_attributes
[SaveableField(10)]
protected readonly Dictionary<T, int> _attributes
Field Value
- Dictionary<T, int>
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
objectManager
MBObjectManagernode
XmlNode
GetPropertyValue(T)
public int GetPropertyValue(T attribute)
Parameters
attribute
T
Returns
HasProperty(T)
public bool HasProperty(T attribute)
Parameters
attribute
T
Returns
Serialize(XmlWriter)
public void Serialize(XmlWriter writer)
Parameters
writer
XmlWriter
SetPropertyValue(T, int)
public void SetPropertyValue(T attribute, int value)
Parameters
attribute
Tvalue
int
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).