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/platform/threading/ThreadLocalObject.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ItemRegistry
;
11
class
ItemRegistryRef
;
12
// clang-format on
13
14
class
ItemRegistryManager
{
15
public
:
16
// ItemRegistryManager inner types declare
17
// clang-format off
18
class
ScopedItemRegistry
;
19
// clang-format on
20
21
// ItemRegistryManager inner types define
22
class
ScopedItemRegistry
{
23
public
:
24
// member variables
25
// NOLINTBEGIN
26
::ll::UntypedStorage<1, 1>
mUnk7a3173;
27
::ll::UntypedStorage<8, 16>
mUnk2d4641;
28
// NOLINTEND
29
30
public
:
31
// prevent constructor by default
32
ScopedItemRegistry
& operator=(
ScopedItemRegistry
const
&);
33
ScopedItemRegistry
(
ScopedItemRegistry
const
&);
34
ScopedItemRegistry
();
35
36
public
:
37
// member functions
38
// NOLINTBEGIN
39
MCAPI
explicit
ScopedItemRegistry
(::std::weak_ptr<::ItemRegistry> registry);
40
41
MCAPI
void
construct(
::ItemRegistryRef
registryRef);
42
43
MCAPI
~ScopedItemRegistry
();
44
// NOLINTEND
45
46
public
:
47
// constructor thunks
48
// NOLINTBEGIN
49
MCAPI
void
* $ctor(::std::weak_ptr<::ItemRegistry> registry);
50
// NOLINTEND
51
52
public
:
53
// destructor thunk
54
// NOLINTBEGIN
55
MCAPI
void
$dtor();
56
// NOLINTEND
57
};
58
59
public
:
60
// static functions
61
// NOLINTBEGIN
62
MCAPI static ::ItemRegistryRef getItemRegistry();
63
64
MCAPI
static
void
resetItemRegistry();
65
66
MCAPI
static
void
setItemRegistry(
::ItemRegistryRef
registryRef);
67
// NOLINTEND
68
69
public
:
70
// static variables
71
// NOLINTBEGIN
72
MCAPI static ::Bedrock::Threading::ThreadLocalObject<::std::weak_ptr<::ItemRegistry>>& mThreadLocalRegistry();
73
// NOLINTEND
74
};
ItemRegistryManager::ScopedItemRegistry
Definition
ItemRegistryManager.h:22
ItemRegistryManager
Definition
ItemRegistryManager.h:14
ItemRegistryRef
Definition
ItemRegistryRef.h:29
ItemRegistry
Definition
ItemRegistry.h:35
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
item
registry
ItemRegistryManager.h
Generated on Sat Apr 26 2025 05:56:15 for LeviLamina by
1.12.0