Show / Hide Table of Contents

Class HeldVisualsUpdatedEvent

Raised directed at an item after its visuals have been updated.

Inheritance
System.Object
HeldVisualsUpdatedEvent
Namespace: Content.Shared.Hands
Assembly: Content.Shared.dll
Syntax
public sealed class HeldVisualsUpdatedEvent : EntityEventArgs
Remarks

Useful for systems/components that modify the visual layers that an item adds to a player. (e.g. RGB memes)

Constructors

| Improve this Doc View Source

HeldVisualsUpdatedEvent(EntityUid, HashSet<String>)

Declaration
public HeldVisualsUpdatedEvent(EntityUid user, HashSet<string> revealedLayers)
Parameters
Type Name Description
EntityUid user
HashSet<System.String> revealedLayers

Fields

| Improve this Doc View Source

RevealedLayers

The layers that this item is now revealing.

Declaration
public HashSet<string> RevealedLayers
Field Value
Type Description
HashSet<System.String>
| Improve this Doc View Source

User

Entity that is holding the item.

Declaration
public readonly EntityUid User
Field Value
Type Description
EntityUid
  • Improve this Doc
  • View Source
☀
☾
In This Article
  • Constructors
    • HeldVisualsUpdatedEvent(EntityUid, HashSet<String>)
  • Fields
    • RevealedLayers
    • User
Back to top
Generated by DocFX
☀
☾