enum CatspeakPreset
GameMaker Language (.gml)Copyenum CatspeakPreset {
TYPE,
ARRAY,
STRUCT,
STRING,
MATH,
MATH_3D,
COLOUR,
DRAW,
RANDOM,
UNSAFE,
// 1 fields omitted
}
🔬 This is an experimental feature. It may change at any moment.
Represents the set of environment presets understood by Catspeak.
When used with setPreset
, this enum determines what GML
functions, constants, and keywords get exposed.
§ TYPEtop ^
GameMaker Language (.gml)CopyTYPE
Exposes safe type checking and type conversion functions.
§ ARRAYtop ^
GameMaker Language (.gml)CopyARRAY
Exposes safe array functions.
§ STRUCTtop ^
GameMaker Language (.gml)CopySTRUCT
Exposes safe struct functions.
§ STRINGtop ^
GameMaker Language (.gml)CopySTRING
Exposes safe string functions.
§ MATHtop ^
GameMaker Language (.gml)CopyMATH
Exposes safe mathematical and statistical functions.
§ MATH_3Dtop ^
GameMaker Language (.gml)CopyMATH_3D
Exposes safe 3D functions.
§ COLOURtop ^
GameMaker Language (.gml)CopyCOLOUR
Exposes safe colour functions and constants.
§ DRAWtop ^
GameMaker Language (.gml)CopyDRAW
Exposes safe drawing functions.
§ RANDOMtop ^
GameMaker Language (.gml)CopyRANDOM
Exposes safe randomisation functions.
§ UNSAFEtop ^
GameMaker Language (.gml)CopyUNSAFE
Exposes unsafe reflection and debug functions. Use this preset with extreme caution, because all bets are off.