LeviLamina
Loading...
Searching...
No Matches
Model.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/GameVersion.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace BlockGeometry { struct Element; }
11namespace BlockGeometry { struct ElementBox; }
12namespace Json { class Value; }
13// clang-format on
14
15namespace BlockGeometry {
16
17struct Model {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 56, ::GameVersion> mVersion;
22 ::ll::TypedStorage<8, 32, ::std::string> mName;
23 ::ll::TypedStorage<8, 32, ::std::string> mParent;
24 ::ll::TypedStorage<8, 24, ::std::vector<::BlockGeometry::Element>> mElements;
25 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::string>> mTextureMap;
26 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mTextureList;
27 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mTextureStack;
28 // NOLINTEND
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI void LoadModel(::Json::Value const& root);
34
35 MCAPI void _loadBoxes(::Json::Value const& boxes, ::BlockGeometry::Element& curElement);
36
37 MCAPI void _loadFaces(::Json::Value const& faces, ::BlockGeometry::ElementBox& curBox);
38
39 MCAPI ~Model();
40 // NOLINTEND
41
42public:
43 // destructor thunk
44 // NOLINTBEGIN
45 MCAPI void $dtor();
46 // NOLINTEND
47};
48
49} // namespace BlockGeometry
Definition Value.h:16
Definition ElementBox.h:7
Definition Element.h:7
Definition Model.h:7