ORK Framework  2.24.0
API Documentation
ORKFramework.BestiaryEntry Class Reference
Inheritance diagram for ORKFramework.BestiaryEntry:
ORKFramework.ISaveData ORKFramework.IContent ORKFramework.IMarkNewContent ORKFramework.IContentSimple

Public Member Functions

 BestiaryEntry (string key)
 
 BestiaryEntry (string key, DataObject data)
 
void Clear ()
 
void CheckComplete ()
 
void UnmarkID (int id)
 
Combatant GetCombatant ()
 
string GetName ()
 
string GetDescription ()
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
IContentSimple GetTypeContent ()
 
string GetInfo (Combatant c)
 
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

List< int > areaIDs = new List<int>()
 
BestiaryStatus status
 
bool statusChanged = false
 
List< int > newAreaIDs = new List<int>()
 

Properties

bool IsComplete [get, set]
 
bool IsNewContent [get, set]
 
int Level [get]
 
int ClassLevel [get]
 
int ID [get]
 
int ClassID [get]
 
int TypeID [get]
 
- Properties inherited from ORKFramework.IContent
int TypeID [get]
 
- Properties inherited from ORKFramework.IContentSimple
int ID [get]
 
- Properties inherited from ORKFramework.IMarkNewContent
bool IsNewContent [get, set]
 

Member Function Documentation

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