ORK Framework  2.25.2
API Documentation
ORKFramework.UseBlock Class Reference

Public Member Functions

 UseBlock (UseBlockType type, UseBlockScope scope, int id, float time, EndAfter endType)
 
bool IsBlocked (UseBlockType checkType, int checkID)
 
string GetReuseTimeText (int decimals)
 
bool ReduceTurn (Combatant combatant)
 
bool ReduceTime (float t, Combatant combatant)
 
bool IsRemoveOnBattleEnd ()
 

Public Attributes

UseBlockType type = UseBlockType.Ability
 
UseBlockScope scope = UseBlockScope.Single
 
int id = -1
 
float time = 0
 
EndAfter endType = EndAfter.None
 

Properties

bool IsAbility [get]
 
bool IsItem [get]