lyra_game_ue/Source/LyraGame/Messages/LyraVerbMessageHelpers.h
Goran Lazarevski 3bcab085f8 Initial commit
2025-03-20 11:06:26 +01:00

36 lines
934 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Kismet/BlueprintFunctionLibrary.h"
#include "LyraVerbMessageHelpers.generated.h"
struct FGameplayCueParameters;
struct FLyraVerbMessage;
class APlayerController;
class APlayerState;
class UObject;
struct FFrame;
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);
};