EOS_P2P_ReceivePacketOptions

EOS API reference page for EOS_P2P_ReceivePacketOptions

This data structure is part of the P2P Interface.

Remarks

Structure containing information about who would like to receive a packet, and how much data can be stored safely.

Properties

EOS_P2P_ReceivePacketOptions

Property

Value

int32_t ApiVersion

API Version: Set this to EOS_P2P_RECEIVEPACKET_API_LATEST.

EOS_ProductUserId LocalUserId

The Product User ID of the user who is receiving the packet

uint32_t MaxDataSizeBytes

The maximum amount of data in bytes that can be safely copied to OutData in the function call

const uint8_t* RequestedChannel

An optional channel to request the data for. If NULL, we're retrieving the next packet on any channel

Related API Members