Navigation
API > API/Plugins > API/Plugins/TargetingSystem
Templated struct to define targeting data stores. The goal is to provide a flexible way for targeting tasks to add/remove/update generic sets of data they wish to work with.
This allows future growth in games to write tasks either new or extending off base framework archetypes to achieve the targeting goals they need.
| Name | TTargetingDataStore |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/GameplayTargetingSystem/Source/GameplayTargetingSystem/Public/Types/TargetingSystemDataStores.h |
| Include Path | #include "Types/TargetingSystemDataStores.h" |
Syntax
template<typename Type>
struct TTargetingDataStore
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TTargetingDataStore() |
Types/TargetingSystemDataStores.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TTargetingDataStore() |
Types/TargetingSystemDataStores.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Items | TSortedMap< FTargetingRequestHandle, Type > | : SortMap can be a concern if the Type is a large struct and/or there is high volume of use at any one time. | Types/TargetingSystemDataStores.h | |
| ReleaseDelegateHandle | FDelegateHandle | Stores the register handle to the release delegate | Types/TargetingSystemDataStores.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static Type * Find
(
FTargetingRequestHandle Handle |
Types/TargetingSystemDataStores.h | ||
static Type & FindOrAdd
(
FTargetingRequestHandle Handle |
Types/TargetingSystemDataStores.h | ||
static void OnTargetingRequestHandleReleased
(
FTargetingRequestHandle Handle |
Types/TargetingSystemDataStores.h |