EOS_P2P_AddNotifyPeerConnectionInterruptedOptions

EOS API reference page for EOS_P2P_AddNotifyPeerConnectionInterruptedOptions

阅读时间少于1分钟

This data structure is part of the P2P Interface.

Remarks

Structure containing information about who would like notifications about interrupted connections, and for which socket.

Properties

EOS_P2P_AddNotifyPeerConnectionInterruptedOptions

PropertyValue
int32_t ApiVersionAPI Version: Set this to EOS_P2P_ADDNOTIFYPEERCONNECTIONINTERRUPTED_API_LATEST.
EOS_ProductUserId LocalUserIdThe Product User ID of the local user who would like notifications
const EOS_P2P_SocketId* SocketIdAn optional socket ID to filter interrupted connections on. If NULL, this function handler will be called for all interrupted connections