File Subroutine.h
File List > Battle > Script > Subroutine.h
Go to the documentation of this file
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameplayTagContainer.h"
#include "NightSkyEngine/Battle/Misc/SerializableObj.h"
#include "UObject/Object.h"
#include "Subroutine.generated.h"
class ABattleObject;
UCLASS(BlueprintType, Blueprintable)
class USubroutine : public USerializableObj
{
GENERATED_BODY()
public:
UPROPERTY(BlueprintReadOnly)
ABattleObject* Parent;
UPROPERTY(BlueprintReadOnly, EditAnywhere)
FGameplayTag Name;
UFUNCTION(BlueprintNativeEvent)
void Exec();
};