Operating System Simulator Plugin
3.5.1
Unreal Engine plugin that simulates an Operating System Environment
|
#include "OperatingSystemDirectoriesCollection.h"
Public Member Functions | |
UOperatingSystemDirectoriesCollection () | |
void | Validate (FGenericError &OutError) |
bool | HasDirectoryWithTag (const FGameplayTag &TestTag, const bool bRecursive) const |
const TSet< TSoftClassPtr< UOperatingSystemDirectory > > & | GetDirectories () const |
Returns a constant reference to the set of operating system directories in the collection. | |
Protected Attributes | |
TSet< TSoftClassPtr< UOperatingSystemDirectory > > | Directories |
This class represents a collection of operating system directories in the game. It inherits from UDataAsset and allows for specifying and retrieving operating system directories for various operations. The class provides functions for validation and retrieval of directories based on tags.
UOperatingSystemDirectoriesCollection::UOperatingSystemDirectoriesCollection | ( | ) |
const TSet< TSoftClassPtr< UOperatingSystemDirectory > > & UOperatingSystemDirectoriesCollection::GetDirectories | ( | ) | const |
Returns a constant reference to the set of operating system directories in the collection.
This function retrieves the set of operating system directories stored in the collection. The returned set is constant and cannot be modified.
bool UOperatingSystemDirectoriesCollection::HasDirectoryWithTag | ( | const FGameplayTag & | TestTag, |
const bool | bRecursive ) const |
Checks if the operating system directories collection has a directory with the specified tag.
TestTag | The tag to search for. |
bRecursive | If true, also checks child directory collections recursively. |
void UOperatingSystemDirectoriesCollection::Validate | ( | FGenericError & | OutError | ) |
Validates the operating system directories collection.
OutError | The error struct to store validation errors. |
|
protected |
This property is used for specifying operating system directories in the game. The directories can be retrieved and used in various operations related to the operating system. The directories are specified as a set of TSoftClassPtr<UOperatingSystemDirectory> objects. These objects represent the directories and allow access to their properties and functions.