30 lines
784 B
C++
Executable file
30 lines
784 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/NoExportTypes.h"
|
|
#include "Engine/EngineTypes.h"
|
|
#include "CarriableItem.h"
|
|
#include "ResourcePouch.generated.h"
|
|
|
|
class AActor;
|
|
class UCarriableInstantUsable;
|
|
class USoundCue;
|
|
|
|
UCLASS(Blueprintable)
|
|
class AResourcePouch : public ACarriableItem {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
|
|
UCarriableInstantUsable* Usable;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
USoundCue* ImpactGroundSound;
|
|
|
|
public:
|
|
AResourcePouch();
|
|
protected:
|
|
UFUNCTION(BlueprintCallable)
|
|
void ActorWasHit(AActor* SelfActor, AActor* OtherActor, FVector NormalImpulse, const FHitResult& Hit);
|
|
|
|
};
|
|
|