ORK Framework  2.34.0
API Documentation
ORKFramework.Menu.Parts.EquipmentMenuPart Class Reference
Inheritance diagram for ORKFramework.Menu.Parts.EquipmentMenuPart:
ORKFramework.Menu.Parts.BaseMenuPart ORKFramework.IChoice ORKFramework.IChoiceDrop ORKFramework.IDragOrigin ORKFramework.Menu.Parts.CoreMenuPart ORKFramework.IChoiceSimple ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
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)
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)
void EquipmentChanged (Combatant combatant)
void InventoryChanged (Inventory inventory, ItemDropType type, int id, int level, int quantity, IInventoryShortcut shortcut, bool showNotification, bool showConsole)
override void ResetSelection ()
void Show ()
void FocusGained (GUIBox origin)
void FocusLost (GUIBox origin)
void OutOfBoxClick (GUIBox origin)
void Closed (GUIBox origin)
override void CombatantChoiceClosed (bool canceled)
override void SubMenuClosed (bool canceled)
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 ChoiceDropped (int index, GUIBox origin, DragInfo drag, ref GUIBoxAudioType playDropAudio)
- Public Member Functions inherited from ORKFramework.Menu.Parts.BaseMenuPart
virtual void MarkRefresh ()
virtual void ClearOverrides (bool refresh)
virtual bool SetOverrideType (BaseMenuPart backPart, int[] type, bool focus)
virtual bool SetOverrideDefaultAction (BaseMenuPart backPart, bool backAfterUse, MenuActionSetting defaultAction, bool focus)
- 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

bool allTypes = true
Consider onlyContributing = Consider.Ignore
TypeSorter typeSorter = new TypeSorter()
int [] availableTypeID
int guiBoxID = 0
bool showEmptyTypes = false
bool showTypePortraits = false
bool acceptUnequipsPart = false
AddBackButton typeBackButton = new AddBackButton()
bool useTypeTitle = false
string [] typeTitle
TitleContentLayout typeContentLayout
TitleHeaderTexts partHeaderTexts = new TitleHeaderTexts()
ContentButton emptyButton = new ContentButton("Empty")
bool emptyButtonPartIcon = false
bool useUnavailableButton = false
ContentButton unavailableButton
bool unavailableButtonPartIcon = false
bool enableDrag = false
bool enableClick = false
int clickCount = 2
bool enableTooltip = false
bool enableEmptyPartTooltip = false
bool dropGive = false
QuantityCall giveQuantity
bool dropToWorld = false
bool dropRemove = false
QuantityCall dropQuantity
bool showEquipBox = true
MenuBoxDisplay display = MenuBoxDisplay.Multi
int guiBoxID2 = 0
bool showEquipPortraits = false
int equipPortraitTypeID = 0
bool allEquipment = false
AdvancedContentSorter contentSorter = new AdvancedContentSorter()
AddBackButton backButton = new AddBackButton()
AddUnequipButton unequipButton = new AddUnequipButton()
bool unequipOnlyAllowed = false
bool unequipBeforeBack = false
bool useTitle = false
string [] title
bool useNewContentLayout = false
ContentLayout contentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.Info)
ContentLayout newContentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.Info)
HeaderTexts headerTexts = new HeaderTexts()
bool equipEnableDrag = false
bool equipEnableClick = false
int equipClickCount = 2
bool equipEnableTooltip = false
bool equipDropGive = false
QuantityCall equipGiveQuantity
bool equipDropToWorld = false
bool equipDropRemove = false
QuantityCall equipDropQuantity
bool useSubMenu = false
SubMenu subMenu
bool displayLevelPoints = false
HUDWrapperPlacement hudPlacement = HUDWrapperPlacement.IgnoreContent
HUDLevelPoints [] levelPointsElement
bool displayLevelPointsList = false
HUDWrapperPlacement hudPlacementList = HUDWrapperPlacement.IgnoreContent
HUDLevelPoints [] levelPointsElementList

Protected Member Functions

virtual void DropUnequip (IShortcut shortcut, int quantity, bool showNotification, bool showConsole)


override ORKDataType TypeDataType [get]
override bool Controlable [get]
bool AcceptCallsSubMenu [get]
override bool IsOpened [get]
override bool IsClosed [get]
override bool OnScreenCombatant [get]
- Properties inherited from ORKFramework.Menu.Parts.BaseMenuPart
MenuScreen Screen [get, set]
virtual bool OnScreenCombatant [get]
virtual bool ShouldRefresh [get]
abstract bool IsOpened [get]
abstract bool IsClosed [get]
virtual bool Controlable [get]
virtual ORKDataType TypeDataType [get]

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.Menu.Parts.BaseMenuPart
MenuScreen screen
bool markRefresh = false

Member Function Documentation

◆ SetData()

override void ORKFramework.Menu.Parts.EquipmentMenuPart.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.

Member Data Documentation

◆ typeContentLayout

TitleContentLayout ORKFramework.Menu.Parts.EquipmentMenuPart.typeContentLayout
Initial value:
= new TitleContentLayout(
ContentLayoutType.Both, ContentLayoutType.Both, ContentLayoutInfoType.None)