ORK Framework  2.23.0
API Documentation
ORKFramework.Combatants.ValueStatistic Class Reference
Inheritance diagram for ORKFramework.Combatants.ValueStatistic:
ORKFramework.ISaveData

Public Types

enum  Source { DecreaseReceived, DecreaseGiven, IncreaseReceived, IncreaseGiven }
 

Public Member Functions

void Clear ()
 
int GetValue (Source source)
 
void SetValue (Source source, int value)
 
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...
 

Properties

int DecreaseReceived [get, set]
 
int DecreaseGiven [get, set]
 
int IncreaseReceived [get, set]
 
int IncreaseGiven [get, set]
 

Member Function Documentation

void ORKFramework.Combatants.ValueStatistic.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.Combatants.ValueStatistic.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.