UConversationParticipantComponent

Active conversation participants should have this component on them.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UActorComponent

UConversationParticipantComponent

References

Module

CommonConversationRuntime

Header

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

Include

#include "ConversationParticipantComponent.h"

Syntax

UCLASS(BlueprintType)
class UConversationParticipantComponent : public UActorComponent

Remarks

Active conversation participants should have this component on them. It keeps track of what conversations they are participating in (typically no more than one)

Variables

Constructors

Functions

Name Description

Protected function UFunction Client, Reliable

void

 

ClientExecuteTaskAndSideEffects

(
    FConversationNodeHandle Handle
)

Protected function UFunction Client, Reliable

void

 

ClientStartConversation

(
    const FGameplayTag AsParticipant
)

Protected function UFunction Client, Reliable

void

 

ClientUpdateConversation

(
    const FClientConversationMessagePay...
)

Protected function UFunction Client, Reliable

void

 

ClientUpdateConversations

(
    int32 InConversationsActive
)

Protected function UFunction Client, Reliable

void

 

ClientUpdateConversationTaskChoiceData

(
    FConversationNodeHandle Handle,
    const FClientConversationOptionEntr...
)

Protected function UFunction Client, Reliable

void

 

ClientUpdateParticipants

(
    const FConversationParticipants& I...
)

Public function Const

int32

 

GetConversationsActive()

Public function Const

FConversatio...

 

GetCurrentNodeHandle()

Public function Const

bool

 

GetIsFirstConversationUpdateBroadcasted()

Public function Const

const FConve...

 

GetParticipant

(
    const FGameplayTag& ParticipantTag
)

Public function Virtual UFunction BlueprintCallable, Category

FText

 

GetParticipantDisplayName()

Public function Const UFunction BlueprintCallable, Category

bool

 

IsInActiveConversation()

Protected function Virtual

void

 

OnConversationUpdated

(
    const FClientConversationMessagePay...
)

Protected function Virtual

void

 

OnEnterConversationState()

Protected function Virtual

void

 

OnLeaveConversationState()

Protected function UFunction

void

 

OnRep_ConversationsActive

(
    int32 OldConversationsActive
)

Public function UFunction BlueprintCallable, Category

void

 

RequestServerAdvanceConversation

(
    const FAdvanceConversationRequest&...
)

Public function

void

 

SendClientConversationMessage

(
    const FConversationContext& Contex...,
    const FClientConversationMessagePay...
)

Public function

void

 

SendClientRefreshedTaskChoiceData

(
    const FConversationNodeHandle& Han...,
    const FConversationContext& Contex...
)

Public function

void

 

SendClientUpdatedChoices

(
    const FConversationContext& Contex...
)

Protected function UFunction Server, Reliable

void

 

ServerAdvanceConversation

(
    const FAdvanceConversationRequest&...
)

Classes

Name

Description

Public class

FConversationStartedEvent

Public class

FConversationStatusChangedEvent

Client and server notification of the conversation starting or ending.

Public class

FConversationTaskChoiceDataUpdatedEvent

Public class

FConversationUpdatedEvent