vampires/Source/vampires/ObjectPoolComponent.h
2025-02-05 23:12:03 +00:00

22 lines
417 B
C++

// Louis Hobbs | 2024-2025
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "ObjectPoolComponent.generated.h"
DECLARE_DELEGATE(FOnRetrieve)
DECLARE_DELEGATE(FOnReturn)
UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
class VAMPIRES_API UObjectPoolComponent : public UActorComponent
{
GENERATED_BODY()
public:
FOnRetrieve OnRetrieve;
FOnReturn OnReturn;
};