EventDispatcher

EventDispatcher

Thread-safe implementation of central event dispatcher

Project: GridPlacement v6.0
Layer: Godot
Source: Godot/Core/Common/EventDispatcher.cs
Namespace: GridBuilding.Core.Services
Kind: class

Parsing Method: AST-based (Roslyn) - NOT regex

⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.

Methods

Subscribe

Returns: void

Parameters:

  • Action<T> handler

Unsubscribe

Returns: void

Parameters:

  • Action<T> handler

Publish

Returns: void

Parameters:

  • T gameEvent

ClearAllSubscribers

Returns: void

GetActiveEventTypes

Returns: IEnumerable<Type>

GetSubscriberCount

Returns: int

Dispose

Disposes internal synchronization resources.

Returns: void