Lua API
On this page

Subpalette

Inherits from

Contains data for a subpalette

Fields:

NumColors number

The number of palette entries to copy. This is multiplied by 8. If it is 0, it defaults to 256*8.

Offset number

The number of palette entries to skip

Palette number

palette DataID (minus 0x04000000)

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string