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
10
class
ItemRegistry
;
11
// clang-format on
12
13
class
ItemRegistryManager
{
14
public
:
15
// ItemRegistryManager inner types declare
16
// clang-format off
17
class
ScopedItemRegistry
;
18
// clang-format on
19
20
// ItemRegistryManager inner types define
21
class
ScopedItemRegistry
{
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
31
ScopedItemRegistry
();
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
56
public
:
57
// static functions
58
// NOLINTBEGIN
59
MCAPI static ::ItemRegistryRef getItemRegistry();
60
61
MCAPI
static
void
setItemRegistry(
::ItemRegistryRef
registryRef);
62
// NOLINTEND
63
64
public
:
65
// static variables
66
// NOLINTBEGIN
67
MCAPI static ::std::weak_ptr<::ItemRegistry>& mThreadLocalRegistry();
68
// NOLINTEND
69
};
ItemRegistryManager::ScopedItemRegistry
Definition
ItemRegistryManager.h:21
ItemRegistryManager
Definition
ItemRegistryManager.h:13
ItemRegistryRef
Definition
ItemRegistryRef.h:34
ItemRegistry
Definition
ItemRegistry.h:43
src-server
mc
world
item
registry
ItemRegistryManager.h
Generated on Sun Oct 12 2025 06:32:24 for LeviLamina by
1.12.0