Files
Promether/Source/Promether/MyActor.h
2023-09-25 23:01:30 +09:00

31 lines
719 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "PrometherEnum.h"
#include "MyActor.generated.h"
UCLASS()
class PROMETHER_API AMyActor : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AMyActor();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
void GetLifetimeReplicatedProps(TArray< FLifetimeProperty >& OutLifetimeProps) const override;
UPROPERTY(Replicated, EditAnywhere, BlueprintReadWrite)
FDefaultStats example;
};