A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
FDlgCondition Struct ReferenceBlueprintable

USTRUCT(Blueprintable) More...

#include <DlgCondition.h>

Public Member Functions

 GENERATED_USTRUCT_BODY ()
 
bool IsConditionMet (const UDlgContext &Context, const UObject *Participant) const
 
bool IsParticipantInvolved () const
 
bool IsSecondParticipantInvolved () const
 
bool operator== (const FDlgCondition &Other) const
 

Static Public Member Functions

static FString ConditionTypeToString (EDlgConditionType Type)
 
static bool EvaluateArray (const UDlgContext &Context, const TArray< FDlgCondition > &ConditionsArray, FName DefaultParticipantName=NAME_None)
 
static bool HasClassVariable (EDlgConditionType Type)
 
static bool HasDialogueValue (EDlgConditionType Type)
 
static bool HasNodeIndex (EDlgConditionType ConditionType)
 
static bool HasParticipantInterfaceValue (EDlgConditionType Type)
 
static bool IsSameValueType (EDlgConditionType FirstType, EDlgConditionType SecondType)
 

Public Attributes

bool bBoolValue = true
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
bool bLongTermMemory = true
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
FName CallbackName
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
EDlgCompare CompareType = EDlgCompare::ToConst
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
EDlgConditionType ConditionType = EDlgConditionType::IntCall
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
UDlgConditionCustomCustomCondition = nullptr
 UPROPERTY(Instanced, EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
float FloatValue = 0.f
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
FGuid GUID
 UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
int32 IntValue = 0
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
FName NameValue
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
EDlgOperation Operation = EDlgOperation::Equal
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
FName OtherParticipantName
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
FName OtherVariableName
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
FName ParticipantName
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 
EDlgConditionStrength Strength = EDlgConditionStrength::Strong
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")
 

Protected Member Functions

bool CheckBool (const UDlgContext &Context, bool bValue) const
 
bool CheckFloat (const UDlgContext &Context, float Value) const
 
bool CheckInt (const UDlgContext &Context, int32 Value) const
 
bool CheckName (const UDlgContext &Context, FName Value) const
 
bool ValidateIsParticipantValid (const UDlgContext &Context, const FString &ContextString, const UObject *Participant) const
 

Detailed Description

USTRUCT(Blueprintable)

Definition at line 118 of file DlgCondition.h.

Member Function Documentation

◆ CheckBool()

bool FDlgCondition::CheckBool ( const UDlgContext & Context,
bool bValue ) const
protected

Definition at line 218 of file DlgCondition.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckFloat()

bool FDlgCondition::CheckFloat ( const UDlgContext & Context,
float Value ) const
protected

Definition at line 118 of file DlgCondition.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckInt()

bool FDlgCondition::CheckInt ( const UDlgContext & Context,
int32 Value ) const
protected

Definition at line 168 of file DlgCondition.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckName()

bool FDlgCondition::CheckName ( const UDlgContext & Context,
FName Value ) const
protected

Definition at line 246 of file DlgCondition.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ConditionTypeToString()

FString FDlgCondition::ConditionTypeToString ( EDlgConditionType Type)
static

Definition at line 297 of file DlgCondition.cpp.

Here is the caller graph for this function:

◆ EvaluateArray()

bool FDlgCondition::EvaluateArray ( const UDlgContext & Context,
const TArray< FDlgCondition > & ConditionsArray,
FName DefaultParticipantName = NAME_None )
static

Definition at line 14 of file DlgCondition.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GENERATED_USTRUCT_BODY()

FDlgCondition::GENERATED_USTRUCT_BODY ( )

◆ HasClassVariable()

static bool FDlgCondition::HasClassVariable ( EDlgConditionType Type)
inlinestatic

Definition at line 180 of file DlgCondition.h.

Here is the caller graph for this function:

◆ HasDialogueValue()

static bool FDlgCondition::HasDialogueValue ( EDlgConditionType Type)
inlinestatic

Definition at line 165 of file DlgCondition.h.

◆ HasNodeIndex()

static bool FDlgCondition::HasNodeIndex ( EDlgConditionType ConditionType)
inlinestatic

Definition at line 157 of file DlgCondition.h.

Here is the caller graph for this function:

◆ HasParticipantInterfaceValue()

static bool FDlgCondition::HasParticipantInterfaceValue ( EDlgConditionType Type)
inlinestatic

Definition at line 174 of file DlgCondition.h.

Here is the caller graph for this function:

◆ IsConditionMet()

bool FDlgCondition::IsConditionMet ( const UDlgContext & Context,
const UObject * Participant ) const

Definition at line 38 of file DlgCondition.cpp.

Here is the call graph for this function:

◆ IsParticipantInvolved()

bool FDlgCondition::IsParticipantInvolved ( ) const

Definition at line 285 of file DlgCondition.cpp.

Here is the caller graph for this function:

◆ IsSameValueType()

static bool FDlgCondition::IsSameValueType ( EDlgConditionType FirstType,
EDlgConditionType SecondType )
inlinestatic

Definition at line 190 of file DlgCondition.h.

Here is the caller graph for this function:

◆ IsSecondParticipantInvolved()

bool FDlgCondition::IsSecondParticipantInvolved ( ) const

Definition at line 291 of file DlgCondition.cpp.

Here is the call graph for this function:

◆ operator==()

bool FDlgCondition::operator== ( const FDlgCondition & Other) const
inline

Definition at line 126 of file DlgCondition.h.

◆ ValidateIsParticipantValid()

bool FDlgCondition::ValidateIsParticipantValid ( const UDlgContext & Context,
const FString & ContextString,
const UObject * Participant ) const
protected

Definition at line 271 of file DlgCondition.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bBoolValue

bool FDlgCondition::bBoolValue = true
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 322 of file DlgCondition.h.

◆ bLongTermMemory

bool FDlgCondition::bLongTermMemory = true
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 331 of file DlgCondition.h.

◆ CallbackName

FName FDlgCondition::CallbackName
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 258 of file DlgCondition.h.

◆ CompareType

EDlgCompare FDlgCondition::CompareType = EDlgCompare::ToConst
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 274 of file DlgCondition.h.

◆ ConditionType

EDlgConditionType FDlgCondition::ConditionType = EDlgConditionType::IntCall
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 242 of file DlgCondition.h.

◆ CustomCondition

UDlgConditionCustom* FDlgCondition::CustomCondition = nullptr
BlueprintReadWriteEditAnywhereInstanced

UPROPERTY(Instanced, EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 352 of file DlgCondition.h.

◆ FloatValue

float FDlgCondition::FloatValue = 0.f
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 306 of file DlgCondition.h.

◆ GUID

FGuid FDlgCondition::GUID
BlueprintReadWriteVisibleAnywhere

UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 339 of file DlgCondition.h.

◆ IntValue

int32 FDlgCondition::IntValue = 0
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 298 of file DlgCondition.h.

◆ NameValue

FName FDlgCondition::NameValue
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 314 of file DlgCondition.h.

◆ Operation

EDlgOperation FDlgCondition::Operation = EDlgOperation::Equal
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 266 of file DlgCondition.h.

◆ OtherParticipantName

FName FDlgCondition::OtherParticipantName
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 282 of file DlgCondition.h.

◆ OtherVariableName

FName FDlgCondition::OtherVariableName
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 290 of file DlgCondition.h.

◆ ParticipantName

FName FDlgCondition::ParticipantName
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 250 of file DlgCondition.h.

◆ Strength

EDlgConditionStrength FDlgCondition::Strength = EDlgConditionStrength::Strong
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Dialogue|Condition")

Definition at line 234 of file DlgCondition.h.


The documentation for this struct was generated from the following files: