28 lines
742 B
C++
Executable file
28 lines
742 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "Item.h"
|
|
#include "ItemLoadoutAnimations.h"
|
|
#include "Templates/SubclassOf.h"
|
|
#include "LoadoutItemProxy.generated.h"
|
|
|
|
class AActor;
|
|
class UItemCharacterAnimationSet;
|
|
|
|
UCLASS(Blueprintable)
|
|
class ALoadoutItemProxy : public AItem {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
UItemCharacterAnimationSet* AnimationSet;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FItemLoadoutAnimations LoadoutAnimations;
|
|
|
|
public:
|
|
ALoadoutItemProxy();
|
|
UFUNCTION(BlueprintCallable)
|
|
static TSubclassOf<AItem> GetLoadoutItemFromClass(TSubclassOf<AActor> ActorClass);
|
|
|
|
};
|
|
|