E_ListEntryTypes
Dragonite edited this page Dec 29, 2020
·
1 revision
This is an enum representing the possible data types which may be entries in an EmuList.
enum E_ListEntryTypes {
STRINGS = 0,
STRUCTS = 1,
SCRIPTS = 2,
};
- A list of
STRING
entries will draw each string. - A list of
STRUCT
entries will draw thename
variable of each struct (or GameMaker instance) in the list. Note that attempting to render a list of structs or instances which do not have aname
variable will throw an exception. - A list of
SCRIPT
entries will evaluate the script and draw the returned value. The script receives the current index of the list as a parameter.