ORK Framework  2.27.1
API Documentation
ORKFramework.Menu.InventoryExchangeItemBox Class Reference
Inheritance diagram for ORKFramework.Menu.InventoryExchangeItemBox:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
void Init (InventoryExchangeMenuPart parent, IInventoryExchange inventory)
void CheckDataChanged ()
void ShowPreview ()
List< int > GetItemTypes (int currentParentType)
bool HasNewItemTypes (List< int > itemTypes)
bool HasItemType (int itemTypeID, bool checkNewContent)
void ShowItems (bool openFocused)
void ShowDescription ()
bool ChoiceSelected (int index)
void SelectionChanged (int index)
void UnmarkView ()
void UnmarkSelection ()
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...

Public Attributes

int guiBoxID = 0
bool startFocused = false
bool showItemPortraits = false
int itemPortraitTypeID = 0
AddContentSorter contentSorter = new AddContentSorter()
InventoryAccessSettings inventoryAccess = new InventoryAccessSettings()
bool addUnsellable = false
AddBackButton backButton = new AddBackButton()
bool showTransferAll = false
bool transferAllFirst = false
ContentButton transferAllButton
bool useTitle = false
string [] title
string [] message = ArrayHelper.CreateArray(ORK.Languages.Count, "")
bool useEmptyMessage = false
string [] emptyMessage = ArrayHelper.CreateArray(ORK.Languages.Count, "")
bool useNewContentLayout = false
ContentLayout contentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.Info)
ContentLayout newContentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.Info)
bool enableDrag = false
bool enableClick = false
int clickCount = 2
bool enableTooltip = false
bool dragInactive = false
GUIBoxAudioType dragTransferAudio = GUIBoxAudioType.Accept
HeaderTexts headerTexts = new HeaderTexts()


IInventoryExchange Inventory [get]
bool IsShop [get]
CombatantCombatant [get]
GUIBox Box [get, set]
int SelectedIndex [get, set]
bool IsValidItemSelected [get]
IShortcut SelectedItem [get]
List< IInventoryShortcutItems [get]

Member Function Documentation

◆ SetData()

override void ORKFramework.Menu.InventoryExchangeItemBox.SetData ( DataObject  data)

Sets the variables of the class using a ORKFramework.DataObject.

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.