Class VisualsChangedEvent
Raised when an item's visual state is changed. The event is directed at the entity that contains this item, so that it can properly update its hands or inventory sprites and GUI.
Inheritance
System.Object
VisualsChangedEvent
Namespace: Content.Shared.Item
Assembly: Content.Shared.dll
Syntax
public sealed class VisualsChangedEvent : EntityEventArgs
Constructors
| Improve this Doc View SourceVisualsChangedEvent(NetEntity, String)
Declaration
public VisualsChangedEvent(NetEntity item, string containerId)
Parameters
Type | Name | Description |
---|---|---|
NetEntity | item | |
System.String | containerId |
Fields
| Improve this Doc View SourceContainerId
Declaration
public readonly string ContainerId
Field Value
Type | Description |
---|---|
System.String |
Item
Declaration
public readonly NetEntity Item
Field Value
Type | Description |
---|---|
NetEntity |