2025-01-15 19:23:11 +00:00
|
|
|
|
// © 2024 Long Ly. All rights reserved. Any unauthorized use, reproduction, or distribution of this trademark is strictly prohibited and may result in legal action.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "Kismet/BlueprintFunctionLibrary.h"
|
|
|
|
|
#include "OLSVerbMessageHelpers.generated.h"
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
UCLASS()
|
|
|
|
|
class OLS_API UOLSVerbMessageHelpers : public UBlueprintFunctionLibrary
|
|
|
|
|
{
|
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
2025-01-15 22:30:52 +00:00
|
|
|
|
UFUNCTION(BlueprintCallable, Category = "OLS")
|
2025-01-15 19:23:11 +00:00
|
|
|
|
static class APlayerState* GetPlayerStateFromObject(UObject* object);
|
|
|
|
|
|
2025-01-15 22:30:52 +00:00
|
|
|
|
UFUNCTION(BlueprintCallable, Category = "OLS")
|
2025-01-15 19:23:11 +00:00
|
|
|
|
static class APlayerController* GetPlayerControllerFromObject(UObject* object);
|
|
|
|
|
|
2025-01-15 22:30:52 +00:00
|
|
|
|
UFUNCTION(BlueprintCallable, Category = "OLS")
|
2025-01-15 19:23:11 +00:00
|
|
|
|
static struct FGameplayCueParameters VerbMessageToCueParameters(const struct FOLSVerbMessage& message);
|
|
|
|
|
|
2025-01-15 22:30:52 +00:00
|
|
|
|
UFUNCTION(BlueprintCallable, Category = "OLS")
|
2025-01-15 19:23:11 +00:00
|
|
|
|
static struct FOLSVerbMessage CueParametersToVerbMessage(const FGameplayCueParameters& params);
|
|
|
|
|
};
|