LeviLamina
Loading...
Searching...
No Matches
TrimPatternRegistry.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
8// auto generated forward declare list
9// clang-format off
10class ItemRegistryRef;
11struct TrimPattern;
12// clang-format on
13
15public:
16 // TrimPatternRegistry inner types define
17 using PatternIdMapToTemplateItemId = ::std::unordered_map<::HashedString, ::HashedString>;
18
19 using TemplateItemIdToPatternIdMap = ::std::unordered_map<::HashedString, ::HashedString>;
20
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::HashedString>> mTemplateItemToPatternIdMap;
25 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::HashedString>> mPatternIdToTemplateItemMap;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI bool doesPatternExist(::HashedString const& patternId) const;
32
33 MCAPI ::std::vector<::TrimPattern> getAllEntries() const;
34
35#ifdef LL_PLAT_C
36 MCAPI ::HashedString const& getItemIdByPattern(::HashedString const& patternId) const;
37#endif
38
39 MCAPI ::std::optional<::HashedString> getPatternIdByItem(::HashedString const& itemId) const;
40
41#ifdef LL_PLAT_C
42 MCAPI void initializeFromTrimPatterns(::std::vector<::TrimPattern> const& patterns);
43#endif
44
45 MCAPI void initializeServer(::ItemRegistryRef itemRegistry);
46
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCAPI void $dtor();
54 // NOLINTEND
55};
Definition HashedString.h:5
Definition ItemRegistryRef.h:42
Definition TrimPatternRegistry.h:14
Definition TrimPattern.h:8