UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GameplayTask.h File Reference
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/Object.h"
#include "Templates/SubclassOf.h"
#include "UObject/ScriptInterface.h"
#include "UObject/ScriptMacros.h"
#include "GameplayTaskOwnerInterface.h"
#include "UObject/WeakInterfacePtr.h"
#include "GameplayTaskTypes.h"
#include "GameplayTask.generated.h"

Go to the source code of this file.

Classes

struct  FGameplayResourceSet
 
class  UGameplayTask
 
struct  FGameplayTaskInstanceNamePredicate
 
struct  FGameplayTaskInstanceClassPredicate
 

Enumerations

enum class  EGameplayTaskState : uint8 {
  Uninitialized , AwaitingActivation , Paused , Active ,
  Finished
}
 
enum class  ETaskResourceOverlapPolicy : uint8 { StartOnTop , StartAtEnd , RequestCancelAndStartOnTop , RequestCancelAndStartAtEnd }
 

Functions

GAMEPLAYTASKS_API DECLARE_LOG_CATEGORY_EXTERN (LogGameplayTasks, Log, All)
 

Enumeration Type Documentation

◆ EGameplayTaskState

enum class EGameplayTaskState : uint8
strong
Enumerator
Uninitialized 
AwaitingActivation 
Paused 
Active 
Finished 

◆ ETaskResourceOverlapPolicy

Enumerator
StartOnTop 

Pause overlapping same-priority tasks.

StartAtEnd 

Wait for other same-priority tasks to finish.

RequestCancelAndStartOnTop 

Request to cancel same or lower priority tasks, if tasks not ended pause overlapping same-priority tasks.

RequestCancelAndStartAtEnd 

Request to cancel same or lower priority tasks, wait for any remaining overlapping same-priority tasks to finish.

Function Documentation

◆ DECLARE_LOG_CATEGORY_EXTERN()

GAMEPLAYTASKS_API DECLARE_LOG_CATEGORY_EXTERN ( LogGameplayTasks  ,
Log  ,
All   
)