Skip to main content
Version: 2.x

On Peer Disconnected

A remote peer was unlinked, because it left the room, the room lost its connection, DisconnectPeer or Close was called. Every connected peer is reported as disconnected exactly once.

  • Node type: Event dispatcher. Bind a custom event to it with Bind Event to On Peer Disconnected (or Assign On Peer Disconnected) on the target.
  • Target: Odin Multiplayer Peer
  • Menu category: Odin › Multiplayer › Events
  • C++: UOdinMultiplayerPeer::OnPeerDisconnected (FOdinMultiplayerPeerDelegate)

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