EOS_P2P_ReceivePacketOptions

EOS API reference page for EOS_P2P_ReceivePacketOptions

1분 소요

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

PropertyValue
int32_t ApiVersionAPI Version: Set this to EOS_P2P_RECEIVEPACKET_API_LATEST.
EOS_ProductUserId LocalUserIdThe Product User ID of the user who is receiving the packet
uint32_t MaxDataSizeBytesThe maximum amount of data in bytes that can be safely copied to OutData in the function call
const uint8_t* RequestedChannelAn optional channel to request the data for. If NULL, we're retrieving the next packet on any channel