ORK Framework  2.18.0
API Documentation
ORKFramework.StatusValue Class Reference
Inheritance diagram for ORKFramework.StatusValue:
ORKFramework.ISaveData

Public Member Functions

 StatusValue (int id, StatusValueSetting s, Combatant o)
 
void InitValue (int val)
 
int GetDisplayValue ()
 
void Tick (float t)
 
int GetPreviewValue (bool display)
 
int GetPreviewValueMax (bool display)
 
int GetPreviewMinValue ()
 
int GetPreviewMaxValue ()
 
void FinalPreviewValue (float percentBonus)
 
bool CompareToPreview (int checkValue, ValueCheck comparison, ValueSetter setter)
 
void AddValuePreview (int add, ref int[] statusValue, bool ignoreBarrier)
 
int GetValue ()
 
int GetBaseValue ()
 
int GetMinValue ()
 
int GetMaxValue ()
 
int GetConsumePotential ()
 
int GetTypeValue (StatusValueGetValue getType)
 
void SetValue (int val, bool isCritical, bool checkDeath, bool checkLevelUp, bool ignoreBarrier, bool showNotification, bool showConsole)
 
void AddValue (int add, bool isCritical, bool checkDeath, bool checkLevelUp, bool ignoreBarrier, bool showNotification, bool showConsole)
 
void ResetValue (int bonus, bool checkBounds)
 
void SetBaseValue (int val)
 
void AddBaseValue (int add)
 
void ShowBlockNotification ()
 
void FinalValue (float percentBonus)
 
void CheckBounds (bool checkDeath, bool checkLevelUp)
 
bool MaxReached ()
 
bool CompareTo (StatusValueGetValue getType, int checkValue, ValueCheck comparison, ValueSetter setter)
 
bool IsDead ()
 
bool IsNormal ()
 
bool IsConsumable ()
 
bool IsExperience ()
 
bool IsBaseLevel ()
 
bool IsClassLevel ()
 
bool IsNoneLevel ()
 
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

StatusValueChanged Changed
 
int RealID [get]
 
StatusValueSetting Setting [get]
 
int RealValue [get]
 
float Percent [get]
 
float PercentPreview [get]
 

Member Function Documentation

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