Skin

Player's skin that will be sent to Minecraft: Pocket Edition clients. If the server only allows Minecraft players this type's fields should be empty.

Members

Functions

decode
void decode(Buffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
encode
void encode(Buffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

FIELDS
enum string[] FIELDS;
Undocumented in source.
data
ubyte[] data;

RGBA map of the skin colours. Length should be, if the skin is not empty, 8192 (64x32) or 16384 (64x64) bytes.

name
string name;

Name of the skin.

Meta