ORK Framework  2.25.2
API Documentation
ORKFramework.StatusRequirement Class Reference
Inheritance diagram for ORKFramework.StatusRequirement:
ORKFramework.BaseData ORKFramework.IBaseData ORKFramework.Events.StatusRequirementNextNode

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
string GetInfoText ()
 
bool CheckRequirement (Combatant combatant)
 
bool CheckRequirementPreview (Combatant combatant)
 
bool CheckRequirementBestiary (Combatant combatant)
 
void RegisterStatusChanges (Combatant combatant, IStatusChanged notify)
 
void UnregisterStatusChanges (Combatant combatant, IStatusChanged notify)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Static Public Member Functions

static bool Check (Combatant combatant, StatusRequirement[] req, Needed needed)
 
static bool CheckPreview (Combatant combatant, StatusRequirement[] req, Needed needed)
 
static bool CheckBestiary (Combatant combatant, StatusRequirement[] req, Needed needed)
 

Public Attributes

StatusRequirementType requirementType = StatusRequirementType.Status
 
BaseStatusRequirement status
 
Needed needed = Needed.All
 
StatusRequirement [] req
 
int templateID = 0
 

Member Function Documentation

◆ SetData()

override void ORKFramework.StatusRequirement.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.