LeviLamina
Loading...
Searching...
No Matches
ItemParseContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/world/item/registry/ItemVersion.h"
8
9// auto generated forward declare list
10// clang-format off
11struct ItemIconInfo;
12// clang-format on
13
15public:
16 // ItemParseContext inner types define
17 enum class LoadMode : int {
18 Client = 0,
19 Server = 1,
20 };
21
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<4, 4, ::ItemVersion> mItemVersion;
26 ::ll::TypedStorage<4, 4, ::ItemParseContext::LoadMode> mLoadMode;
27 ::ll::TypedStorage<8, 8, ::std::optional<::ItemIconInfo> (*)(::std::string const&, int)> mItemIconFactory;
28 ::ll::TypedStorage<8, 64, ::std::unordered_set<::std::string>> mParsedDefinitions;
29 ::ll::TypedStorage<8, 64, ::std::unordered_set<::std::string>> mUnverifiedItemOverrideNames;
30 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::ItemVersion>> mVanillaItemVersionMap;
31 // NOLINTEND
32};
Definition ItemIconInfo.h:5
Definition ItemParseContext.h:14