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
10class ItemRegistry;
11class ItemRegistryRef;
12// clang-format on
13
15public:
16 // ItemRegistryManager inner types declare
17 // clang-format off
19 // clang-format on
20
21 // ItemRegistryManager inner types define
23 public:
24 // member variables
25 // NOLINTBEGIN
28 // NOLINTEND
29
30 public:
31 // prevent constructor by default
32 ScopedItemRegistry& operator=(ScopedItemRegistry const&);
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
59public:
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
69public:
70 // static variables
71 // NOLINTBEGIN
72 MCAPI static ::Bedrock::Threading::ThreadLocalObject<::std::weak_ptr<::ItemRegistry>>& mThreadLocalRegistry();
73 // NOLINTEND
74};
Definition ItemRegistryManager.h:22
Definition ItemRegistryManager.h:14
Definition ItemRegistryRef.h:29
Definition ItemRegistry.h:35
Definition Alias.h:14