Navigation
API > API/Plugins > API/Plugins/CommonConversationRuntime
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.
Name
FConversationMemory
Type
class
Header File
/Engine/Plugins/Experimental/CommonConversation/Source/CommonConversationRuntime/Public/ConversationMemory.h
Include Path
#include "ConversationMemory.h"
Syntax
class FConversationMemory : public FNoncopyable
Copy full snippet
Inheritance Hierarchy
Constructors
Destructors
Classes
Structs
Variables
Protected
Name
Type
Remarks
Include Path
Unreal Specifiers
TaskMemory
TMap < FConversationTaskMemoryKey, void * >
ConversationMemory.h
TaskMemoryAllocator
FTaskMemoryAllocator
ConversationMemory.h
Functions
Public
Name
Remarks
Include Path
Unreal Specifiers
NOTE: It is not valid for your memory struct to store a RAW UObject*, this data is not scanned for garbage collection.
ConversationMemory.h
NOTE: It is not valid for your memory struct to store a RAW UObject*, this data is not scanned for garbage collection.
ConversationMemory.h