Navigation
API > API/Plugins > API/Plugins/CommonConversationRuntime
Template<> struct TStructOpsTypeTraits
| Name | FConversationChoiceDataHandle |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/CommonConversation/Source/CommonConversationRuntime/Public/ConversationTypes.h |
| Include Path | #include "ConversationTypes.h" |
Syntax
USTRUCT ()
struct FConversationChoiceDataHandle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ConversationTypes.h | |||
FConversationChoiceDataHandle
(
FConversationChoiceData* DataPtr |
ConversationTypes.h | ||
| ConversationTypes.h | |||
FConversationChoiceDataHandle
(
const FConversationChoiceDataHandle& Other |
ConversationTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | TArray< TSharedPtr< FConversationChoiceData >, TInlineAllocator< 1 > > | Raw storage of target data, do not modify this directly | ConversationTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
FConversationChoiceData* DataPtr |
Adds a new target data to handle, it must have been created with new | ConversationTypes.h | |
void Append
(
const FConversationChoiceDataHandle& OtherHandle |
Does a shallow copy of target data from one handle to another | ConversationTypes.h | |
void Clear() |
Resets handle to have no targets | ConversationTypes.h | |
const FConversationChoiceData * Get
(
int32 Index |
Returns data at index, or nullptr if invalid | ConversationTypes.h | |
FConversationChoiceData * Get
(
int32 Index |
Returns data at index, or nullptr if invalid | ConversationTypes.h | |
bool IsValid
(
int32 Index |
Returns true if there are any valid targets | ConversationTypes.h | |
bool NetSerialize
(
FArchive& Ar, |
Serialize for networking, handles polymorphism | ConversationTypes.h | |
int32 Num() |
Returns number of target data, not number of actors/targets as target data may contain multiple actors | ConversationTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FConversationChoiceDataHandle& Other |
Comparison operator | ConversationTypes.h | |
| ConversationTypes.h | |||
FConversationChoiceDataHandle & operator=
(
const FConversationChoiceDataHandle& Other |
ConversationTypes.h | ||
bool operator==
(
const FConversationChoiceDataHandle& Other |
Comparison operator | ConversationTypes.h |