Added marketplace stuff
This commit is contained in:
parent
56aa126e8e
commit
fb8a01915e
16 changed files with 131 additions and 61 deletions
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2023 Jordon Brooks
|
||||
// Copyright (C) 2024 Jordon Brooks
|
||||
|
||||
#pragma once
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
|||
#include "CoreMinimal.h"
|
||||
#include "CPUInfo.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
/*
|
||||
* Represents information about the CPU of a device.
|
||||
*/
|
||||
USTRUCT(BlueprintType)
|
||||
struct FCPUInfo
|
||||
|
@ -17,20 +17,27 @@ struct FCPUInfo
|
|||
|
||||
FCPUInfo() {}
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
||||
// The vendor identifier for the CPU.
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category="HarmonyLink")
|
||||
FString VendorID;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
||||
// The model name of the CPU.
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category="HarmonyLink")
|
||||
FString ModelName;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
||||
// The number of physical cores in the CPU.
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category="HarmonyLink")
|
||||
int32 PhysicalCores = 0;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
||||
// The number of logical cores in the CPU (may be different from physical cores).
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category="HarmonyLink")
|
||||
int32 LogicalCores = 0;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
||||
// A set of flags representing various features or capabilities of the CPU.
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category="HarmonyLink")
|
||||
TSet<FString> Flags;
|
||||
|
||||
// Constructor that initializes the struct with information from an external CPU info source.
|
||||
// @param cpu_info Pointer to an external FCPUInfo structure to copy data from.
|
||||
FCPUInfo(HarmonyLinkLib::FCPUInfo* cpu_info);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue