Skip to main content
Version: 2.x

Send Packet

Sends a packet to remote mesh peers.

  • Node type: Callable function. Has execution pins and runs when it is reached in the event graph.
  • Target: Odin Multiplayer Peer
  • Menu category: Odin › Multiplayer
  • C++: UOdinMultiplayerPeer::SendPacket

Inputs​

NameTypeDescription
TargetOdin Multiplayer PeerThe Odin Multiplayer Peer to call this function on.
DataArray of Bytepayload
ChannelIntegerapplication-defined channel, delivered to the receiver as is Default: 0.
ModeOdin Socket Kindreliable (ordered) or unreliable Default: Reliable.
Target Peer IdInteger640 sends to all connected peers, a positive id to that peer only and a negative id to all connected peers except -TargetPeerId Default: 0.

Outputs​

NameTypeDescription
Return ValueBooleantrue if the packet was queued for every addressed peer