Skip to Content
⚠ Under Construction
ReferenceC++ APISkin

endstone::Skin

Represents a player skin.

Functions:

NameDescription
Skin
getCapeIdGets the cape id.
getCapeImageGets the cape image.
getIdGets the skin id.
getImageGets the skin image.

Skin

Skin(std::string id, Image image, std::optional<std::string> cape_id = std::nullopt, std::optional<Image> cape_image = std::nullopt)

getCapeId

const std::optional<std::string> &getCapeId() const

Gets the cape id.

Returns:

the cape id.

getCapeImage

const Image *getCapeImage() const

Gets the cape image.

Returns:

the cape image.

getId

const std::string &getId() const

Gets the skin id.

Returns:

the skin id.

getImage

const Image &getImage() const

Gets the skin image.

Returns:

the skin image.

Last updated on