FConversationMemory

Used to store arbitrary structs of data in different contexts for a conversation.

Windows
MacOS
Linux

Inheritance Hierarchy

FNoncopyable

FConversationMemory

References

Module

CommonConversationRuntime

Header

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

Include

#include "ConversationMemory.h"

Syntax

class FConversationMemory : public FNoncopyable

Remarks

Used to store arbitrary structs of data in different contexts for a conversation. During a conversation an NPC may need to remember a choice or remember a randomly chosen thing. This memory store allows that across different contexts, such as for the duration of the conversation instance, or as memory on the NPC.

Constructors

Name Description

Public function

FConversationMemory()

Destructors

Name Description

Public function

~FConversationMemory()

Functions

Name Description

Public function

TStructTaskM...

 

GetTaskMemory

(
    const UConversationTaskNode& Task
)

It is not valid for your memory struct to store a RAW UObject*, this data is not scanned for garbage collection.

Public function

void *

 

GetTaskMemoryOfType

(
    const UConversationTaskNode& Task,
    const UScriptStruct* TaskMemor...
)

It is not valid for your memory struct to store a RAW UObject*, this data is not scanned for garbage collection.

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