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() constGets the cape id.
Returns:
the cape id.
getCapeImage
const Image *getCapeImage() constGets the cape image.
Returns:
the cape image.
getId
const std::string &getId() constGets the skin id.
Returns:
the skin id.
getImage
const Image &getImage() constGets the skin image.
Returns:
the skin image.
Last updated on