Navigation
API > API/Plugins > API/Plugins/TargetingSystem > API/Plugins/TargetingSystem/Tasks
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UTargetingTask
- UTargetingSortTask_Base
- USimpleTargetingSortTask
- UTargetingFilterTask_SortByDistance
References
| Module | TargetingSystem |
| Header | /Engine/Plugins/Experimental/GameplayTargetingSystem/Source/GameplayTargetingSystem/Public/Tasks/TargetingSortTask_Base.h |
| Include | #include "Tasks/TargetingSortTask_Base.h" |
Syntax
UCLASS (Abstract)
class UTargetingSortTask_Base : public UTargetingTask
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bAscending | ||
| uint8: 1 | bStableSort | Should this task use a (slightly slower) sorting algorithm that preserves the relative ordering of targets with equal scores? |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UTargetingSortTask_Base
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | GetScoreForTarget
(
const FTargetingRequestHandle& TargetingHandle, |
Called on every target to get a Score for sorting. |