hello imma try to document parts of an undocumented thing
important stuff is stored here.
Object.
Integer. height in pixels
Integer. width in pixels
String. title of image maker
Array. Presumably short for "parts list" or something like that.
Each item is an object with these attributes:
Integer.
String. presumably part name
Integer. Number of colours available.
String. I think it's important in a later object
Array. Usually has 1 item. Item used in a later layers object.
Array. Each item is an object. The only seemingly relevant attribute is itmId
, an integer.
Integer. Appears to have the same value as the first entry in items
?
like we got x
and y
and probably relevant stuff
Object. Attributes appear to follow the format of cpId
.
Every attribute is an array (with length seemingly the available number of colours) of objects, each with these attributes:
Integer. Probably useful later.
String. Appears to be a hexadecimal representation of the colour in RGB format, prefixed by #
.
Object. Attributes appear to correspond to lyrs
from earlier, and values appear to be integers indicating layering order.
Object. Attributes appear to correspond to values of itmId
from earlier.
Each attribute is an object. Their attributes appear to correspond to values of lyrs
's children from earlier.
Each attribute is an object. Their attributes appear to correspond to values of cId
from earlier.
Contains the attribute url
, a string. Is a relative URL to the location of an image. Base URL is presumably config.baseUrl
.
<number>
is state.imageMakerId
JSON string. When parsed, is an object with pId
s as keys