EnumLuaTest
DEPRECATED OH NOOOOO
Enum value test
Fields
Value | Description | |
---|---|---|
Alpha | ||
Deprecated: Use Alpha or Delta. |
||
Delta | Prefer using Delta |
Methods
Requires an instance!
AsNumber(string)
Documentation stuff or something
AsNumber(withDefault: string = 'somethings') -> number
Parameters
Type | Name | Description |
---|---|---|
string | withDefault | This is a default value |
AsOverride(number)
Override with an int
AsOverride(number: number) -> number
Parameters
Type | Name | Description |
---|---|---|
number | number | Number is an int here |
AsOverride(string)
Override with a string
AsOverride(number: string) -> number
Parameters
Type | Name | Description |
---|---|---|
string | number | Number is a string here |