Operating System Simulator Plugin
3.5.1
Unreal Engine plugin that simulates an Operating System Environment
|
Structure representing a bank setting in the operating system. More...
#include "OperatingSystemBankSetting.h"
Public Member Functions | |
FORCEINLINE bool | IsValid () const |
Checks if the bank setting is valid. | |
FORCEINLINE bool | operator== (const FOperatingSystemBankSetting &Other) const |
FORCEINLINE bool | operator!= (const FOperatingSystemBankSetting &Other) const |
FOperatingSystemBankSetting () | |
Default constructor for initializing an instance of FOperatingSystemBankSetting. | |
Static Public Member Functions | |
static FORCEINLINE int64 | GenerateAccountNumber () |
Generates a random account number within the range defined by ACC_MIN and ACC_MAX. | |
Public Attributes | |
FName | BankName |
FName | BankIdentifier |
FName | CurrencyShortCode |
float | TransactionChargePercentage |
Represents the transaction charge percentage for a bank setting in the operating system. The value should be between 0 and 70. It is used to calculate the transaction charge for a given amount. | |
TSoftObjectPtr< UObject > | Icon |
Represents the icon associated with a bank setting in the operating system. | |
Static Public Attributes | |
static constexpr int64 | ACC_MIN |
Minimum account number for a bank setting in the operating system. | |
static constexpr int64 | ACC_MAX |
Maximum account number for a bank setting in the operating system. | |
Friends | |
uint32 | GetTypeHash (const FOperatingSystemBankSetting &Other) |
Calculates the hash value for an instance of FOperatingSystemBankSetting. | |
Structure representing a bank setting in the operating system.
|
inline |
Default constructor for initializing an instance of FOperatingSystemBankSetting.
This constructor initializes the member variables of the FOperatingSystemBankSetting struct to their default values.
|
inlinestatic |
Generates a random account number within the range defined by ACC_MIN and ACC_MAX.
|
inline |
Checks if the bank setting is valid.
A bank setting is considered valid if the following conditions are met:
|
inline |
|
inline |
|
friend |
Calculates the hash value for an instance of FOperatingSystemBankSetting.
The hash value is calculated using the xor operator on the hash values of the individual properties of FOperatingSystemBankSetting.
Other | - The FOperatingSystemBankSetting instance for which the hash value should be calculated. |
|
staticconstexpr |
Maximum account number for a bank setting in the operating system.
This value represents the maximum allowable account number for a bank setting in the operating system. The account number should be less than or equal to this value.
|
staticconstexpr |
Minimum account number for a bank setting in the operating system.
This value represents the minimum allowable account number for a bank setting in the operating system. The account number should be greater than or equal to this value.
FName FOperatingSystemBankSetting::BankIdentifier |
A unique name for this bank. Must be unique and non empty.
FName FOperatingSystemBankSetting::BankName |
Represents the name of the bank. Cannot be empty.
FName FOperatingSystemBankSetting::CurrencyShortCode |
Short code is used to identify a currency. It must be unique and non-empty. E.g: USD, INR etc.
TSoftObjectPtr<UObject> FOperatingSystemBankSetting::Icon |
Represents the icon associated with a bank setting in the operating system.
The icon is a soft object pointer to a UObject. It is used to display a thumbnail image and is allowed to be of types Texture or MaterialInterface.
float FOperatingSystemBankSetting::TransactionChargePercentage |
Represents the transaction charge percentage for a bank setting in the operating system. The value should be between 0 and 70. It is used to calculate the transaction charge for a given amount.