Updated to use the new plugin
This commit is contained in:
parent
174a73d160
commit
509d6aab73
36 changed files with 788 additions and 753 deletions
41
Source/HarmonyLink/Public/HarmonyLinkLibrary.h
Normal file
41
Source/HarmonyLink/Public/HarmonyLinkLibrary.h
Normal file
|
@ -0,0 +1,41 @@
|
|||
// Copyright (C) 2023 Jordon Brooks
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Kismet/BlueprintFunctionLibrary.h"
|
||||
#include "Structs/Battery.h"
|
||||
#include "Structs/CPUInfo.h"
|
||||
#include "Structs/FDevice.h"
|
||||
#include "Structs/OSVerInfo.h"
|
||||
#include "HarmonyLinkLibrary.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
UCLASS()
|
||||
class HARMONYLINK_API UHarmonyLinkLibrary : public UBlueprintFunctionLibrary
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
|
||||
static bool IsWine();
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
|
||||
static bool IsLinux();
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
|
||||
static bool IsSteamDeck();
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
|
||||
static FCPUInfo GetCPUInfo();
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
|
||||
static FDevice GetDeviceInfo();
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
|
||||
static FOSVerInfo GetOSInfo();
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="HarmonyLink")
|
||||
static FBattery GetBatteryStatus();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue