IOnlineGameItemStats::ItemUsage

Updates items used and by who

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineGameItemStatsInterface.h"

Syntax

void ItemUsage
(
    const FUniqueNetId & LocalUserId,
    const FString & ItemUsedBy,
    const TArray< FString > & ItemsUsed,
    FOnItemUsageComplete CompletionDelegate
)

Remarks

Updates items used and by who

Parameters

Parameter

Description

LocalUserId

Id of the player to report the game stat for

ItemUsedBy

Who the item was used by. This can be LocalUserId, another actor, or blank if no actor used the item.

ItemsUsed

Array of item IDs that were used

CompletionDelegate

Item usage completion delegate called when ItemUsage call is complete

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