Operating System Simulator Plugin  3.5.1
Unreal Engine plugin that simulates an Operating System Environment
Loading...
Searching...
No Matches
FOperatingSystemStoreProgramData Struct Reference

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< UOperatingSystemBaseProgramProgram
 
TSet< FOperatingSystemStoreReviewUserReviewUsers
 
TArray< TSoftObjectPtr< UObject > > Media
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FOperatingSystemStoreProgramData() [1/3]

FOperatingSystemStoreProgramData::FOperatingSystemStoreProgramData ( )
default

Default constructor

◆ FOperatingSystemStoreProgramData() [2/3]

FOperatingSystemStoreProgramData::FOperatingSystemStoreProgramData ( const TSoftClassPtr< UOperatingSystemBaseProgram > & Program,
const TSet< FOperatingSystemStoreReviewUser > & ReviewUsers )
inline

Constructor that initializes the program and review users.

Parameters
ProgramA soft reference to an instance of UOperatingSystemBaseProgram.
ReviewUsersA set of operating system store review users.
Returns
A new instance of FOperatingSystemStoreProgramData.

◆ FOperatingSystemStoreProgramData() [3/3]

FOperatingSystemStoreProgramData::FOperatingSystemStoreProgramData ( const TSoftClassPtr< UOperatingSystemBaseProgram > & Program,
const FOperatingSystemStoreReviewUser & NewUser )
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.

Parameters
ProgramA soft reference to an instance of UOperatingSystemBaseProgram.
NewUserThe user review to be added to the ReviewUsers set.

Member Data Documentation

◆ Media

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.

Warning
Soft object pointers may become invalid if the referenced asset is deleted or modified externally. Please consider handling null or invalid pointers during usage to prevent unwanted crashes or undefined behavior.

◆ Program

TSoftClassPtr<UOperatingSystemBaseProgram> FOperatingSystemStoreProgramData::Program

Program variable storing a soft reference to an instance of UOperatingSystemBaseProgram. It is a soft reference to a class UOperatingSystemBaseProgram.

◆ ReviewUsers

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.


The documentation for this struct was generated from the following file: