Show / Hide Table of Contents

Class InteractInventorySlotEvent

Raised when a player attempts to activate an item in an inventory slot or hand slot

Inheritance
System.Object
InteractInventorySlotEvent
Namespace: Content.Shared.Interaction
Assembly: Content.Shared.dll
Syntax
public sealed class InteractInventorySlotEvent : EntityEventArgs

Constructors

| Improve this Doc View Source

InteractInventorySlotEvent(NetEntity, Boolean)

Declaration
public InteractInventorySlotEvent(NetEntity itemUid, bool altInteract = false)
Parameters
Type Name Description
NetEntity itemUid
System.Boolean altInteract

Properties

| Improve this Doc View Source

AltInteract

Whether the interaction used the alt-modifier to trigger alternative interactions.

Declaration
public bool AltInteract { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ItemUid

Entity that was interacted with.

Declaration
public NetEntity ItemUid { get; }
Property Value
Type Description
NetEntity
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾