mirror of
https://github.com/ApfelTeeSaft/UnrealEvent.git
synced 2026-08-27 03:43:40 +00:00
41 lines
1.1 KiB
C++
41 lines
1.1 KiB
C++
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "CustomCosmeticModifierBase.h"
|
|
#include "CustomItemWrapModifier.generated.h"
|
|
|
|
class AFortAthenaVehicle;
|
|
class AFortPlayerPawn;
|
|
class AFortWeapon;
|
|
class UMeshComponent;
|
|
|
|
UCLASS(Abstract, Blueprintable, MinimalAPI)
|
|
class ACustomItemWrapModifier : public ACustomCosmeticModifierBase {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
TWeakObjectPtr<AFortAthenaVehicle> VehiclePtr;
|
|
|
|
UPROPERTY(EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
TWeakObjectPtr<AFortWeapon> WeaponPtr;
|
|
|
|
public:
|
|
ACustomItemWrapModifier();
|
|
UFUNCTION(BlueprintCallable, BlueprintCosmetic, BlueprintImplementableEvent)
|
|
void PreDestruction();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
UMeshComponent* GetWrappedMeshComponent() const;
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
AFortWeapon* GetWeapon() const;
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
AFortAthenaVehicle* GetVehicle() const;
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
AFortPlayerPawn* GetAssociatedPlayerPawn() const;
|
|
|
|
};
|
|
|