Keywords
enum
This keyword allows the creation of an enumeration, enum for short. Enums are unique constructs that hold groups of predefined constants. Each field in an enum has a const string title. Scripts can access the fields in an enum using dot notation, similar to accessing the fields of a user-defined type. Each field represents a value of the enumName enum. Scripts can declare each field in an enum with an optional const string title. If a field's title is not specified, its title is the string representation of its name. Use str.tostring on an enum field to retrieve its title.
Syntax
enum <enum_name> {
<enum_field> [= <title>]
...
}