LeviLamina
Loading...
Searching...
No Matches
PacksInfoData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/resource/PackIdVersion.h"
7
8// auto generated forward declare list
9// clang-format off
10class ContentIdentity;
11struct PackInfoData;
12// clang-format on
13
14struct PacksInfoData {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<1, 1, bool> mResourcePackRequired;
19 ::ll::TypedStorage<1, 1, bool> mHasAddonPacks;
20 ::ll::TypedStorage<1, 1, bool> mHasScripts;
21 ::ll::TypedStorage<1, 1, bool> mForceDisableVibrantVisuals;
22 ::ll::TypedStorage<8, 48, ::PackIdVersion> mWorldTemplateIdAndVersion;
23 ::ll::TypedStorage<8, 24, ::std::vector<::PackInfoData>> mResourcePacks;
24 // NOLINTEND
25
26#ifdef LL_PLAT_S
27#else // LL_PLAT_C
28public:
29 // prevent constructor by default
30 PacksInfoData& operator=(PacksInfoData const&);
31 PacksInfoData(PacksInfoData const&);
32 PacksInfoData();
33
34#endif
35public:
36 // member functions
37 // NOLINTBEGIN
38#ifdef LL_PLAT_C
39 MCAPI ::std::unordered_map<::ContentIdentity, ::std::string> collectKeys() const;
40#endif
41
42 MCAPI uint64 getRequiredResourcePackSize() const;
43
44 MCAPI uint64 getResourcePackSize() const;
45
46#ifdef LL_PLAT_C
47 MCAPI ::PacksInfoData& operator=(::PacksInfoData&&);
48#endif
49
50 MCAPI ~PacksInfoData();
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCAPI void $dtor();
57 // NOLINTEND
58};
Definition ContentIdentity.h:8
Definition PackInfoData.h:15