Successfully compiled and working on Win32 + tested on steam deck

This commit is contained in:
Jordon Brooks 2024-05-31 23:46:36 +01:00
parent 47008fcefe
commit e5cca6b23f
Signed by: jordon
GPG key ID: DBD9758CD53E786A
19 changed files with 311 additions and 186 deletions

View file

@ -21,31 +21,33 @@ class HARMONYLINK_API UHarmonyLinkLibrary : public UBlueprintFunctionLibrary
GENERATED_BODY()
public:
UHarmonyLinkLibrary();
// Checks if the game is running under Wine.
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
UFUNCTION(BlueprintCallable, BlueprintPure, Category="HarmonyLink")
static bool IsWine();
// Checks if the operating system is Linux.
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
UFUNCTION(BlueprintCallable, BlueprintPure, Category="HarmonyLink")
static bool IsLinux();
// Checks if the game is running on a Steam Deck.
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
UFUNCTION(BlueprintCallable, BlueprintPure, Category="HarmonyLink")
static bool IsSteamDeck();
// Retrieves information about the CPU of the current device.
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
UFUNCTION(BlueprintCallable, BlueprintPure, Category="HarmonyLink")
static FCPUInfo GetCPUInfo();
// Retrieves information about the current device.
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
UFUNCTION(BlueprintCallable, BlueprintPure, Category="HarmonyLink")
static FDevice GetDeviceInfo();
// Retrieves information about the operating system of the current device.
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
UFUNCTION(BlueprintCallable, BlueprintPure, Category="HarmonyLink")
static FOSVerInfo GetOSInfo();
// Retrieves the current battery status of the device.
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
UFUNCTION(BlueprintCallable, BlueprintPure, Category="HarmonyLink")
static FBattery GetBatteryStatus();
};