ObjectType:enumtype
Revision as of 00:20, 28 June 2018 by Lax (talk | contribs) (Created page with "== Overview == {{ObjectType-Vitals|enum|LavishScriptnone|same as Name|enum|no|void *}} The enum type provides access to get and set available values for the type. The enu...")
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