Operating System Simulator Plugin
3.5.1
Unreal Engine plugin that simulates an Operating System Environment
|
Structure representing a credit card in the operating system. More...
#include "OperatingSystemBankTypes.h"
Public Member Functions | |
FORCEINLINE bool | IsValid () const |
FORCEINLINE bool | HasExpired () const |
FOperatingSystemCreditCard () | |
Static Public Member Functions | |
static FORCEINLINE FOperatingSystemCreditCard | CreateNewCreditCard (const FOperatingSystemCreditCardSetting &InCardType) |
Public Attributes | |
FName | Name |
int64 | CardNumber |
Protected Attributes | |
FOperatingSystemCreditCardSetting | CardSetting |
int32 | CVV |
uint8 | ExpiryMonth |
int32 | ExpiryYear |
Structure representing a credit card in the operating system.
|
inline |
Default constructor
|
inlinestatic |
Creates a new credit card based on the given card type.
InCardType | The credit card type to create the new card from. |
|
inline |
Checks if the credit card has expired.
A credit card is considered expired if:
|
inline |
Checks if the credit card is valid.
A credit card is considered valid if:
int64 FOperatingSystemCreditCard::CardNumber |
The card number associated with a credit card. This variable is an int64 representing the 16-digit card number. It is used to uniquely identify a credit card and validate its existence. The card number is stored in the range between 1000000000000000 and 9000000000000000.
|
protected |
Store the settings for a specific credit card.
|
protected |
The Card Verification Value (CVV) associated with a credit card.
|
protected |
Month component of the credit card's expiry date. Valid values range between 1 and 12.
|
protected |
Represents the year component of a credit card's expiry date.
The ExpiryYear variable is an int32 representing the year of the credit card's expiry date. It should be set to a value that is equal to or greater than the current year.
FName FOperatingSystemCreditCard::Name |
Name of this card. Like Master card, Visa etc.