Added marketplace stuff

This commit is contained in:
Jordon Brooks 2024-01-08 16:53:13 +00:00
parent 56aa126e8e
commit fb8a01915e
No known key found for this signature in database
GPG key ID: 83964894E5D98D57
16 changed files with 131 additions and 61 deletions

View file

@ -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);
};