E_InputTypes - DragoniteSpam/Emu GitHub Wiki
This is an enum representing the possible data types which may be accepted by an EmuInput box.
enum E_InputTypes {
STRING = 0,
INT = 1,
REAL = 2,
HEX = 3,
};
- A
STRINGwill validate any text input. - An
INTEGERwill validate any whole number (positive or negative, including an exponent, e.g.2.1e5in place of210000). - A
REALnumber will validate any number at all (positive or negative, including an exponent). - A
HEXnumber will validate any number written in base-16, which includes the numbers0through9as well as the lettersathroughf(case insensitive). Hexadecimal values may not have a fractional part.