Skip to content

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 the name 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 a name 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.
Clone this wiki locally