ORK Framework  2.25.2
API Documentation
ORKFramework.AbilityLeafShortcut Class Reference
Inheritance diagram for ORKFramework.AbilityLeafShortcut:
ORKFramework.IShortcut ORKFramework.IContent ORKFramework.ISaveData ORKFramework.CoreIShortcut ORKFramework.IPreviewable ORKFramework.IPortraitContent ORKFramework.IContentSimple ORKFramework.IContent ORKFramework.IContentSimple

Public Member Functions

 AbilityLeafShortcut (AbilityLeaf setting)
 
IShortcut GetCopy (int quantity)
 
bool IsEqual (IShortcut shortcut)
 
IContentSimple GetTypeContent ()
 
int BuyPrice (Combatant user)
 
int SellPrice (Combatant user)
 
string GetName ()
 
string GetDescription ()
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
string GetInfo (Combatant combatant)
 
ShortcutHUDWrapper GetDrag (Combatant user)
 
string GetLevelUpCostString (Combatant combatant)
 
bool IsUseable (UseableIn useIn)
 
bool CanUse (Combatant c, bool checkTime, bool checkUseCosts)
 
bool IsDropable ()
 
bool Use (Combatant user, List< Combatant > targets, bool useAction)
 
string GetReuseTimeText (Combatant user, int decimals)
 
List< CombatantGetPossibleTargets (Combatant user, List< Combatant > available)
 
bool CanTarget (Combatant user, Combatant target)
 
IPortrait GetPortrait (int typeID)
 
StatusPreview GetPreview (Combatant combatant, PreviewSelection selectedPreview)
 
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

AbilityLeaf Setting [get]
 
AbilityShortcut Shortcut [get, set]
 
int ID [get]
 
int TypeID [get]
 
int Quantity [get, set]
 
- Properties inherited from ORKFramework.IShortcut
int Quantity [get, set]
 
- Properties inherited from ORKFramework.IContent
int TypeID [get]
 
- Properties inherited from ORKFramework.IContentSimple
int ID [get]
 

Member Function Documentation

◆ LoadGame()

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

◆ SaveGame()

DataObject ORKFramework.AbilityLeafShortcut.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.