LeviLamina
Loading...
Searching...
No Matches
ItemRegistryManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/registry/ItemRegistryRef.h"
7
8// auto generated forward declare list
9// clang-format off
10class ItemRegistry;
11// clang-format on
12
14public:
15 // ItemRegistryManager inner types declare
16 // clang-format off
18 // clang-format on
19
20 // ItemRegistryManager inner types define
22 public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<1, 1, bool> mIsSet;
26 ::ll::TypedStorage<8, 16, ::ItemRegistryRef> mPreviousRegistry;
27 // NOLINTEND
28
29 public:
30 // prevent constructor by default
32
33 public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI explicit ScopedItemRegistry(::std::weak_ptr<::ItemRegistry> registry);
37
38 MCAPI void construct(::ItemRegistryRef registryRef);
39
40 MCAPI ~ScopedItemRegistry();
41 // NOLINTEND
42
43 public:
44 // constructor thunks
45 // NOLINTBEGIN
46 MCAPI void* $ctor(::std::weak_ptr<::ItemRegistry> registry);
47 // NOLINTEND
48
49 public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCAPI void $dtor();
53 // NOLINTEND
54 };
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCAPI static ::ItemRegistryRef getItemRegistry();
60
61 MCAPI static void setItemRegistry(::ItemRegistryRef registryRef);
62 // NOLINTEND
63
64public:
65 // static variables
66 // NOLINTBEGIN
67 MCAPI static ::std::weak_ptr<::ItemRegistry>& mThreadLocalRegistry();
68 // NOLINTEND
69};
Definition ItemRegistryManager.h:21
Definition ItemRegistryManager.h:13
Definition ItemRegistryRef.h:34
Definition ItemRegistry.h:43