ORK Framework  2.25.2
API Documentation
ORKFramework.ExperienceLoot Class Reference
Inheritance diagram for ORKFramework.ExperienceLoot:
ORKFramework.ISaveData

Public Member Functions

 ExperienceLoot (int exp, int lvl, int clvl)
 
 ExperienceLoot (DataObject data)
 
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...
 

Public Attributes

int experience = 0
 
int baseLevel = 1
 
int classLevel = 1
 

Member Function Documentation

◆ LoadGame()

void ORKFramework.ExperienceLoot.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.

◆ SaveGame()

DataObject ORKFramework.ExperienceLoot.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.