Successfully compiled and working on Win32 + tested on steam deck
This commit is contained in:
parent
47008fcefe
commit
e5cca6b23f
19 changed files with 311 additions and 186 deletions
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue