Operating System Simulator Plugin
3.5.1
Unreal Engine plugin that simulates an Operating System Environment
|
The UOperatingSystemPluginSettings class holds the settings for the Operating System plugin. More...
#include "OperatingSystemPluginSettings.h"
Public Member Functions | |
UOperatingSystemPluginSettings () | |
TSoftClassPtr< UOperatingSystemUserManager > | GetUserManagerClass () const |
Retrieves the class pointer to the user manager specified in the settings. If the user manager class is not set, it returns the default class pointer for UOperatingSystemUserManager. | |
TSoftClassPtr< UOperatingSystemBankManager > | GetBankClass () const |
Returns the class object of the Operating System Bank Manager. This method returns the class object of the Operating System Bank Manager. If the BankClass is null, it returns the StaticClass of UOperatingSystemBankManager. | |
TSoftClassPtr< UOperatingSystemMailManager > | GetMailClass () const |
Returns the mail class configured in the operating system plugin settings. This method returns the mail class configured in the operating system plugin settings. If no mail class is configured, then it returns the default mail class, UOperatingSystemMailManager::StaticClass(). | |
FString | GetUserManagerSaveSlotName () const |
Retrieves the name of the save game slot to use for the User Manager class. If the UserManagerSaveSlotName property is not set, it returns the fallback save slot name specified in UserManagerFallbackSaveSlotName. | |
FString | GetBankSaveSlotName () const |
Retrieves the name of the save game slot to use for the Bank class. If the BankSaveSlotName property is not set, it returns the fallback save slot name specified in BankFallbackSaveSlotName. | |
FString | GetMailSaveSlotName () const |
Retrieves the name of the save game slot to use for the Mail class. This method returns the name of the save game slot to use for the Mail class. If the MailSaveSlotName property is not set, it returns the fallback save slot name specified in Mail FallbackSaveSlotName. | |
FOperatingSystemUser | GetNoReplyDefaultUserForMail () const |
Retrieves the default user for sending "no reply" emails. | |
FOperatingSystemUser | GetDefaultUser () const |
Retrieve the default user for the Operating System plugin. | |
FORCEINLINE TArray< FString > | GetAdditionalTerminalCommandsPath () const |
Returns an array of strings representing the additional terminal commands path. Each string represents a path to a terminal command. | |
Static Public Member Functions | |
static const UOperatingSystemPluginSettings * | Get () |
Retrieves an instance of UOperatingSystemPluginSettings. | |
static FORCEINLINE TArray< FString > | GetDefaultTerminalCommandPaths () |
Returns the default terminal command paths. The GetDefaultTerminalCommandPaths method returns an array of default terminal command paths. These paths are used to locate terminal command assets in the game. | |
The UOperatingSystemPluginSettings class holds the settings for the Operating System plugin.
The UOperatingSystemPluginSettings class is a subclass of UDeveloperSettings. It contains various properties to configure the behavior of the Operating System plugin.
UOperatingSystemPluginSettings::UOperatingSystemPluginSettings | ( | ) |
|
static |
Retrieves an instance of UOperatingSystemPluginSettings.
|
inline |
Returns an array of strings representing the additional terminal commands path. Each string represents a path to a terminal command.
TSoftClassPtr< UOperatingSystemBankManager > UOperatingSystemPluginSettings::GetBankClass | ( | ) | const |
Returns the class object of the Operating System Bank Manager. This method returns the class object of the Operating System Bank Manager. If the BankClass is null, it returns the StaticClass of UOperatingSystemBankManager.
FString UOperatingSystemPluginSettings::GetBankSaveSlotName | ( | ) | const |
Retrieves the name of the save game slot to use for the Bank class. If the BankSaveSlotName property is not set, it returns the fallback save slot name specified in BankFallbackSaveSlotName.
|
inlinestatic |
Returns the default terminal command paths. The GetDefaultTerminalCommandPaths method returns an array of default terminal command paths. These paths are used to locate terminal command assets in the game.
FOperatingSystemUser UOperatingSystemPluginSettings::GetDefaultUser | ( | ) | const |
Retrieve the default user for the Operating System plugin.
This function returns the default user for the Operating System plugin. If the user's profile is complete, the function will return the complete profile. Otherwise, it will return the default user.
TSoftClassPtr< UOperatingSystemMailManager > UOperatingSystemPluginSettings::GetMailClass | ( | ) | const |
Returns the mail class configured in the operating system plugin settings. This method returns the mail class configured in the operating system plugin settings. If no mail class is configured, then it returns the default mail class, UOperatingSystemMailManager::StaticClass().
FString UOperatingSystemPluginSettings::GetMailSaveSlotName | ( | ) | const |
Retrieves the name of the save game slot to use for the Mail class. This method returns the name of the save game slot to use for the Mail class. If the MailSaveSlotName property is not set, it returns the fallback save slot name specified in Mail FallbackSaveSlotName.
FOperatingSystemUser UOperatingSystemPluginSettings::GetNoReplyDefaultUserForMail | ( | ) | const |
Retrieves the default user for sending "no reply" emails.
This function returns the default user to be used for sending "no reply" emails. If the NoReplyDefaultUserForMail has a complete profile, that user is returned. Otherwise, the function returns the DefaultMailUser.
TSoftClassPtr< UOperatingSystemUserManager > UOperatingSystemPluginSettings::GetUserManagerClass | ( | ) | const |
Retrieves the class pointer to the user manager specified in the settings. If the user manager class is not set, it returns the default class pointer for UOperatingSystemUserManager.
FString UOperatingSystemPluginSettings::GetUserManagerSaveSlotName | ( | ) | const |
Retrieves the name of the save game slot to use for the User Manager class. If the UserManagerSaveSlotName property is not set, it returns the fallback save slot name specified in UserManagerFallbackSaveSlotName.