A Demo Project for the UnrealEngineSDK
|
UCLASS(BlueprintType, ClassGroup = "Dialogue") More...
#include <DlgNode_SpeechSequence.h>
Public Member Functions | |
void | AddAllSpeakerStatesIntoSet (TSet< FName > &OutStates) const override |
virtual void | AddNodeChild (const FDlgEdge &InChild) |
void | AutoGenerateInnerEdges () |
virtual bool | CheckNodeEnterConditions (const UDlgContext &Context, TSet< const UDlgNode * > AlreadyVisitedNodes) const |
DECLARE_EVENT_TwoParams (UDlgNode, FDialogueNodePropertyChanged, const FPropertyChangedEvent &, int32) | |
void | FireNodeEnterEvents (UDlgContext &Context) |
void | GetAssociatedParticipants (TArray< FName > &OutArray) const override |
virtual bool | GetCheckChildrenOnEvaluation () const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
FString | GetDesc () override |
UDlgDialogue * | GetDialogue () const |
FGuid | GetGUID () const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
virtual FDlgCondition * | GetMutableEnterConditionAt (int32 EnterConditionIndex) |
virtual FDlgEdge * | GetMutableNodeChildAt (int32 EdgeIndex) |
virtual FDlgEdge * | GetMutableNodeChildForTargetIndex (int32 TargetIndex) |
TArray< FDlgSpeechSequenceEntry > * | GetMutableNodeSpeechSequence () |
virtual const FDlgEdge & | GetNodeChildAt (int32 EdgeIndex) const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
virtual const TArray< FDlgEdge > & | GetNodeChildren () const |
Gets this nodes children (edges) as a const/mutable array. | |
UDlgNodeData * | GetNodeData () const override |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
virtual const TArray< FDlgCondition > & | GetNodeEnterConditions () const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
virtual const TArray< FDlgEvent > & | GetNodeEnterEvents () const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
UObject * | GetNodeGenericData () const override |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
const TArray< int32 > | GetNodeOpenChildren_DEPRECATED () const |
FName | GetNodeParticipantName () const override |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
const TArray< FDlgSpeechSequenceEntry > & | GetNodeSpeechSequence () const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
const FText & | GetNodeText () const override |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
virtual const FText & | GetNodeUnformattedText () const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
UDialogueWave * | GetNodeVoiceDialogueWave () const override |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
USoundBase * | GetNodeVoiceSoundBase () const override |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
USoundWave * | GetNodeVoiceSoundWave () const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
virtual int32 | GetNumNodeChildren () const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
virtual FDlgEdge * | GetSafeMutableNodeChildAt (int32 EdgeIndex) |
FName | GetSpeakerState () const override |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
int32 | GetSpeechSequenceIndex () const |
virtual const TArray< FDlgTextArgument > & | GetTextArguments () const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
bool | HandleNodeEnter (UDlgContext &Context, TSet< const UDlgNode * > NodesEnteredWithThisStep) override |
virtual bool | HasAnyEnterConditions () const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
virtual bool | HasAnyEnterEvents () const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
bool | HasAnySatisfiedChild (const UDlgContext &Context, TSet< const UDlgNode * > AlreadyVisitedNodes) const |
bool | HasGUID () const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
bool | HasSpeechSequences () const |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node") | |
bool | OptionSelected (int32 OptionIndex, UDlgContext &Context) override |
bool | OptionSelectedFromReplicated (int32 OptionIndex, UDlgContext &Context) |
void | PostDuplicate (bool bDuplicateForPIE) override |
void | PostEditImport () override |
void | PostInitProperties () override |
void | PostLoad () override |
virtual void | RebuildConstructedText (const UDlgContext &Context) |
virtual void | RebuildTextArguments (bool bEdges, bool bUpdateGraphNode=true) |
virtual void | RebuildTextArgumentsFromPreview (const FText &Preview) |
bool | ReevaluateChildren (UDlgContext &Context, TSet< const UDlgNode * > AlreadyEvaluated) override |
void | RegenerateGUID () |
virtual void | RemoveAllChildren () |
virtual void | RemoveChildAt (int32 EdgeIndex) |
void | Serialize (FArchive &Ar) override |
virtual void | SetNodeChildren (const TArray< FDlgEdge > &InChildren) |
virtual void | SetNodeEnterConditions (const TArray< FDlgCondition > &InEnterConditions) |
virtual void | SetNodeEnterEvents (const TArray< FDlgEvent > &InEnterEvents) |
virtual void | SetNodeParticipantName (FName InName) |
void | UpdateGraphNode () |
void | UpdateTextsNamespacesAndKeys (const UDlgSystemSettings &Settings, bool bEdges, bool bUpdateGraphNode=true) override |
void | UpdateTextsValuesFromDefaultsAndRemappings (const UDlgSystemSettings &Settings, bool bEdges, bool bUpdateGraphNode=true) override |
Static Public Member Functions | |
static void | AddReferencedObjects (UObject *InThis, FReferenceCollector &Collector) |
static FName | GetMemberNameCheckChildrenOnEvaluation () |
static FName | GetMemberNameChildren () |
static FName | GetMemberNameEnterConditions () |
static FName | GetMemberNameEnterEvents () |
static FName | GetMemberNameGUID () |
static FName | GetMemberNameOwnerName () |
static FName | GetMemberNameSpeechSequence () |
Public Attributes | |
FDialogueNodePropertyChanged | OnDialogueNodePropertyChanged |
Protected Attributes | |
int32 | ActualIndex = INDEX_NONE |
bool | bCheckChildrenOnEvaluation = false |
UPROPERTY(EditAnywhere, Category = "Dialogue|Node") | |
TArray< FDlgEdge > | Children |
UPROPERTY(VisibleAnywhere, EditFixedSize, AdvancedDisplay, Category = "Dialogue|Node") | |
TArray< FDlgCondition > | EnterConditions |
UPROPERTY(EditAnywhere, Category = "Dialogue|Node") | |
TArray< FDlgEvent > | EnterEvents |
UPROPERTY(EditAnywhere, Category = "Dialogue|Node") | |
TArray< FDlgEdge > | InnerEdges |
UPROPERTY() | |
FGuid | NodeGUID |
UPROPERTY(VisibleAnywhere, Category = "Dialogue|Node", AdvancedDisplay) | |
FName | OwnerName |
UPROPERTY(EditAnywhere, Category = "Dialogue|Node", Meta = (DisplayName = "Participant Name")) | |
TArray< FDlgSpeechSequenceEntry > | SpeechSequence |
UPROPERTY(EditAnywhere, Category = "Dialogue|Node") | |
Private Member Functions | |
GENERATED_BODY () | |
UCLASS(BlueprintType, ClassGroup = "Dialogue")
Sequence of speeches - each can have a different speaker independently from the node owner. The node stays active and proceeds one step in the SpeechSequence (internal) array until everyone said everything.
Definition at line 100 of file DlgNode_SpeechSequence.h.
|
overridevirtual |
Reimplemented from UDlgNode.
Definition at line 172 of file DlgNode_SpeechSequence.cpp.
|
inlinevirtualinherited |
|
staticinherited |
Definition at line 41 of file DlgNode.cpp.
void UDlgNode_SpeechSequence::AutoGenerateInnerEdges | ( | ) |
Definition at line 203 of file DlgNode_SpeechSequence.cpp.
|
virtualinherited |
|
inherited |
Broadcasts whenever a property of this dialogue changes.
|
inherited |
Definition at line 142 of file DlgNode.cpp.
|
private |
|
overridevirtual |
Reimplemented from UDlgNode.
Definition at line 190 of file DlgNode_SpeechSequence.cpp.
|
inlinevirtualinheritedBlueprintPure |
|
inlineoverride |
Definition at line 107 of file DlgNode_SpeechSequence.h.
|
inherited |
|
inlineinheritedBlueprintPure |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestatic |
Definition at line 169 of file DlgNode_SpeechSequence.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
virtualinherited |
Definition at line 257 of file DlgNode.cpp.
|
inline |
Definition at line 159 of file DlgNode_SpeechSequence.h.
|
inlinevirtualinheritedBlueprintPure |
|
inlinevirtualinheritedBlueprintPure |
|
overridevirtual |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node")
Reimplemented from UDlgNode.
Definition at line 122 of file DlgNode_SpeechSequence.cpp.
|
inlinevirtualinheritedBlueprintPure |
|
inlinevirtualinheritedBlueprintPure |
|
overridevirtual |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node")
Reimplemented from UDlgNode.
Definition at line 152 of file DlgNode_SpeechSequence.cpp.
|
inherited |
|
overridevirtual |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node")
Reimplemented from UDlgNode.
Definition at line 180 of file DlgNode_SpeechSequence.cpp.
|
inlineBlueprintPure |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node")
Definition at line 156 of file DlgNode_SpeechSequence.h.
|
overridevirtual |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node")
Reimplemented from UDlgNode.
Definition at line 112 of file DlgNode_SpeechSequence.cpp.
|
inlinevirtualinheritedBlueprintPure |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node")
Gets the Raw unformatted Text of this Node. Usually the same as GetNodeText but in case the node supports formatted string this is the raw form with all the arguments intact. To get the text arguments call GetTextArguments.
Reimplemented in UDlgNode_Speech.
Definition at line 281 of file DlgNode.h.
|
overridevirtual |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node")
Reimplemented from UDlgNode.
Definition at line 142 of file DlgNode_SpeechSequence.cpp.
|
overridevirtual |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node")
Reimplemented from UDlgNode.
Definition at line 132 of file DlgNode_SpeechSequence.cpp.
|
inheritedBlueprintPure |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node")
Definition at line 360 of file DlgNode.cpp.
|
inlinevirtualinheritedBlueprintPure |
|
inlinevirtualinherited |
|
overridevirtual |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node")
Reimplemented from UDlgNode.
Definition at line 162 of file DlgNode_SpeechSequence.cpp.
|
inline |
Definition at line 146 of file DlgNode_SpeechSequence.h.
|
inlinevirtualinheritedBlueprintPure |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node")
Reimplemented in UDlgNode_Speech.
Definition at line 254 of file DlgNode.h.
|
overridevirtual |
Reimplemented from UDlgNode.
Definition at line 54 of file DlgNode_SpeechSequence.cpp.
|
inlinevirtualinheritedBlueprintPure |
|
inlinevirtualinheritedBlueprintPure |
|
inherited |
|
inlineinheritedBlueprintPure |
|
inlineBlueprintPure |
UFUNCTION(BlueprintPure, Category = "Dialogue|Node")
Definition at line 166 of file DlgNode_SpeechSequence.h.
|
overridevirtual |
Reimplemented from UDlgNode.
Definition at line 82 of file DlgNode_SpeechSequence.cpp.
bool UDlgNode_SpeechSequence::OptionSelectedFromReplicated | ( | int32 | OptionIndex, |
UDlgContext & | Context ) |
|
overrideinherited |
|
overrideinherited |
|
overrideinherited |
Definition at line 65 of file DlgNode.cpp.
|
overrideinherited |
Definition at line 53 of file DlgNode.cpp.
|
inlinevirtualinherited |
Reimplemented in UDlgNode_Speech.
Reimplemented in UDlgNode_Speech.
Definition at line 324 of file DlgNode.cpp.
|
inlinevirtualinherited |
Reimplemented in UDlgNode_Speech.
|
overridevirtual |
Reimplemented from UDlgNode.
Definition at line 60 of file DlgNode_SpeechSequence.cpp.
|
inlineinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
overrideinherited |
Definition at line 15 of file DlgNode.cpp.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inherited |
|
overridevirtual |
Reimplemented from UDlgNode.
Definition at line 37 of file DlgNode_SpeechSequence.cpp.
|
overridevirtual |
Reimplemented from UDlgNode.
Definition at line 17 of file DlgNode_SpeechSequence.cpp.
|
protected |
Definition at line 186 of file DlgNode_SpeechSequence.h.
|
protectedinheritedEditAnywhere |
|
protectedinheritedAdvancedDisplayVisibleAnywhereEditFixedSize |
|
protectedinheritedEditAnywhere |
|
protectedinheritedEditAnywhere |
|
protected |
UPROPERTY()
Definition at line 183 of file DlgNode_SpeechSequence.h.
|
protectedinheritedAdvancedDisplayVisibleAnywhere |
|
inherited |
|
protectedinheritedEditAnywhere |
|
protectedEditAnywhere |
UPROPERTY(EditAnywhere, Category = "Dialogue|Node")
Definition at line 177 of file DlgNode_SpeechSequence.h.