// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "Containers/Map.h" #include "GameplayTagContainer.h" #include "HAL/Platform.h" #include "Inventory/LyraInventoryItemDefinition.h" #include "UObject/UObjectGlobals.h" #include "InventoryFragment_SetStats.generated.h" class ULyraInventoryItemInstance; class UObject; struct FGameplayTag; UCLASS() class UInventoryFragment_SetStats : public ULyraInventoryItemFragment { GENERATED_BODY() protected: UPROPERTY(EditDefaultsOnly, Category=Equipment) TMap InitialItemStats; public: virtual void OnInstanceCreated(ULyraInventoryItemInstance* Instance) const override; int32 GetItemStatByTag(FGameplayTag Tag) const; };