DRG-Femboy-Voice/Source/FSD/Public/MissionNameBank.h
2025-04-15 12:39:31 -07:00

24 lines
665 B
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "Engine/DataAsset.h"
#include "MissionNameBank.generated.h"
UCLASS(Blueprintable)
class UMissionNameBank : public UDataAsset {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TArray<FText> FirstNames;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TArray<FText> LastNames;
public:
UMissionNameBank();
UFUNCTION(BlueprintCallable, BlueprintPure)
TArray<FText> GetRandomGeneratedNames(UPARAM(Ref) FRandomStream& Random, int32 Count) const;
};