IOnlineLeaderboards::WriteLeaderboards

Writes out the stats contained within the stats write object to the online subsystem's cache of stats data.

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineLeaderboardInterface.h

Include

#include "Interfaces/OnlineLeaderboardInterface.h"

Syntax

bool WriteLeaderboards
(
    const FName & SessionName,
    const FUniqueNetId & Player,
    FOnlineLeaderboardWrite & WriteObject
)

Remarks

Writes out the stats contained within the stats write object to the online subsystem's cache of stats data.

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.

Returns

true if the call is successful, false otherwise

Parameters

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss