WatcherNotificationKind

Namespace: Bang.Contexts
Assembly: Bang.dll

public sealed enum WatcherNotificationKind : Enum, IComparable, ISpanFormattable, IFormattable, IConvertible

When a system is watching for a component, this is the kind of notification currently fired. The order of the enumerator dictates the order that these will be called on the watcher systems.

Implements: Enum, IComparable, ISpanFormattable, IFormattable, IConvertible

⭐ Properties

Added

public static const WatcherNotificationKind Added;

Component has been added. It is not called if the entity is dead.

Returns
WatcherNotificationKind

Disabled

public static const WatcherNotificationKind Disabled;

Entity has been disabled, hence all its components.

Returns
WatcherNotificationKind

Enabled

public static const WatcherNotificationKind Enabled;

Entity has been enabled, hence all its components. Called if an entity was previously disabled.

Returns
WatcherNotificationKind

Modified

public static const WatcherNotificationKind Modified;

Component was modified. It is not called if the entity is dead.

Returns
WatcherNotificationKind

Removed

public static const WatcherNotificationKind Removed;

Component was removed.

Returns
WatcherNotificationKind