Operating System Simulator Plugin
3.5.1
Unreal Engine plugin that simulates an Operating System Environment
|
Represents data for a program in the operating system's store. More...
#include "OperatingSystemStoreTypes.h"
Public Member Functions | |
FOperatingSystemStoreProgramData ()=default | |
FOperatingSystemStoreProgramData (const TSoftClassPtr< UOperatingSystemBaseProgram > &Program, const TSet< FOperatingSystemStoreReviewUser > &ReviewUsers) | |
FOperatingSystemStoreProgramData (const TSoftClassPtr< UOperatingSystemBaseProgram > &Program, const FOperatingSystemStoreReviewUser &NewUser) | |
Constructor that initializes the program and adds a new user review. | |
Public Attributes | |
TSoftClassPtr< UOperatingSystemBaseProgram > | Program |
TSet< FOperatingSystemStoreReviewUser > | ReviewUsers |
TArray< TSoftObjectPtr< UObject > > | Media |
Represents data for a program in the operating system's store.
This struct contains information about a program, including a soft reference to the program class, a set of review users, and an array of media objects (e.g., screenshots or videos). It also includes functions to compare two instances of the struct.
|
default |
Default constructor
|
inline |
Constructor that initializes the program and review users.
Program | A soft reference to an instance of UOperatingSystemBaseProgram. |
ReviewUsers | A set of operating system store review users. |
|
inline |
Constructor that initializes the program and adds a new user review.
This constructor creates a new instance of FOperatingSystemStoreProgramData and initializes the Program variable with a soft reference to an instance of UOperatingSystemBaseProgram. It also adds a new user review to the ReviewUsers set.
Program | A soft reference to an instance of UOperatingSystemBaseProgram. |
NewUser | The user review to be added to the ReviewUsers set. |
TArray<TSoftObjectPtr<UObject> > FOperatingSystemStoreProgramData::Media |
Typically used to specify screenshots or video. This variable only accepts objects of type Texture and Material.
This variable represents an array of soft object pointers to UObject. Soft object pointers are used to reference objects that may be loaded from disk or may already be loaded. They are stored as weak references, allowing the object to be garbage collected if no other references exist.
TSoftClassPtr<UOperatingSystemBaseProgram> FOperatingSystemStoreProgramData::Program |
Program variable storing a soft reference to an instance of UOperatingSystemBaseProgram. It is a soft reference to a class UOperatingSystemBaseProgram.
TSet<FOperatingSystemStoreReviewUser> FOperatingSystemStoreProgramData::ReviewUsers |
Class variable storing a set of operating system store review users.
This variable is used to store operating system store review users. Users are ready-only, meaning they cannot be modified directly.