A packet from a remote mesh peer arrived. Mode is the kind of socket it was sent on.
- Node type: Event dispatcher. Bind a custom event to it with Bind Event to On Packet Received (or Assign On Packet Received) on the target.
- Target: Odin Multiplayer Peer
- Menu category: Odin › Multiplayer › Events
- C++:
UOdinMultiplayerPeer::OnPacketReceived (FOdinMultiplayerPacketReceivedDelegate)
| Name | Type | Description |
|---|
| Target | Odin Multiplayer Peer | The Odin Multiplayer Peer that raises the event. |
| Event | Event | The custom event (or function) to call when the event is raised. Its signature must match the outputs below. |
Outputs (event parameters)
| Name | Type | Description |
|---|
| Exec | Exec | Fires when the event is raised. |
| Peer Id | Integer64 | |
| Channel | Integer | |
| Mode | Odin Socket Kind | |
| Data | Array of Byte | |