ORK Framework  2.24.0
API Documentation
ORKFramework.NoneShortcut Class Reference
Inheritance diagram for ORKFramework.NoneShortcut:
ORKFramework.IShortcut ORKFramework.ICastTime ORKFramework.IContent ORKFramework.ISaveData ORKFramework.CoreIShortcut ORKFramework.IPreviewable ORKFramework.IContentSimple ORKFramework.IContent ORKFramework.IContentSimple

Public Member Functions

IShortcut GetCopy (int q)
 
bool IsEqual (IShortcut shortcut)
 
int BuyPrice (Combatant user)
 
int SellPrice (Combatant user)
 
float GetCastTime (Combatant user)
 
void PlayCastAudio (Combatant user)
 
bool CanCancelCasting ()
 
bool CanCastMove ()
 
void ShowCastingConsoleText (Combatant user, List< Combatant > target, Dictionary< Combatant, StatusChangeInformation > statusChangesTarget)
 
void ShowCancelCastingConsoleText (Combatant user, List< Combatant > target, Dictionary< Combatant, StatusChangeInformation > statusChangesTarget)
 
List< CombatantGetPossibleTargets (Combatant user, List< Combatant > available)
 
bool CanTarget (Combatant user, Combatant target)
 
bool IsUseable (UseableIn useIn)
 
bool CanUse (Combatant user, bool checkTime, bool checkUseCosts)
 
bool IsDropable ()
 
bool Use (Combatant user, List< Combatant > targets, bool useAction)
 
string GetReuseTimeText (Combatant user, int decimals)
 
IContentSimple GetTypeContent ()
 
string GetName ()
 
string GetDescription ()
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
string GetInfo (Combatant c)
 
ShortcutHUDWrapper GetDrag (Combatant user)
 
string GetLevelUpCostString (Combatant combatant)
 
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

int Quantity [get, set]
 
CastTimeSettings CastTimeSettings [get]
 
int ID [get]
 
int TypeID [get]
 
- 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]
 
- Properties inherited from ORKFramework.ICastTime
CastTimeSettings CastTimeSettings [get]
 

Member Function Documentation

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