Barotrauma Client Doc
|
Public Member Functions | |
VisualSlot (Rectangle rect) | |
bool | MouseOn () |
void | ShowBorderHighlight (Color color, float fadeInDuration, float fadeOutDuration, float scaleUpAmount=0.5f) |
void | MoveBorderHighlight (VisualSlot newSlot) |
Moves the current border highlight animation (if one is running) to the new slot More... | |
Public Attributes | |
Rectangle | Rect |
Rectangle | InteractRect |
bool | Disabled |
GUIComponent.ComponentState | State |
Vector2 | DrawOffset |
Color | Color |
Color | HighlightColor |
float | HighlightScaleUpAmount |
float | HighlightTimer |
Sprite | SlotSprite |
int | InventoryKeyIndex = -1 |
int | SubInventoryDir = -1 |
float | QuickUseTimer |
LocalizedString | QuickUseButtonToolTip |
bool | IsMoving = false |
GUIComponent.ComponentState | EquipButtonState |
Properties | |
bool | IsHighlighted [get] |
Rectangle | EquipButtonRect [get] |
Definition at line 12 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
Barotrauma.VisualSlot.VisualSlot | ( | Rectangle | rect | ) |
Definition at line 69 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
bool Barotrauma.VisualSlot.MouseOn | ( | ) |
Definition at line 78 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
void Barotrauma.VisualSlot.MoveBorderHighlight | ( | VisualSlot | newSlot | ) |
Moves the current border highlight animation (if one is running) to the new slot
Definition at line 128 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
void Barotrauma.VisualSlot.ShowBorderHighlight | ( | Color | color, |
float | fadeInDuration, | ||
float | fadeOutDuration, | ||
float | scaleUpAmount = 0.5f |
||
) |
Definition at line 85 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
Color Barotrauma.VisualSlot.Color |
Definition at line 24 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
bool Barotrauma.VisualSlot.Disabled |
Definition at line 18 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
Vector2 Barotrauma.VisualSlot.DrawOffset |
Definition at line 22 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
GUIComponent.ComponentState Barotrauma.VisualSlot.EquipButtonState |
Definition at line 50 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
Color Barotrauma.VisualSlot.HighlightColor |
Definition at line 26 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
float Barotrauma.VisualSlot.HighlightScaleUpAmount |
Definition at line 27 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
float Barotrauma.VisualSlot.HighlightTimer |
Definition at line 29 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
Rectangle Barotrauma.VisualSlot.InteractRect |
Definition at line 16 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
int Barotrauma.VisualSlot.InventoryKeyIndex = -1 |
Definition at line 33 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
bool Barotrauma.VisualSlot.IsMoving = false |
Definition at line 47 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
LocalizedString Barotrauma.VisualSlot.QuickUseButtonToolTip |
Definition at line 46 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
float Barotrauma.VisualSlot.QuickUseTimer |
Definition at line 45 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
Rectangle Barotrauma.VisualSlot.Rect |
Definition at line 14 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
Sprite Barotrauma.VisualSlot.SlotSprite |
Definition at line 31 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
GUIComponent.ComponentState Barotrauma.VisualSlot.State |
Definition at line 20 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
int Barotrauma.VisualSlot.SubInventoryDir = -1 |
Definition at line 35 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
|
get |
Definition at line 51 of file BarotraumaClient/ClientSource/Items/Inventory.cs.
|
get |
Definition at line 37 of file BarotraumaClient/ClientSource/Items/Inventory.cs.