// © 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: UFUNCTION(BlueprintCallable, Category = "OLS") static class APlayerState* GetPlayerStateFromObject(UObject* object); UFUNCTION(BlueprintCallable, Category = "OLS") static class APlayerController* GetPlayerControllerFromObject(UObject* object); UFUNCTION(BlueprintCallable, Category = "OLS") static struct FGameplayCueParameters VerbMessageToCueParameters(const struct FOLSVerbMessage& message); UFUNCTION(BlueprintCallable, Category = "OLS") static struct FOLSVerbMessage CueParametersToVerbMessage(const FGameplayCueParameters& params); };