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

54 lines
1.7 KiB
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "Engine/DataAsset.h"
#include "DialogStruct.h"
#include "DialogDataAsset.generated.h"
class UObject;
class USoundSubmixBase;
UCLASS(Blueprintable)
class UDialogDataAsset : public UDataAsset {
GENERATED_BODY()
public:
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
bool Enabled;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
bool AudioOnly;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
bool SelectUsingWeight;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
float ShoutDelay;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
float ShoutCoolDown;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
float ShoutChance;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TArray<FDialogStruct> Entries;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TArray<USoundSubmixBase*> SubmixSends;
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
TArray<int32> Playlist;
public:
UDialogDataAsset();
UFUNCTION(BlueprintCallable, BlueprintPure, meta=(WorldContext="WorldContext"))
int32 SelectIndex(UObject* WorldContext);
UFUNCTION(BlueprintCallable, BlueprintPure, meta=(WorldContext="WorldContext"))
bool SelectEntry(UObject* WorldContext, FDialogStruct& Dialog);
UFUNCTION(BlueprintCallable, BlueprintPure)
FDialogStruct GetShout(int32 Index) const;
};