ObjectType:enumtype
Jump to navigation
Jump to search
Contents
Overview
enum | |
Defined By | LavishScriptnone |
Inherits | same as Name |
Reduces To | enum |
Variable Object Type | no |
Uses Sub-Types | void * |
C/C++ Type | {{{7}}} |
The enum type provides access to get and set available values for the type. The enum type can then be used directly as a LavishScript Object Type.
Members
- string Name: Name of the enum type
- int64 ValueByName[name]: Retrieves a value by its name
- string NameByValue[#]: Retrieves a name by a given value (or for flags, a set of names from the combined value)
Methods
- SetValue[name,#]: Assigns a value to a given name
- GetIterator[iterator]: Sets an iterator for iterating the available values