How imnazake/gameplaymessagerouter works
Gameplay Message Router is an Unreal Engine plugin for typed, gameplay-tag-channel messaging between otherwise unconnected gameplay objects. A sender broadcasts a struct payload through the game-instance subsystem; the router matches listeners by exact or partial channel and dispatches callbacks. Receivers can register directly or use a Blueprint async action, which exposes the received channel and payload. The README also documents a Blueprint Broadcast Message node. Edges reflect the sampled implementation or explicit README workflow; the editor-node relationship to the async action is shown in its source.
Main entry points: GameplayMessageSubsystem.cpp Message Subsystem · AsyncAction_ListenForGameplayMessage.cpp Async Listener Action · GameplayMessageTypes.h Channels and Payload Types · K2Node_AsyncAction_ListenForGameplayMessages.cpp Blueprint Listen Node
Components 9
Message Routing
- Message Subsystem
Source/GameplayMessageRuntime/Private/GameFramework/GameplayMessageSubsystem.cpp - Channels and Payload Types
Source/GameplayMessageRuntime/Public/GameFramework/GameplayMessageTypes.h - Listener API
Source/GameplayMessageRuntime/Public/GameFramework/GameplayMessageSubsystem.h
Async Listening
- Async Listener Action
Source/GameplayMessageRuntime/Private/GameFramework/AsyncAction_ListenForGameplayMessage.cpp - Async Listener API
Source/GameplayMessageRuntime/Public/GameFramework/AsyncAction_ListenForGameplayMessage.h
Blueprint Integration
- Blueprint Listen Node
Source/GameplayMessageNodes/Private/K2Node_AsyncAction_ListenForGameplayMessages.cpp
Other components
- Gameplay Sender
- Gameplay Receiver
- Blueprint Sender
Connections 7
- Gameplay Sender → Message Subsystem: broadcasts
README.md - Message Subsystem → Gameplay Receiver: dispatches
Source/GameplayMessageRuntime/Private/GameFramework/GameplayMessageSubsystem.cpp - Channels and Payload Types → Listener API: defines listener options
Source/GameplayMessageRuntime/Public/GameFramework/GameplayMessageSubsystem.h - Async Listener Action → Message Subsystem: registers listener
Source/GameplayMessageRuntime/Private/GameFramework/AsyncAction_ListenForGameplayMessage.cpp - Async Listener Action → Gameplay Receiver: emits received message
Source/GameplayMessageRuntime/Private/GameFramework/AsyncAction_ListenForGameplayMessage.cpp - Blueprint Listen Node → Async Listener API: uses async action
Source/GameplayMessageNodes/Private/K2Node_AsyncAction_ListenForGameplayMessages.cpp - Blueprint Sender → Message Subsystem: broadcasts
README.md