Skip to main content
Version: 2.x

On Packet Received

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)

Inputs (Bind Event node)​

NameTypeDescription
TargetOdin Multiplayer PeerThe Odin Multiplayer Peer that raises the event.
EventEventThe custom event (or function) to call when the event is raised. Its signature must match the outputs below.

Outputs (event parameters)​

NameTypeDescription
ExecExecFires when the event is raised.
Peer IdInteger64
ChannelInteger
ModeOdin Socket Kind
DataArray of Byte