LeviLamina
Loading...
Searching...
No Matches
TradeTables.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/deps/puv/puv_load_data/LoadResultWithTiming.h"
8
9// auto generated forward declare list
10// clang-format off
12class Level;
15struct TradeTable;
16namespace Core { class Path; }
17// clang-format on
18
20public:
21 // TradeTables inner types declare
22 // clang-format off
23 struct TradeTableLoadData;
24 // clang-format on
25
26 // TradeTables inner types define
28 public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<8, 32, ::std::string> mPackName;
32 ::ll::TypedStorage<8, 32, ::PuvLoadData::LoadResultWithTiming> mLoadTime;
33 // NOLINTEND
34 };
35
36public:
37 // member variables
38 // NOLINTBEGIN
39 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::TradeTable>>> mTradeTables;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI ::TradeTables::TradeTableLoadData _parseAndStoreTradeTable(
46 ::Level& level,
47 ::ResourcePackManager* resourceLoader,
48 ::Core::Path const& tradeTablePath,
49 bool usingUpcomingCreatorFeaturesExperiment,
51 );
52
53 MCAPI ::TradeTable* fetchTable(::std::string const& path);
54
55 MCAPI void reload(::Level& level, bool usingUpcomingCreatorFeaturesExperiment, ::IMinecraftEventing& eventing);
56 // NOLINTEND
57};
Definition NonOwnerPointer.h:9
Definition Path.h:11
Definition IMinecraftEventing.h:147
Definition Level.h:254
Definition LinkedAssetValidator.h:8
Definition ResourcePackManager.h:36
Definition TradeTables.h:19
Definition TradeTable.h:13
Definition TradeTables.h:27