ORK Framework  2.24.0
API Documentation
ORKFramework.Menu.Parts.InventoryExchangeMenuPart Class Reference
Inheritance diagram for ORKFramework.Menu.Parts.InventoryExchangeMenuPart:
ORKFramework.Menu.Parts.BaseMenuPart ORKFramework.IChoice ORKFramework.IChoiceDrop ORKFramework.ITabChoice ORKFramework.IDragOrigin ORKFramework.IQuantityCallback ORKFramework.Menu.Parts.CoreMenuPart ORKFramework.IChoiceSimple ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

void Init (IInventoryExchange inventory, IInventoryExchange inventory2)
 
ShopScreen GetShop ()
 
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 CreateTypeChoices ()
 
override bool ShowFirstDescription ()
 
override bool FocusFirst ()
 
override bool IsFocused ()
 
override void Refresh ()
 
override void Show (MenuScreen s)
 
override void ChangeCombatant (Combatant old)
 
override void Close (bool closeImmediately)
 
override void ResetSelection ()
 
void Show ()
 
void FocusGained (GUIBox origin)
 
void FocusLost (GUIBox origin)
 
void FocusLastItemBox ()
 
void OutOfBoxClick (GUIBox origin)
 
void Closed (GUIBox origin)
 
override void CombatantChoiceClosed (bool canceled)
 
void ChoiceSelected (int index, GUIBox origin)
 
void SelectionChanged (int index, GUIBox origin)
 
void TabChanged (int index, GUIBox box)
 
void Canceled (GUIBox origin)
 
void Cancel (GUIBox origin)
 
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)
 
void Dropped (DragInfo drag)
 
bool DroppedOnCombatant (Combatant c, DragInfo drag)
 
bool DroppedToWorld (Vector3 position, DragInfo drag)
 
void ChoiceDropped (int index, GUIBox origin, DragInfo drag, ref GUIBoxAudioType playDropAudio)
 
- Public Member Functions inherited from ORKFramework.Menu.Parts.BaseMenuPart
virtual void SubMenuClosed (bool canceled)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

bool allTypes = true
 
bool mergeSubTypes = false
 
bool enableTypeTooltip = false
 
TypeSorter typeSorter = new TypeSorter()
 
bool setStartParentType = false
 
int startParentTypeID = 0
 
bool addAllTypeChoice = false
 
bool allTypeChoiceFirst = true
 
LanguageInfoButton allTypeButton
 
int[] availableTypeID
 
bool useTypeKeys = false
 
int nextTypeKey = 0
 
int prevTypeKey = 0
 
GUIBoxAudioType typeKeysAudioType = GUIBoxAudioType.Cursor
 
MenuTypeDisplay typeDisplay = MenuTypeDisplay.GUIBox
 
bool showEmptyTypes = false
 
MenuBoxDisplay display = MenuBoxDisplay.Multi
 
int guiBoxID = 0
 
AddBackButton typeBackButton = new AddBackButton()
 
bool useTypeTitle = false
 
string[] typeTitle
 
bool useNewTypeContentLayout = false
 
ContentLayout typeContentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.None)
 
ContentLayout newTypeContentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.None)
 
HeaderTexts typeHeaderTexts = new HeaderTexts()
 
InventoryExchangeItemBox itemBox = new InventoryExchangeItemBox()
 
InventoryExchangeItemBox itemBox2 = new InventoryExchangeItemBox()
 
bool useBoxSwitchKey = false
 
int boxSwitchKeyID = 0
 
GUIBoxAudioType boxSwitchKeyAudioType = GUIBoxAudioType.Accept
 
QuantityCall exchangeQuantity = new QuantityCall()
 
QuantityCall buyQuantity = new QuantityCall()
 
QuantityCall sellQuantity = new QuantityCall()
 
bool dropToWorld = false
 
bool dropRemove = false
 
QuantityCall dropQuantity
 
bool showBuyQuestion = false
 
QuantityQuestionChoice buyQuestion
 
bool showSellQuestion = false
 
QuantityQuestionChoice sellQuestion
 
bool displayLevelPoints = false
 
HUDWrapperPlacement hudPlacement = HUDWrapperPlacement.IgnoreContent
 
HUDLevelPoints[] levelPointsElement
 

Properties

bool IsShop [get]
 
int CurrencyID [get]
 
bool IsBuyAll [get]
 
bool IsSellAll [get]
 
override bool Controlable [get]
 
override bool IsOpened [get]
 
override bool IsClosed [get]
 
bool IsValidTypeSelected [get]
 
int CurrentTypeAction [get]
 
int SelectedIndex [get]
 
int FallbackItemTypeID [get]
 
List< int > ItemTypes [get]
 
ChoiceContent[] TypeChoice [get]
 
- Properties inherited from ORKFramework.Menu.Parts.BaseMenuPart
MenuScreen Screen [get, set]
 
virtual bool OnScreenCombatant [get]
 
abstract bool IsOpened [get]
 
abstract bool IsClosed [get]
 
virtual bool Controlable [get]
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.Menu.Parts.BaseMenuPart
MenuScreen screen