Fix Stuff
This commit is contained in:
parent
55d2a1a45c
commit
62cf609a89
11 changed files with 321 additions and 39 deletions
30
Source/HarmonyLink/Public/Structs/Device.h
Normal file
30
Source/HarmonyLink/Public/Structs/Device.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Enums/DeviceEnum.h"
|
||||
#include "Enums/Platform.h"
|
||||
#include <Structs/FDevice.h>
|
||||
|
||||
#include "Device.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
USTRUCT(BlueprintType)
|
||||
struct FDevice
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
FDevice() {}
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
||||
EPlatform Platform = EPlatform::WINDOWS;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
||||
EDeviceEnum Device = EDeviceEnum::DESKTOP;
|
||||
|
||||
FDevice(HarmonyLinkLib::FDevice* oldDevice);
|
||||
|
||||
static EDeviceEnum Convert(HarmonyLinkLib::EDevice Device);
|
||||
static EPlatform Convert(HarmonyLinkLib::EPlatform Platform);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue