Class SlotControl
Inheritance
System.Object
Robust.Client.UserInterface.Control
SlotControl
Assembly: Content.Client.dll
Syntax
public abstract class SlotControl : Control, IEntityControl
Constructors
|
Improve this Doc
View Source
SlotControl()
Declaration
Fields
|
Improve this Doc
View Source
DefaultButtonSize
Declaration
public static int DefaultButtonSize
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MouseIsHovering
Declaration
public bool MouseIsHovering
Field Value
Type |
Description |
System.Boolean |
|
Properties
|
Improve this Doc
View Source
Blocked
Declaration
public bool Blocked { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
BlockedRect
Declaration
public TextureRect BlockedRect { get; }
Property Value
Type |
Description |
Robust.Client.UserInterface.Controls.TextureRect |
|
|
Improve this Doc
View Source
BlockedTexturePath
Declaration
public string? BlockedTexturePath { get; set; }
Property Value
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
ButtonRect
Declaration
public TextureRect ButtonRect { get; }
Property Value
Type |
Description |
Robust.Client.UserInterface.Controls.TextureRect |
|
|
Improve this Doc
View Source
ButtonTexturePath
Declaration
public string? ButtonTexturePath { get; set; }
Property Value
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
CooldownDisplay
Declaration
public CooldownGraphic CooldownDisplay { get; }
Property Value
|
Improve this Doc
View Source
Entity
Declaration
public EntityUid? Entity { get; }
Property Value
Type |
Description |
System.Nullable<EntityUid> |
|
|
Improve this Doc
View Source
EntityHover
Declaration
public bool EntityHover { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Highlight
Declaration
public bool Highlight { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HighlightRect
Declaration
public TextureRect HighlightRect { get; }
Property Value
Type |
Description |
Robust.Client.UserInterface.Controls.TextureRect |
|
|
Improve this Doc
View Source
HighlightTexturePath
Declaration
public string? HighlightTexturePath { get; set; }
Property Value
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
HoverSpriteView
Declaration
public SpriteView HoverSpriteView { get; }
Property Value
Type |
Description |
Robust.Client.UserInterface.Controls.SpriteView |
|
|
Improve this Doc
View Source
SlotName
Declaration
public string SlotName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SpriteView
Declaration
public SpriteView SpriteView { get; }
Property Value
Type |
Description |
Robust.Client.UserInterface.Controls.SpriteView |
|
|
Improve this Doc
View Source
StorageButton
Declaration
public TextureButton StorageButton { get; }
Property Value
Type |
Description |
Robust.Client.UserInterface.Controls.TextureButton |
|
|
Improve this Doc
View Source
StorageTexturePath
Declaration
public string? StorageTexturePath { get; set; }
Property Value
Type |
Description |
System.Nullable<System.String> |
|
Methods
|
Improve this Doc
View Source
ClearHover()
Declaration
|
Improve this Doc
View Source
OnThemeUpdated()
Declaration
protected override void OnThemeUpdated()
Overrides
Robust.Client.UserInterface.Control.OnThemeUpdated()
Events
|
Improve this Doc
View Source
Hover
Declaration
public event Action<GUIMouseHoverEventArgs, SlotControl>? Hover
Event Type
Type |
Description |
System.Nullable<Action<Robust.Client.UserInterface.GUIMouseHoverEventArgs, SlotControl>> |
|
|
Improve this Doc
View Source
Pressed
Declaration
public event Action<GUIBoundKeyEventArgs, SlotControl>? Pressed
Event Type
Type |
Description |
System.Nullable<Action<Robust.Client.UserInterface.GUIBoundKeyEventArgs, SlotControl>> |
|
|
Improve this Doc
View Source
StoragePressed
Declaration
public event Action<GUIBoundKeyEventArgs, SlotControl>? StoragePressed
Event Type
Type |
Description |
System.Nullable<Action<Robust.Client.UserInterface.GUIBoundKeyEventArgs, SlotControl>> |
|
|
Improve this Doc
View Source
Unpressed
Declaration
public event Action<GUIBoundKeyEventArgs, SlotControl>? Unpressed
Event Type
Type |
Description |
System.Nullable<Action<Robust.Client.UserInterface.GUIBoundKeyEventArgs, SlotControl>> |
|
Explicit Interface Implementations
|
Improve this Doc
View Source
IEntityControl.UiEntity
Declaration
EntityUid? IEntityControl.UiEntity { get; }
Returns
Type |
Description |
System.Nullable<EntityUid> |
|
Implements
Extension Methods