8#include "CoreMinimal.h"
9#include "UObject/Interface.h"
11#include "ActorInformation.generated.h"
31 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category =
"ActorID")
32 FString GetActorID() const;
37 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "ActorID")
38 FString GetActorName() const;
43 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "ActorID")
44 FString GetActorInformation() const;
49 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "ActorID")
50 void SetActorName(const FString& NewActorName);
55 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "ActorID")
56 void SetActorIDAndName(const FString& NewActorName, const FString& NewID);
65 static
void SetAndValidateActorIDAndName(FString& ActorName, FString& ActorID, TWeakObjectPtr<AActor> Actor);
72 static
bool DestroyActorByID(const FString& ID);
79 static AActor* GetActorByID(const FString& ID);
87 static TArray<T*> GetActorsWithInterface();
92 static
void PrintAllIds();
99 static void ClearTMapEditor();
107 static FString ValidateID(
const FString& ActorID, TWeakObjectPtr<AActor> Actor);
112 static FString GenerateUniqueID();