ORK Framework  2.29.3
API Documentation
ORKFramework.ValueCheck Class Reference
Inheritance diagram for ORKFramework.ValueCheck:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 ValueCheck (float value)
 
bool Check (int checkValue, Combatant combatant)
 
bool Check (float checkValue, Combatant combatant)
 
bool Check (int checkValue, Combatant user, Combatant target)
 
bool Check (float checkValue, Combatant user, Combatant target)
 
bool CheckOffset (int checkValue, int offset, Combatant user, Combatant target)
 
bool CheckOffset (float checkValue, float offset, Combatant user, Combatant target)
 
string GetInfoText ()
 
void UpgradeInt (DataObject data, string typeName, string valueName)
 
void UpgradeFloat (DataObject data, string typeName, string valueName)
 
void UpgradeFloat (DataObject data, string typeName, string valueName, string value2Name)
 
void UpgradeFloatValue (DataObject data, string typeName, string valueName, string value2Name)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Static Public Member Functions

static void UpgradeOldType (DataObject data, string typeName, ref ValueCheckType type)
 
static void UpgradeOldTypeVariable (DataObject data, string typeName, ref ValueCheckType type)
 

Public Attributes

ValueCheckType type = ValueCheckType.IsEqual
 
FloatValue value = new FloatValue()
 
FloatValue value2