IOnlineLeaderboards::WriteOnlinePlayerRatings

Writes the score data for the match, used for rankings/ratings

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineLeaderboardInterface.h"

Syntax

bool WriteOnlinePlayerRatings
(
    const FName & SessionName,
    int32 LeaderboardId,
    const TArray< FOnlinePlayerScore > & PlayerScores
)

Remarks

Writes the score data for the match, used for rankings/ratings

Returns

true if the call is successful, false otherwise

Parameters

Parameter

Description

SessionName

the name of the session to write scores for

LeaderboardId

the leaderboard to write the score information to

PlayerScores

the list of players, teams, and scores they earned

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