RealtimeStyleTransferRuntime/Source/LyraGame/Messages/LyraVerbMessageHelpers.h

36 lines
1.0 KiB
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameplayTagContainer.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "LyraVerbMessage.h"
#include "GameplayEffectTypes.h"
#include "LyraVerbMessageHelpers.generated.h"
class APlayerState;
class APlayerController;
struct FGameplayCueParameters;
UCLASS()
class LYRAGAME_API ULyraVerbMessageHelpers : public UBlueprintFunctionLibrary
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintCallable, Category = "Lyra")
static APlayerState* GetPlayerStateFromObject(UObject* Object);
UFUNCTION(BlueprintCallable, Category = "Lyra")
static APlayerController* GetPlayerControllerFromObject(UObject* Object);
UFUNCTION(BlueprintCallable, Category = "Lyra")
static FGameplayCueParameters VerbMessageToCueParameters(const FLyraVerbMessage& Message);
UFUNCTION(BlueprintCallable, Category = "Lyra")
static FLyraVerbMessage CueParametersToVerbMessage(const FGameplayCueParameters& Params);
};