RealtimeStyleTransferRuntime/Source/LyraGame/Messages/LyraVerbMessageHelpers.h

36 lines
1010 B
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
2022-09-13 07:18:28 +00:00
#include "GameplayEffectTypes.h"
2022-05-23 18:41:30 +00:00
#include "Kismet/BlueprintFunctionLibrary.h"
#include "LyraVerbMessage.h"
2022-09-13 07:18:28 +00:00
#include "UObject/UObjectGlobals.h"
2022-05-23 18:41:30 +00:00
#include "LyraVerbMessageHelpers.generated.h"
class APlayerController;
2022-09-13 07:18:28 +00:00
class APlayerState;
class UObject;
struct FFrame;
2022-05-23 18:41:30 +00:00
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);
};