Class endstone::Skin¶
Represents a player skin.
#include <endstone/skin.h>
Classes¶
| Type | Name | 
|---|---|
| struct | ImageData  | 
Public Functions¶
| Type | Name | 
|---|---|
| Skin () = default | 
|
| Skin (std::string skin_id, ImageData skin_data, std::optional< std::string > cape_id=std::nullopt, std::optional< ImageData > cape_data=std::nullopt)  | 
|
| const std::optional< ImageData > & | getCapeData () const Gets the cape data.  | 
| const std::optional< std::string > & | getCapeId () const Gets the cape id.  | 
| const ImageData & | getSkinData () const Gets the skin data.  | 
| const std::string & | getSkinId () const Gets the skin id.  | 
Public Functions Documentation¶
function Skin [½]¶
function Skin [2/2]¶
inline endstone::Skin::Skin (
    std::string skin_id,
    ImageData skin_data,
    std::optional< std::string > cape_id=std::nullopt,
    std::optional< ImageData > cape_data=std::nullopt
) 
function getCapeData¶
Gets the cape data.
Returns:
the cape data.
function getCapeId¶
Gets the cape id.
Returns:
the cape id.
function getSkinData¶
Gets the skin data.
Returns:
the skin data.
function getSkinId¶
Gets the skin id.
Returns:
the skin id.
The documentation for this class was generated from the following file include/endstone/skin.h