EventAttribute¶
Namespace:
SideXP.Broadcaster| Inherits from:Attribute
Optional metadata for an IEvent type, consumed by tooling (the editor windows and the monitor).
Constructors¶
EventAttribute()¶
Optional metadata for an IEvent type, consumed by tooling (the editor windows and the monitor).
EventAttribute(string)¶
Optional metadata for an IEvent type, consumed by tooling (the editor windows and the monitor).
Parameters
description
Properties¶
Name¶
The name the Events window shows for this event instead of the C# type name. Supports /-separated paths.
Description¶
Human-readable description of the event, surfaced in the Events window and the monitor.
OmitSnapshot¶
When true, the monitor captures only this event's type name, not its field/property values. Set it on events whose payload is sensitive, huge, or expensive to stringify. Off by default (the full payload is captured).
Hidden¶
When true, the Events window leaves this event out of its catalog by default.