IOnlineGameItemStats::ItemInventoryChange

Updates the lists of available and unavailable items in the player's inventory

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineGameItemStatsInterface.h"

Syntax

void ItemInventoryChange
(
    const FUniqueNetId & LocalUserId,
    const TArray< FString > & ItemsToAdd,
    const TArray< FString > & ItemsToRemove,
    FOnItemInventoryChangeComplete CompletionDelegate
)

Remarks

Updates the lists of available and unavailable items in the player's inventory

Parameters

Parameter

Description

LocalUserId

User Id of the player using the item

ItemsToAdd

Array of available items

ItemsToRemove

Array of unavailable items

CompletionDelegate

Item inventory change completion delegate called when ItemInventoryChange 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