FConversationChoiceReference

The conversation choice reference is the closest thing there is to a link at runtime for a choice.

Windows
MacOS
Linux

References

Module

CommonConversationRuntime

Header

/Engine/Plugins/Experimental/CommonConversation/Source/CommonConversationRuntime/Public/ConversationTypes.h

Include

#include "ConversationTypes.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType))
struct FConversationChoiceReference

Remarks

The conversation choice reference is the closest thing there is to a link at runtime for a choice. Choices always map to a Task node, which is the NodeReference. However some tasks could potentially dynamically generate several possible choices. In that case they would do so with a unique set of NodeParameters. These would allow one task, say, "Sell N Items", where it's one task offering 3 different items for sale, and so it needs to match-up those choices with what the user chooses later. the NodeParameters would contain the dynamic data generated at runtime signifying for the server what to choose.

Luckily the user does not need to guard against cheating clients. Any dynamically generated choice is remembered by the server - so any choice selected dynamically can be verified by the server as one it offered to the user.

Variables

Name Description

Public variable UProperty Category BlueprintReadWrite

TArray< FConver...

 

NodeParameters

These are the parameters required by that node to be activated.

Public variable UProperty Category BlueprintReadWrite

FConversationNo...

 

NodeReference

This is the node that we're targeting with our choice.

Constructors

Name Description

Public function

FConversationChoiceReference()

Public function

FConversationChoiceReference

(
    const FGuid& InNodeGUID
)

Functions

Name Description

Public function Const

bool

 

IsValid()

Public function Const

FString

 

ToString()

Constants

Name

Description

Empty

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss