ORK Framework  2.25.1
API Documentation
ORKFramework.Shop.ShopScreen Class Reference
Inheritance diagram for ORKFramework.Shop.ShopScreen:
ORKFramework.IChoice ORKFramework.IDragOrigin ORKFramework.IQuantityCallback ORKFramework.IInventoryExchange ORKFramework.Events.IEventStarter ORKFramework.IChoiceSimple

Public Member Functions

 ShopScreen (IEventStarter starter, int shopID, string shopSceneID, int factionID)
 
int GetModifiedBuyPrice (Combatant combatant, int buyPrice)
 
int GetModifiedSellPrice (Combatant combatant, int sellPrice)
 
void SetItemShop (List< ShopWrapperShortcut > list)
 
List< ShopWrapperShortcutGetSellable ()
 
bool HasSellable ()
 
bool HasBuyable ()
 
bool ShowOKButton (GUIBox origin)
 
bool ShowCancelButton (GUIBox origin)
 
bool IsOKButtonActive (GUIBox origin)
 
bool IsCancelButtonActive (GUIBox origin)
 
bool Tick (GUIBox origin)
 
bool UnfocusedTick (GUIBox origin)
 
bool NotControlableTick (GUIBox origin)
 
void FocusGained (GUIBox origin)
 
void FocusLost (GUIBox origin)
 
void OutOfBoxClick (GUIBox origin)
 
void Show ()
 
void Refresh ()
 
void Close ()
 
void Closed (GUIBox origin)
 
void ChoiceSelected (int index, GUIBox origin)
 
void SelectionChanged (int index, GUIBox origin)
 
void Canceled (GUIBox origin)
 
void Dropped (DragInfo drag)
 
bool DroppedOnCombatant (Combatant c, DragInfo drag)
 
bool DroppedToWorld (Vector3 position, DragInfo drag)
 
void QuantityCallback (IShortcut shortcut, int quantity, QuantitySelectionMode mode)
 
bool BuyAbility (IShortcut shortcut, bool showNotification, bool showConsole, bool markNewContent)
 
bool BuyCombatant (IShortcut shortcut, bool showNotification, bool showConsole, bool markNewContent)
 
Combatant GetOwner ()
 
IContentSimple GetContent ()
 
void CheckDataChanged (bool checkItems, bool checkWeapons, bool checkArmors, bool checkAICollection, bool checkCraftingRecipes)
 
void FireChanged ()
 
void GetItemTypes (int parentType, ref List< int > list, bool onlySellable, bool addMoney, bool addEmptyMoney, bool addItems, bool addWeapons, bool addArmor, bool addAIBehaviours, bool addAIRulesets, bool addCraftingRecipes)
 
bool HasNewItemTypes (bool checkParent, List< int > types, bool onlySellable, bool addItems, bool addWeapons, bool addArmor, bool addAIBehaviours, bool addAIRulesets, bool addCraftingRecipes)
 
bool HasItemType (bool checkParent, int typeID, bool onlySellable, bool addMoney, bool addEmptyMoney, bool addItems, bool addWeapons, bool addArmor, bool addAIBehaviours, bool addAIRulesets, bool addCraftingRecipes, bool checkNewContent)
 
void GetAll (bool addMoney, bool addEmptyMoney, bool addItems, bool addWeapons, bool addArmor, bool addAIBehaviours, bool addAIRulesets, bool addCraftingRecipes, int typeID, bool checkParent, ref List< IInventoryShortcut > list)
 
bool Add (IShortcut shortcut, bool showNotification, bool showConsole, bool markNewContent)
 
void Remove (IShortcut shortcut, int quantity, bool showNotification, bool showConsole)
 
void Drop (IShortcut shortcut, int quantity, bool showNotification, bool showConsole)
 
int GetAllowedQuantity (IShortcut shortcut, int quantity)
 
int GetCount (IShortcut shortcut)
 
bool HasEnoughMoney (int id, int quantity)
 
int GetMoney (int id)
 
void AddMoney (int id, int quantity, bool showNotification, bool showConsole)
 
void SubMoney (int id, int quantity, bool showNotification, bool showConsole)
 
void EventEnded ()
 
void DontDestroy ()
 
void OnSceneLoaded ()
 

Properties

Combatant User [get, set]
 
ShopSetting Setting [get]
 
ShopLayout Layout [get]
 
bool IsBuyAll [get]
 
bool IsSellAll [get]
 
bool IsEmpty [get]
 
Notify Changed
 
GameObject GameObject [get]
 
- Properties inherited from ORKFramework.IInventoryExchange
bool IsEmpty [get]
 
- Properties inherited from ORKFramework.Events.IEventStarter
GameObject GameObject [get]
 

Additional Inherited Members

- Events inherited from ORKFramework.IInventoryExchange
Notify Changed