ORK Framework  2.33.0
API Documentation
ORKFramework.AttackAttribute Class Reference
Inheritance diagram for ORKFramework.AttackAttribute:
ORKFramework.AttributeValues ORKFramework.ISaveData

Public Member Functions

 AttackAttribute (AttackAttributeSetting baseAttribute, Combatant o, float factor)
override float GetPreviewValue (int index)
override float [] GetPreviewValues ()
override float GetStartValue (int index)
void GetTraits (ref AttributeTraits traits)
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 Set (float[] baseValue, float[] currentValue)
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...


AttackAttributeSetting BaseAttribute [get]
- Properties inherited from ORKFramework.AttributeValues
NotifyCombatantInt2Float Changed
Notify SimpleChanged
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

◆ LoadGame()

override void ORKFramework.AttackAttribute.LoadGame ( DataObject  data)

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

dataA ORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.AttributeValues.