IOnlineStats::QueryStats

Query a one or more user's stats

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineStatsInterface.h"

Syntax

void QueryStats
(
    const FUniqueNetIdRef LocalUserId,
    const TArray< FUniqueNetIdRef > & StatUsers,
    const TArray< FString > & StatNames,
    const FOnlineStatsQueryUsersStatsComplete & Delegate
)

Remarks

Query a one or more user's stats

Parameters

Parameter

Description

LocalUserId

User to query as (if applicable)

StatsUser

Users to get stats for

StatNames

Stats to get stats for all specified users

Delegate

Called when the user's stats have finished being requested and are now available, or when we fail to retrieve the user's stats

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