mirror of
https://github.com/ApfelTeeSaft/UnrealEvent.git
synced 2026-08-27 03:43:40 +00:00
28 lines
852 B
C++
28 lines
852 B
C++
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "FortGameplayAttributeData.h"
|
|
#include "FortHealthSet.h"
|
|
#include "FortBuildingActorSet.generated.h"
|
|
|
|
UCLASS(Blueprintable)
|
|
class UFortBuildingActorSet : public UFortHealthSet {
|
|
GENERATED_BODY()
|
|
public:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, ReplicatedUsing=OnRep_BuildTime, meta=(AllowPrivateAccess=true))
|
|
FFortGameplayAttributeData BuildTime;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, ReplicatedUsing=OnRep_RepairTime, meta=(AllowPrivateAccess=true))
|
|
FFortGameplayAttributeData RepairTime;
|
|
|
|
UFortBuildingActorSet();
|
|
virtual void GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const override;
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
void OnRep_RepairTime();
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
void OnRep_BuildTime();
|
|
|
|
};
|
|
|