15 FString::Printf(TEXT(
"%s::Call"), *ContextString),
25 TEXT(
"Custom Event is empty (not valid). Ignoring. Context:\n\t%s, Participant = %s"),
87 TEXT(
"%s - Event FAILED because the PARTICIPANT is INVALID. \nContext:\n\t%s, \n\tParticipantName = %s, EventType = %s, EventName = %s, CustomEvent = %s"),
94 TEXT(
"%s - Event WARNING because the PARTICIPANT is INVALID. The call will NOT FAIL, but the participant is not present. \nContext:\n\t%s, \n\tParticipantName = %s, EventType = %s, EventName = %s, CustomEvent = %s"),
105 FDlgHelper::ConvertEnumToString<EDlgEventType>(TEXT(
"EDlgEventType"), Type,
false, EnumValue);
EDlgEventType
UENUM(BlueprintType)
@ ModifyClassBoolVariable
@ ModifyClassFloatVariable
@ ModifyClassNameVariable
static FDlgLogger & Get()
void Warningf(const FmtType &Fmt, Types... Args)
void Errorf(const FmtType &Fmt, Types... Args)
FString GetContextString() const
UFUNCTION(BlueprintPure, Category = "Dialogue|Context")
void EnterEvent(UDlgContext *Context, UObject *Participant)
UFUNCTION(BlueprintCallable, BlueprintNativeEvent, Category = "Dialogue", DisplayName = "Enter")
int32 IntValue
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Event")
bool MustHaveParticipant() const
FName NameValue
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Event")
static FString EventTypeToString(EDlgEventType Type)
FName EventName
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Event")
bool bValue
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Event")
FString GetCustomEventName() const
UDlgEventCustom * CustomEvent
UPROPERTY(EditAnywhere, BlueprintReadWrite, Instanced, Category = "Dialogue|Event")
bool bDelta
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Event")
void Call(UDlgContext &Context, const FString &ContextString, UObject *Participant) const
bool ValidateIsParticipantValid(const UDlgContext &Context, const FString &ContextString, const UObject *Participant) const
EDlgEventType EventType
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Event")
float FloatValue
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Event")
FName ParticipantName
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Event")