unreal.GameplayTask_ClaimResource

class unreal.GameplayTask_ClaimResource(outer=None, name='None')

Bases: unreal.GameplayTask

Gameplay Task Claim Resource

C++ Source:

  • Module: GameplayTasks
  • File: GameplayTask_ClaimResource.h
classmethod claim_resource(task_owner, resource_class, priority=192, task_instance_name="None") → GameplayTask_ClaimResource

Claim Resource

Parameters:
  • task_owner (GameplayTaskOwnerInterface) –
  • resource_class (type(Class)) –
  • priority (uint8) –
  • task_instance_name (Name) –
Returns:

Return type:

GameplayTask_ClaimResource

classmethod claim_resources(task_owner, resource_classes, priority=192, task_instance_name="None") → GameplayTask_ClaimResource

Claim Resources

Parameters:
  • task_owner (GameplayTaskOwnerInterface) –
  • resource_classes (Array(type(Class))) –
  • priority (uint8) –
  • task_instance_name (Name) –
Returns:

Return type:

GameplayTask_ClaimResource