Barotrauma Client Doc
Barotrauma.Inventory.SlotReference Class Reference

Public Member Functions

 SlotReference (Inventory parentInventory, VisualSlot slot, int slotIndex, bool isSubSlot, Inventory subInventory=null)
 
bool TooltipNeedsRefresh ()
 
void RefreshTooltip ()
 

Public Attributes

readonly Inventory ParentInventory
 
readonly int SlotIndex
 
VisualSlot Slot
 
Inventory Inventory
 
readonly Item Item
 
readonly bool IsSubSlot
 
int tooltipDisplayedCondition
 
bool ForceTooltipRefresh
 

Properties

RichString Tooltip [get]
 

Detailed Description

Constructor & Destructor Documentation

◆ SlotReference()

Barotrauma.Inventory.SlotReference.SlotReference ( Inventory  parentInventory,
VisualSlot  slot,
int  slotIndex,
bool  isSubSlot,
Inventory  subInventory = null 
)

Member Function Documentation

◆ RefreshTooltip()

void Barotrauma.Inventory.SlotReference.RefreshTooltip ( )

◆ TooltipNeedsRefresh()

bool Barotrauma.Inventory.SlotReference.TooltipNeedsRefresh ( )

Member Data Documentation

◆ ForceTooltipRefresh

bool Barotrauma.Inventory.SlotReference.ForceTooltipRefresh

◆ Inventory

Inventory Barotrauma.Inventory.SlotReference.Inventory

◆ IsSubSlot

readonly bool Barotrauma.Inventory.SlotReference.IsSubSlot

◆ Item

readonly Item Barotrauma.Inventory.SlotReference.Item

◆ ParentInventory

readonly Inventory Barotrauma.Inventory.SlotReference.ParentInventory

◆ Slot

VisualSlot Barotrauma.Inventory.SlotReference.Slot

◆ SlotIndex

readonly int Barotrauma.Inventory.SlotReference.SlotIndex

◆ tooltipDisplayedCondition

int Barotrauma.Inventory.SlotReference.tooltipDisplayedCondition

Property Documentation

◆ Tooltip

RichString Barotrauma.Inventory.SlotReference.Tooltip
get