Operating System Simulator Plugin
3.5.1
Unreal Engine plugin that simulates an Operating System Environment
|
Represents an email address and password for use in an operating system. More...
#include "OperatingSystemEmail.h"
Public Member Functions | |
FORCEINLINE bool | IsValid () const |
Checks if the email address and password stored in the FOperatingSystemEmail struct are valid. | |
FORCEINLINE bool | operator== (const FOperatingSystemEmail &Other) const |
cond | |
FORCEINLINE bool | operator!= (const FOperatingSystemEmail &Other) const |
FOperatingSystemEmail () | |
Default constructor for the FOperatingSystemEmail struct. | |
FOperatingSystemEmail (const FText &Email, const FText &Password) | |
Constructs a new FOperatingSystemEmail object. | |
FOperatingSystemEmail (const FString &Email, const FString &Password) | |
Constructs a new FOperatingSystemEmail object. | |
Public Attributes | |
FText | EmailAddress |
FText | Password |
Friends | |
uint32 | GetTypeHash (const FOperatingSystemEmail &Other) |
Calculates the hash value for an instance of the FOperatingSystemEmail struct. | |
Represents an email address and password for use in an operating system.
This struct is used to store and validate an email address and password for use in an operating system.
|
inline |
Default constructor for the FOperatingSystemEmail struct.
This constructor initializes the EmailAddress and Password members of the FOperatingSystemEmail struct with empty FText objects and is considered invalid.
|
inline |
Constructs a new FOperatingSystemEmail object.
This constructor initializes the EmailAddress and Password members of the FOperatingSystemEmail struct with the provided email and password values.
The email address to be stored in the FOperatingSystemEmail struct. | |
Password | The password to be stored in the FOperatingSystemEmail struct. |
|
inline |
Constructs a new FOperatingSystemEmail object.
This constructor initializes the EmailAddress and Password members of the FOperatingSystemEmail struct with the provided email and password values.
The email address to be stored in the FOperatingSystemEmail struct, as a FString. | |
Password | The password to be stored in the FOperatingSystemEmail struct, as a FString. |
|
inline |
Checks if the email address and password stored in the FOperatingSystemEmail
struct are valid.
This method performs internal verification of the email address using regular expression pattern matching. Additionally, it checks if the password is not empty or only contains whitespace characters.
|
inline |
|
inline |
cond
|
friend |
Calculates the hash value for an instance of the FOperatingSystemEmail struct.
This function calculates the hash value for an instance of the FOperatingSystemEmail struct by combining the hash values of the email address and password using the XOR operator (^).
Other | The FOperatingSystemEmail struct for which to calculate the hash value. |
FText FOperatingSystemEmail::EmailAddress |
Stores the email address for use in the operating system.
FText FOperatingSystemEmail::Password |
Stores the password