Space Plunder
Loading...
Searching...
No Matches
InventoryWidget.h
Go to the documentation of this file.
1
// Fill out your copyright notice in the Description page of Project Settings.
2
3
#pragma once
4
5
#include "CoreMinimal.h"
6
#include "
Interfaces/InventoryHUD.h
"
7
#include "
Widgets/BaseActivatableWidget.h
"
8
#include "InventoryWidget.generated.h"
9
13
UCLASS
()
14
class INTERACTION_API
UInventoryWidget
: public
UBaseActivatableWidget
, public
IInventoryHUD
15
{
16
GENERATED_BODY()
17
18
public
:
19
20
virtual
void
UpdateInventory(
const
TArray<FPickupItemData>& UpdatedInventory)
override
;
21
22
protected
:
23
24
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category=
"Inventory"
)
25
TArray<
FPickupItemData
> Inventory;
26
};
BaseActivatableWidget.h
UCLASS
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition
ChatSystemComponent.h:13
InventoryHUD.h
IInventoryHUD
Definition
InventoryHUD.h:21
UBaseActivatableWidget
Definition
BaseActivatableWidget.h:17
UInventoryWidget
Definition
InventoryWidget.h:15
FPickupItemData
Definition
InteractionData.h:127
SpaceAdventure
Plugins
Interaction
Source
Interaction
Public
Widgets
Inventory
InventoryWidget.h
Generated by
1.10.0