Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineLeaderboardInterface.h |
| Include | #include "Interfaces/OnlineLeaderboardInterface.h" |
Syntax
class IOnlineLeaderboards
Remarks
Interface definition for the online services leaderboard services
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnLeaderboardFlushComplete | OnLeaderboardFlushCompleteDelegates | Delegate called when the stats flush operation has completed | |
| FOnLeaderboardReadComplete | OnLeaderboardReadCompleteDelegates | Notifies the interested party that the last stats read has completed |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | AddOnLeaderboardFlushCompleteDelegate_Handle
(
const FOnLeaderboardFlushCompleteDelegate& Delegate |
||
| FDelegateHandle | AddOnLeaderboardReadCompleteDelegate_Handle
(
const FOnLeaderboardReadCompleteDelegate& Delegate |
||
| void | |||
| void | ClearOnLeaderboardFlushCompleteDelegates
(
void* Object |
||
| void | |||
| void | ClearOnLeaderboardReadCompleteDelegates
(
void* Object |
||
| bool | FlushLeaderboards
(
const FName& SessionName |
Commits any changes in the online stats cache to the permanent storage | |
| void | FreeStats
(
FOnlineLeaderboardRead& ReadObject |
Cleans up any platform specific allocated data contained in the stats data | |
| bool | ReadLeaderboards
(
const TArray< FUniqueNetIdRef >& Players, |
Reads a set of stats for the specified list of players | |
| bool | ReadLeaderboardsAroundRank
(
int32 Rank, |
Reads stats for a given rank in the leaderboard, as well as a range of stats above and below that rank. | |
| bool | ReadLeaderboardsAroundUser
(
FUniqueNetIdRef Player, |
Reads stats for a given player in the leaderboard, as well as a range of stats above and below that user. | |
| bool | ReadLeaderboardsForFriends
(
int32 LocalUserNum, |
Reads a player's stats and all of that player's friends stats for the specified set of stat views. | |
| void | TriggerOnLeaderboardFlushCompleteDelegates
(
const FName& Param1, |
||
| void | TriggerOnLeaderboardReadCompleteDelegates
(
bool Param1 |
||
| bool | WriteLeaderboards
(
const FName& SessionName, |
Writes out the stats contained within the stats write object to the online subsystem's cache of stats data. | |
| bool | WriteOnlinePlayerRatings
(
const FName& SessionName, |
Writes the score data for the match, used for rankings/ratings |