Navigation
API > API/Plugins > API/Plugins/CommonConversationRuntime
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
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TStructTaskMemory * | GetTaskMemory
(
const UConversationTaskNode& Task |
NOTE: It is not valid for your memory struct to store a RAW UObject*, this data is not scanned for garbage collection. | |
| void * | GetTaskMemoryOfType
(
const UConversationTaskNode& Task, |
NOTE: It is not valid for your memory struct to store a RAW UObject*, this data is not scanned for garbage collection. |