You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#ROBOMERGE-OWNER: yoan.stamant #ROBOMERGE-AUTHOR: yoan.stamant #ROBOMERGE-SOURCE: CL 18301426 via CL 18301593 via CL 18301595 via CL 18301822 via CL 18301845 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469) [CL 18301862 by yoan stamant in ue5-release-engine-test branch]
41 lines
2.3 KiB
C++
41 lines
2.3 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Kismet/BlueprintFunctionLibrary.h"
|
|
#include "SmartObjectRuntime.h"
|
|
#include "SmartObjectBlueprintFunctionLibrary.generated.h"
|
|
|
|
struct FGameplayTagContainer;
|
|
class UBlackboardComponent;
|
|
class AAIController;
|
|
|
|
UCLASS(meta = (ScriptName = "SmartObjectLibrary"))
|
|
class SMARTOBJECTSMODULE_API USmartObjectBlueprintFunctionLibrary : public UBlueprintFunctionLibrary
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
UFUNCTION(BlueprintCallable, Category = "SmartObject")
|
|
static FSmartObjectClaimHandle GetValueAsSOClaimHandle(UBlackboardComponent* BlackboardComponent, const FName& KeyName);
|
|
|
|
UFUNCTION(BlueprintCallable, Category = "SmartObject")
|
|
static void SetValueAsSOClaimHandle(UBlackboardComponent* BlackboardComponent, const FName& KeyName, FSmartObjectClaimHandle Value);
|
|
|
|
UFUNCTION(BlueprintCallable, Category = "SmartObject")
|
|
static bool IsValidSmartObjectClaimHandle(const FSmartObjectClaimHandle Handle) { return Handle.IsValid(); }
|
|
|
|
UFUNCTION(BlueprintCallable, Category = "SmartObject", meta = (DisplayName = "UseSmartObject"))
|
|
static bool K2_UseSmartObject(AActor* Avatar, AActor* SmartObject);
|
|
|
|
UFUNCTION(BlueprintCallable, Category = "SmartObject", meta = (DisplayName = "SetSmartObjectEnabled"))
|
|
static bool K2_SetSmartObjectEnabled(AActor* SmartObject, const bool bEnabled);
|
|
|
|
UE_DEPRECATED(5.0, "K2_AddLooseGameplayTags has been deprecated and will be removed soon. Use UAbilitySystemBlueprintLibrary::AddLooseGameplayTags instead")
|
|
UFUNCTION(BlueprintCallable, Category = "SmartObject", meta = (DisplayName = "DEPRECATED_AddLooseGameplayTags", DeprecatedFunction, DeprecationMessage = "Use AbilitySystemBlueprintLibrary::AddLooseGameplayTags instead"))
|
|
static bool K2_AddLooseGameplayTags(AActor* Actor, const FGameplayTagContainer& GameplayTags);
|
|
|
|
UE_DEPRECATED(5.0, "K2_AddLooseGameplayTags has been deprecated and will be removed soon. Use UAbilitySystemBlueprintLibrary::RemoveLooseGameplayTags instead")
|
|
UFUNCTION(BlueprintCallable, Category = "SmartObject", meta = (DisplayName = "DEPRECATED_RemoveLooseGameplayTags", DeprecatedFunction, DeprecationMessage = "Use AbilitySystemBlueprintLibrary::RemoveLooseGameplayTags instead"))
|
|
static bool K2_RemoveLooseGameplayTags(AActor* Actor, const FGameplayTagContainer& GameplayTags);
|
|
};
|