- Target
- Data
- Channel
- Mode
- Target Peer Id
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
| Name | Type | Description |
|---|
| Target | Odin Multiplayer Peer | The Odin Multiplayer Peer to call this function on. |
| Data | Array of Byte | payload |
| Channel | Integer | application-defined channel, delivered to the receiver as is Default: 0. |
| Mode | Odin Socket Kind | reliable (ordered) or unreliable Default: Reliable. |
| Target Peer Id | Integer64 | 0 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
| Name | Type | Description |
|---|
| Return Value | Boolean | true if the packet was queued for every addressed peer |