ORK Framework  2.24.0
API Documentation
ORKFramework.AttributeChange Class Reference
Inheritance diagram for ORKFramework.AttributeChange:
ORKFramework.ISaveData

Public Member Functions

 AttributeChange (int size)
 
bool HasBonus ()
 
DataObject SaveGame ()
 Used to save the data - you need to add the data to a ORKFramework.DataObject. More...
 
void LoadGame (DataObject data)
 Used to load the data - you need to get the data from the ORKFramework.DataObject. More...
 

Static Public Member Functions

static AttributeChange[] CreateAttackAttribute ()
 
static AttributeChange[] CreateDefenceAttribute ()
 

Public Attributes

float[] bonus = new float[0]
 

Member Function Documentation

void ORKFramework.AttributeChange.LoadGame ( DataObject  data)

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

Parameters
dataA ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.

DataObject ORKFramework.AttributeChange.SaveGame ( )

Used to save the data - you need to add the data to a ORKFramework.DataObject.

Returns
A ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.