4#include "CoreMinimal.h"
5#include "UObject/ObjectMacros.h"
6#include "UObject/Interface.h"
8#include "DlgDialogueParticipant.generated.h"
13UINTERFACE(BlueprintType, Blueprintable)
16 GENERATED_UINTERFACE_BODY()
18inline UDlgDialogueParticipant::UDlgDialogueParticipant(
const FObjectInitializer& ObjectInitializer) {}
25 GENERATED_IINTERFACE_BODY()
32 FName GetParticipantName() const;
35 FText GetParticipantDisplayName(FName ActiveSpeaker) const;
39 ETextGender GetParticipantGender() const;
48 UTexture2D* GetParticipantIcon(FName ActiveSpeaker, FName ActiveSpeakerState) const;
56 bool CheckCondition(const
UDlgContext* Context, FName ConditionName) const;
60 float GetFloatValue(FName ValueName) const;
64 int32 GetIntValue(FName ValueName) const;
68 bool GetBoolValue(FName ValueName) const;
72 FName GetNameValue(FName ValueName) const;
81 bool OnDialogueEvent(
UDlgContext* Context, FName EventName);
87 bool ModifyFloatValue(FName ValueName,
bool bDelta,
float Value);
93 bool ModifyIntValue(FName ValueName,
bool bDelta, int32 Value);
98 bool ModifyBoolValue(FName ValueName,
bool bNewValue);
103 bool ModifyNameValue(FName ValueName, FName
NameValue);
float GetFloatValue(FName ValueName) const
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant|Condition")
bool ModifyBoolValue(FName ValueName, bool bNewValue)
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant|Event")
GENERATED_IINTERFACE_BODY()
UTexture2D * GetParticipantIcon(FName ActiveSpeaker, FName ActiveSpeakerState) const
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant")
bool ModifyNameValue(FName ValueName, FName NameValue)
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant|Event")
FName GetParticipantName() const
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant")
FName GetNameValue(FName ValueName) const
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant|Condition")
bool GetBoolValue(FName ValueName) const
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant|Condition")
bool ModifyIntValue(FName ValueName, bool bDelta, int32 Value)
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant|Event")
bool OnDialogueEvent(UDlgContext *Context, FName EventName)
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant|Event")
bool CheckCondition(const UDlgContext *Context, FName ConditionName) const
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant|Condition")
int32 GetIntValue(FName ValueName) const
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant|Condition")
ETextGender GetParticipantGender() const
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant")
bool ModifyFloatValue(FName ValueName, bool bDelta, float Value)
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant|Event")
FText GetParticipantDisplayName(FName ActiveSpeaker) const
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Dialogue|Participant")
UINTERFACE(BlueprintType, Blueprintable)
GENERATED_UINTERFACE_BODY()