32 lines
830 B
C++
Executable file
32 lines
830 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/NoExportTypes.h"
|
|
#include "GameFramework/Actor.h"
|
|
#include "Engine/EngineTypes.h"
|
|
#include "Skinnable.h"
|
|
#include "Magazine.generated.h"
|
|
|
|
class USkinEffect;
|
|
class USoundCue;
|
|
|
|
UCLASS(Blueprintable)
|
|
class AMagazine : public AActor, public ISkinnable {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
USoundCue* ImpactGroundSound;
|
|
|
|
public:
|
|
AMagazine();
|
|
protected:
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void OnItemSkinned(USkinEffect* Skin);
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
void ActorWasHit(AActor* SelfActor, AActor* OtherActor, FVector NormalImpulse, const FHitResult& Hit);
|
|
|
|
|
|
// Fix for true pure virtual functions not being implemented
|
|
};
|
|
|