Files
FNGameProj/Plugins/CommonUI/Source/CommonInput/Public/CommonInputPlatformData.h
2024-01-21 00:41:14 +01:00

42 lines
1.3 KiB
C++

#pragma once
#include "CoreMinimal.h"
#include "ECommonGamepadType.h"
#include "ECommonInputType.h"
#include "CommonInputPlatformData.generated.h"
class UCommonInputControllerData;
USTRUCT(BlueprintType)
struct COMMONINPUT_API FCommonInputPlatformData {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
bool bSupported;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
ECommonInputType DefaultInputType;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
bool bSupportsMouseAndKeyboard;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
bool bSupportsGamepad;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
ECommonGamepadType DefaultGamepadType;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
bool bCanChangeGamepadType;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
bool bSupportsTouch;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TArray<TSoftClassPtr<UCommonInputControllerData>> ControllerData;
public:
FCommonInputPlatformData();
};