ORK Framework  2.22.0
API Documentation
ORKFramework.DefenceAttribute Class Reference
Inheritance diagram for ORKFramework.DefenceAttribute:
ORKFramework.AttributeValues ORKFramework.ISaveData

Public Member Functions

 DefenceAttribute (DefenceAttributeSetting baseAttribute, Combatant o, float factor)
 
override float GetPreviewValue (int index)
 
override float[] GetPreviewValues ()
 
override float GetStartValue (int index)
 
override void LoadGame (DataObject data)
 Used to load the data - you need to get the data from the ORKFramework.DataObject. More...
 
- Public Member Functions inherited from ORKFramework.AttributeValues
void CheckLength (int length)
 
float GetMinValue ()
 
float GetMaxValue ()
 
float GetValue (int index)
 
float[] GetValues ()
 
float GetBaseValue (int index)
 
float[] GetBaseValues ()
 
float GetTypeValue (int index, AttributeGetValue getType)
 
void SetValue (int index, float val)
 
void AddValue (int index, float add)
 
void ResetValues (float[] bonus)
 
void SetBaseValue (int index, float val)
 
void AddBaseValue (int index, float add)
 
virtual DataObject SaveGame ()
 Used to save the data - you need to add the data to a ORKFramework.DataObject. More...
 

Properties

DefenceAttributeSetting BaseAttribute [get]
 
- Properties inherited from ORKFramework.AttributeValues
AttributeChanged Changed
 
int Count [get]
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.AttributeValues
Combatant owner
 
int realID = -1
 
float[] baseValue = new float[0]
 
float[] currentValue = new float[0]
 
float[] lastCurrentValue = new float[0]
 
float minValue = -500
 
float maxValue = 500
 

Member Function Documentation

override void ORKFramework.DefenceAttribute.LoadGame ( DataObject  data)
virtual

Used to load the data - you need to get the data from the ORKFramework.DataObject.

Parameters
dataA ORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.AttributeValues.