Skip to content

File SFFunctionLibrary.h

File List > Public > SFFunctionLibrary.h

Go to the documentation of this file

// Copyright 2026 Anh Pham. All Rights Reserved.

#pragma once

#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "CommonInputTypeEnum.h"
#include "SFFunctionLibrary.generated.h"

UCLASS()
class SETTINGSFRAMEWORK_API USFFunctionLibrary : public UBlueprintFunctionLibrary
{
    GENERATED_BODY()

public:
    UFUNCTION(BlueprintPure, Category = "SFFunctionLibrary", meta = (WorldContext = "WorldContextObject", CallableWithoutWorldContext))
    static class USFSettingsSubsystem* GetSettingsSubsystem(const UObject* WorldContextObject);

    UFUNCTION(BlueprintCallable, BlueprintPure, Category = "Input|CommonUI", meta = (WorldContext = "WorldContextObject", CallableWithoutWorldContext))
    static ECommonInputType GetCurrentInputMethod(const UObject* WorldContextObject);
};