API reference / @jsprismarine/protocol / SkinCape
Class: SkinCape
Defined in: protocol/src/bedrock/wire/structures/skin/SkinCape.ts:10
Cape identifier and pixel image carried inside a serialized player skin.
Constructors
Constructor
new SkinCape(
__namedParameters):SkinCape
Defined in: protocol/src/bedrock/wire/structures/skin/SkinCape.ts:14
Parameters
__namedParameters
Returns
SkinCape
Methods
getId()
getId():
string
Defined in: protocol/src/bedrock/wire/structures/skin/SkinCape.ts:20
Returns the cape's content identifier.
Returns
string
getImage()
getImage():
SkinImage
Defined in: protocol/src/bedrock/wire/structures/skin/SkinCape.ts:25
Returns the cape image.