Updated to use the new plugin
This commit is contained in:
parent
174a73d160
commit
509d6aab73
36 changed files with 788 additions and 753 deletions
29
Source/HarmonyLink/Public/Structs/Battery.h
Normal file
29
Source/HarmonyLink/Public/Structs/Battery.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
// Copyright (C) 2023 Jordon Brooks
|
||||
#pragma once
|
||||
|
||||
#include <HarmonyLinkLib.h>
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Battery.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
USTRUCT(BlueprintType)
|
||||
struct FBattery
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
FBattery() {}
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
||||
bool HasBattery = false;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
||||
bool IsACConnected = false;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
||||
int32 BatteryPercent = 0;
|
||||
|
||||
FBattery(HarmonyLinkLib::FBattery* battery);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue