![]() |
ORK Framework
2.31.0
API Documentation
|
Public Member Functions | |
GridOrientationShortcut (bool useCenter) | |
IShortcut | GetCopy (int q) |
bool | IsEqual (IShortcut shortcut) |
string | FormatQuantity (int quantity) |
int | BuyPrice (Combatant user) |
int | SellPrice (Combatant user) |
List< Combatant > | GetPossibleTargets (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) |
IContentSimple | GetTypeContent () |
string | GetName () |
string | GetShortName () |
string | GetDescription () |
string | GetIconTextCode () |
Texture | GetIcon () |
GUIContent | GetContent () |
string | GetInfo (Combatant c) |
ShortcutHUDWrapper | GetDrag (Combatant user) |
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] |
string | QuantityFormatted [get] |
int | ID [get] |
int | TypeID [get] |
![]() | |
int | Quantity [get, set] |
string | QuantityFormatted [get] |
![]() | |
int | TypeID [get] |
![]() | |
int | ID [get] |
void ORKFramework.GridOrientationShortcut.LoadGame | ( | DataObject | data | ) |
Used to load the data - you need to get the data from the ORKFramework.DataObject.
data | A ORKFramework.DataObject containing the data. |
Implements ORKFramework.ISaveData.
DataObject ORKFramework.GridOrientationShortcut.SaveGame | ( | ) |
Used to save the data - you need to add the data to a ORKFramework.DataObject.
Implements ORKFramework.ISaveData.