Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ItemHandleFactoryImpl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/oreui/IItemHandleFactory.h"
7#include "mc/platform/brstd/move_only_function.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockType;
12class ItemRegistryRef;
13class PropertyBag;
14class TickingTextures;
15namespace GeometryAtlas { class IItemHandle; }
16// clang-format on
17
18namespace GeometryAtlas {
19
20class ItemHandleFactoryImpl : public ::OreUI::IItemHandleFactory {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 64, ::brstd::move_only_function<::ItemRegistryRef() const>> mGetItemRegistry;
25 ::ll::TypedStorage<8, 64, ::brstd::move_only_function<::TickingTextures const*() const>> mGetTickingTextures;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ::std::shared_ptr<::GeometryAtlas::IItemHandle>
32 createItem(::std::string_view name, ::std::unique_ptr<::PropertyBag> bag) const /*override*/;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCNAPI ::std::optional<int> _resolveBlockIDAux(::BlockType const& blockType) const;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCNAPI ::std::shared_ptr<::GeometryAtlas::IItemHandle>
45 $createItem(::std::string_view name, ::std::unique_ptr<::PropertyBag> bag) const;
46 // NOLINTEND
47
48public:
49 // vftables
50 // NOLINTBEGIN
51 MCNAPI static void** $vftable();
52 // NOLINTEND
53};
54
55} // namespace GeometryAtlas
Definition BlockType.h:79
Definition IItemHandle.h:7
Definition ItemHandleFactoryImpl.h:7
MCAPI ::std::optional< int > _resolveBlockIDAux(::BlockType const &blockType) const
static MCAPI void ** $vftable()
MCAPI ::std::shared_ptr<::GeometryAtlas::IItemHandle > $createItem(::std::string_view name, ::std::unique_ptr<::PropertyBag > bag) const
Definition ItemRegistryRef.h:36
Definition PropertyBag.h:8
Definition TickingTextures.h:5
STL namespace.