This function is part of the UI Interface.
Remarks
Requests that the Social Overlay open and display the "Report User" flow for the specified user.
Return Value
-
EOS_Success If the overlay has been notified about the request.
-
EOS_IncompatibleVersion if the API version passed in is incorrect.
-
EOS_InvalidParameters If any of the options are incorrect.
-
EOS_ApplicationSuspended If the application is suspended.
-
EOS_NetworkDisconnected If the network is disconnected.
Parameters
EOS_UI_ShowReportPlayer
Parameter Type And Name | Usage Information |
---|---|
EOS_HUI Handle | |
const EOS_UI_ShowReportPlayerOptions* Options | |
void* ClientData | Arbitrary data that is passed back to you in the NotificationFn. |
const EOS_UI_OnShowReportPlayerCallback CompletionDelegate |
Callback Function Information
Because this function is asynchronous, it employs a callback of type EOS_UI_OnShowReportPlayerCallback to report the results of its operation. See the EOS_UI_OnShowReportPlayerCallbackInfo page for more details, or check the [Callback Data] section below.
Callback Remarks
Function prototype definition for callbacks passed to EOS_UI_ShowReportPlayer
Callback Parameters
EOS_UI_OnShowReportPlayerCallback
Parameter Type And Name | Usage Information |
---|---|
const EOS_UI_OnShowReportPlayerCallbackInfo* Data | A EOS_UI_OnShowReportPlayerCallbackInfo containing the output information and result |
Callback Data
The EOS SDK passes the following data structure to the callback function:
EOS_UI_OnShowReportPlayerCallbackInfo
Property | Value |
---|---|
EOS_EResult ResultCode | The EOS_EResult code for the operation. EOS_Success indicates that the operation succeeded; other codes indicate errors. |
void* ClientData | Context that was passed into EOS_UI_ShowReportPlayer |
EOS_EpicAccountId LocalUserId | The Epic Online Services Account ID of the user who requested the Report. |
EOS_EpicAccountId TargetUserId | The Epic Online Services Account ID of the user who was to be Reported. |
For more information, see the EOS_UI_OnShowReportPlayerCallbackInfo page.