Class endstone::Skin¶
Represents a player skin.
#include <endstone/skin.h>
Public Functions¶
Type | Name |
---|---|
Skin (std::string id, Image image, std::optional< std::string > cape_id=std::nullopt, std::optional< Image > cape_image=std::nullopt) |
|
const std::optional< std::string > & | getCapeId () const Gets the cape id. |
const Image * | getCapeImage () const Gets the cape image. |
const std::string & | getId () const Gets the skin id. |
const Image & | getImage () const Gets the skin image. |
Public Functions Documentation¶
function Skin¶
inline endstone::Skin::Skin (
std::string id,
Image image,
std::optional< std::string > cape_id=std::nullopt,
std::optional< Image > cape_image=std::nullopt
)
function getCapeId¶
Gets the cape id.
Returns:
the cape id.
function getCapeImage¶
Gets the cape image.
Returns:
the cape image.
function getId¶
Gets the skin id.
Returns:
the skin id.
function getImage¶
Gets the skin image.
Returns:
the skin image.
The documentation for this class was generated from the following file include/endstone/skin.h