DRG-Femboy-Voice/Source/FSD/Public/CalldownItem.h
2025-04-15 12:39:31 -07:00

52 lines
1.6 KiB
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "AnimatedItem.h"
#include "Templates/SubclassOf.h"
#include "CalldownItem.generated.h"
class AActor;
class ARessuplyPod;
class UItemPlacerAggregator;
class UResourceData;
UCLASS(Blueprintable)
class ACalldownItem : public AAnimatedItem {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TSubclassOf<UItemPlacerAggregator> ItemPlacerClass;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TSubclassOf<ARessuplyPod> SupplyPodClass;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
UResourceData* ResouceRequired;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
FText OrderDescription;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
FText LogText;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TSubclassOf<AActor> ResupplyBeacon;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, Transient, meta=(AllowPrivateAccess=true))
UItemPlacerAggregator* ItemPlacerInstance;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
float CoolDown;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
float CooldownRemaining;
public:
ACalldownItem();
protected:
UFUNCTION(BlueprintCallable, Reliable, Server)
void Server_Call_Resupply(const FVector& Location);
};