endstone::Skin
Represents a player skin.
Functions:
Name | Description |
---|---|
Skin | |
getCapeId | Gets the cape id. |
getCapeImage | Gets the cape image. |
getId | Gets the skin id. |
getImage | Gets 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