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

39 lines
1.2 KiB
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "RessuplyPod.h"
#include "PipelineExtractorPod.generated.h"
class APipelineSegment;
class APlayerCharacter;
UCLASS(Abstract, Blueprintable)
class FSD_API APipelineExtractorPod : public ARessuplyPod {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, ReplicatedUsing=OnRep_ConnectedSegment, meta=(AllowPrivateAccess=true))
TWeakObjectPtr<APipelineSegment> ConnectedSegment;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Replicated, meta=(AllowPrivateAccess=true))
float TargetRotation;
public:
APipelineExtractorPod();
virtual void GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const override;
UFUNCTION(BlueprintCallable, Reliable, Server)
void SetTargetRotation(APipelineSegment* InPipelineSegment);
protected:
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void ReceiveConnectedToSegment(APipelineSegment* InConnectedSegment);
UFUNCTION(BlueprintCallable)
void OnRep_ConnectedSegment();
public:
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void ExtractorPodOrderedEvent(APlayerCharacter* InUser);
};