Show / Hide Table of Contents

Class GameplayTask

Gameplay Task

Inheritance
System.Object
UObject
GameplayTask
AITask
GameplayTask_ClaimResource
GameplayTask_SpawnActor
GameplayTask_TimeLimitedExecution
GameplayTask_WaitDelay
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.GameplayTasks
Assembly: UE4DotNet.dll
Syntax
public class GameplayTask : UObject

Properties

| Improve this Doc View Source

ChildTask

child task instance

Declaration
public GameplayTask ChildTask { get; set; }
Property Value
Type Description
GameplayTask
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static GameplayTask DefaultObject { get; }
Property Value
Type Description
GameplayTask
| Improve this Doc View Source

InstanceName

This name allows us to find the task later so that we can end it.

Declaration
public Name InstanceName { get; set; }
Property Value
Type Description
Name
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

EndTask()

Called explicitly to end the task (usually by the task itself).

Declaration
public void EndTask()
Remarks

Calls OnDestroy. @NOTE: you need to call EndTask before sending out any "on completed" delegates. If you don't the task will still be in an "active" state while the event receivers may assume it's already "finished"

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static GameplayTask New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
GameplayTask
| Improve this Doc View Source

ReadyForActivation()

Called to trigger the actual task once the delegates have been set up

Declaration
public void ReadyForActivation()

Operators

| Improve this Doc View Source

Implicit(IntPtr to GameplayTask)

Convert from IntPtr to UObject

Declaration
public static implicit operator GameplayTask(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
GameplayTask
  • Improve this Doc
  • View Source
Back to top Generated by DocFX