Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces > API/Plugins/OnlineSubsystem/Interfaces/IOnlineLeaderboards
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineLeaderboardInterface.h |
| Include | #include "Interfaces/OnlineLeaderboardInterface.h" |
bool WriteLeaderboards
&40;
const FName & SessionName,
const FUniqueNetId & Player,
FOnlineLeaderboardWrite & WriteObject
&41;
Remarks
Writes out the stats contained within the stats write object to the online subsystem's cache of stats data. Note the new data replaces the old. Stats cannot be written without a session or the write request is ignored. No more than 5 stats views can be written to at a time or the write request is ignored. true if the call is successful, false otherwise
Parameters
| Name | Description |
|---|---|
| SessionName | the name of the session to write stats for |
| Player | the player to write stats for |
| WriteObject | the object containing the information to write |