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

Public Member Functions

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 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

int guiBoxID = 0
bool startFocused = false
bool showItemPortraits = false
int itemPortraitTypeID = 0
ContentSorter contentSorter = new ContentSorter()
bool addMoney = false
bool addItems = true
bool addWeapons = true
bool addArmors = true
bool addAIBehavoiurs = false
bool addAIRulesets = false
bool addCraftingRecipes = false
bool addUnsellable = false
AddBackButton backButton = new AddBackButton()
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]
Combatant Combatant [get]
GUIBox Box [get, set]
int SelectedIndex [get, set]
bool IsValidItemSelected [get]
IShortcut SelectedItem [get]