betidestudio / EOSIntegrationKit

EIK (Epic Online Services Integration Kit) is a plugin that enables seamless integration between Epic Online Services (EOS) and Unreal Engine. The plugin provides access to the EOS SDK (Software Development Kit) within Unreal Engine, allowing developers to easily implement features such as matchmaking, achievements, leaderboards, and more.
https://betide.studio/
MIT License
248 stars 34 forks source link

Add Player Behavior Reporting #16

Closed Chippy4 closed 6 months ago

Chippy4 commented 7 months ago

This pull request introduces player behavior reporting functionality in the EOS integration kit. The key changes are as follows:

OnlineSubsystemEOS.h: Added ReportsHandle to the FOnlineSubsystemEOS class to store the handle for player behavior reporting.

OnlineSubsystemEOS.cpp: Set the ReportsHandle.

EIK_SendReport_AsyncFunction: Created a new asynchronous function to send player behavior reports. This function takes the local and target player IDs, the report category, and an optional message. The SendReport function invokes the EOS SDK to send the report. Additionally, a callback function is implemented to handle the result of the reporting operation.