3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/file/PathBuffer.h"
7#include "mc/deps/core/resource/ResourceLocation.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9#include "mc/deps/core_graphics/file_watcher/FileWatcherHandle.h"
10#include "mc/world/actor/player/SerializedSkinRef.h"
17namespace Core {
class Path; }
18namespace mce {
struct Image; }
24 enum class SkinType :
int {};
29 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mSkinTextureName;
30 ::ll::TypedStorage<8, 8, ::SkinPack const*> mSkinPack;
31 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::FileWatcherUpdate>> mFileWatcherUpdate;
32 ::ll::TypedStorage<8, 32, ::std::string> mName;
33 ::ll::TypedStorage<8, 32, ::std::string> mLocName;
34 ::ll::TypedStorage<8, 32, ::std::string> mSerializableName;
35 ::ll::TypedStorage<8, 32, ::std::string> mSerializableLegacyName;
36 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mCapeTextureName;
37 ::ll::TypedStorage<8, 56, ::ResourceLocation> mSkinImageLocation;
38 ::ll::TypedStorage<8, 56, ::ResourceLocation> mCapeImageLocation;
39 ::ll::TypedStorage<8, 56, ::ResourceLocation> mAnimationsLocation;
40 ::ll::TypedStorage<8, 56, ::ResourceLocation> mAnimationControllersLocation;
41 ::ll::TypedStorage<4, 4, ::Skin::SkinType> mSkinType;
42 ::ll::TypedStorage<8, 16, ::mce::FileWatcherHandle> mSkinFileWatcherHandle;
43 ::ll::TypedStorage<8, 16, ::mce::FileWatcherHandle> mCapeFileWatcherHandle;
44 ::ll::TypedStorage<4, 4, int> mSkinIndex;
45 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastUpdated;
46 ::ll::TypedStorage<1, 1, bool> mIsCapeOnClassicSkin;
47 ::ll::TypedStorage<8, 32, ::std::string> mCapeId;
48 ::ll::TypedStorage<8, 16, ::SerializedSkinRef> mSerializedSkin;
53 Skin& operator=(Skin
const&);
59 MCNAPI
Skin(::Skin
const& rhs);
65 ::std::string
const& name,
68 ::std::string
const& skinTypeName,
73 MCNAPI ::mce::Image
const*
74 getCapeImage(::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics>
const& minecraftGraphics,
bool isPlayer)
const;
78 MCNAPI ::mce::Image
const*
79 getSkinImage(::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics>
const& minecraftGraphics)
const;
83 MCNAPI
void setCapeTextureName(::std::string
const& capeId, ::std::string
const& capeTextureName);
91 MCNAPI
void*
$ctor(::Skin
const& rhs);
93 MCNAPI
void*
$ctor(::Skin&& rhs);
97 ::std::string
const& name,
100 ::std::string
const& skinTypeName,
Definition MinecraftGraphics.h:5
Definition SerializedSkinRef.h:26
MCAPI::mce::Image const * getSkinImage(::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics > const &minecraftGraphics) const
MCAPI void * $ctor(::Skin const &rhs)
MCAPI bool isCustomSkin() const
MCAPI Skin(::SkinPack &skinPack, ::std::string const &name, ::Core::Path const &skinTextureName, ::Core::Path const &capeTextureName, ::std::string const &skinTypeName, ::SerializedSkinRef skinInfo, int skinIndex)
MCAPI void * $ctor(::Skin &&rhs)
MCAPI::std::string getNameWithCapeIdAppended() const
MCAPI Skin(::Skin const &rhs)
MCAPI void setCapeTextureName(::std::string const &capeId, ::std::string const &capeTextureName)
MCAPI::mce::Image const * getCapeImage(::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics > const &minecraftGraphics, bool isPlayer) const
MCAPI void * $ctor(::SkinPack &skinPack, ::std::string const &name, ::Core::Path const &skinTextureName, ::Core::Path const &capeTextureName, ::std::string const &skinTypeName, ::SerializedSkinRef skinInfo, int skinIndex)
Definition FileWatcherUpdate.h:5