23 lines
672 B
C++
Executable file
23 lines
672 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "ObjectInfoComponent.h"
|
|
#include "PlayerInfoComponent.generated.h"
|
|
|
|
class APlayerCharacter;
|
|
class UDialogDataAsset;
|
|
|
|
UCLASS(Blueprintable, ClassGroup=Custom, meta=(BlueprintSpawnableComponent))
|
|
class FSD_API UPlayerInfoComponent : public UObjectInfoComponent {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TSoftObjectPtr<UDialogDataAsset> LookAtShout;
|
|
|
|
UPROPERTY(BlueprintReadWrite, DuplicateTransient, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
APlayerCharacter* Character;
|
|
|
|
public:
|
|
UPlayerInfoComponent();
|
|
};
|
|
|