Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SkinPack.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/json/Value.h"
7
8// auto generated forward declare list
9// clang-format off
10class Pack;
11class Skin;
12// clang-format on
13
14class SkinPack {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 16, ::gsl::not_null<::std::shared_ptr<::Pack>>> mPack;
19 ::ll::TypedStorage<8, 32, ::std::string> mName;
20 ::ll::TypedStorage<8, 32, ::std::string> mLocName;
21 ::ll::TypedStorage<8, 32, ::std::string> mSerializableName;
22 ::ll::TypedStorage<8, 16, ::Json::Value> mGeometryData;
23 ::ll::TypedStorage<1, 1, bool> mRequireTrustedContent;
24 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::Skin>>> mSkins;
25 // NOLINTEND
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCNAPI void addSkin(::Skin skin);
31
32 MCNAPI void loadGeometry(::std::string const& content);
33
34 MCNAPI void releaseGeometry();
35
36 MCNAPI void setSkinAt(::Skin skin, int index);
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCNAPI static ::std::string getGeometryAsset(::Pack const& pack);
43 // NOLINTEND
44};
Definition Pack.h:28
Definition SkinPack.h:5
MCAPI void addSkin(::Skin skin)
static MCAPI ::std::string getGeometryAsset(::Pack const &pack)
MCAPI void releaseGeometry()
MCAPI void loadGeometry(::std::string const &content)
MCAPI void setSkinAt(::Skin skin, int index)
Definition Skin.h:5