Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
GeometryAtlasStorage.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/oreui/GeometryProtocolType.h"
7#include "mc/deps/core/utility/pub_sub/Subscription.h"
8#include "mc/platform/brstd/move_only_function.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace Gameface { class IResourceHandler; }
13namespace Gameface { class TemporaryTextureHolder; }
14namespace GeometryAtlas { class IGeometryAtlas; }
15namespace GeometryAtlas { class IGeometryAtlasCaptureService; }
16namespace GeometryAtlas { class IPaperDollHandleFactory; }
17namespace OreUI { class AllKnownTiles; }
18namespace OreUI { class IGeometryAtlasKnownTilesReader; }
19namespace OreUI { class IItemHandleFactory; }
20namespace OreUI { class ILiveViewCollectionPublisher; }
21namespace OreUI { struct LiveViewCollection; }
22// clang-format on
23
24namespace OreUI {
25
27public:
28 // GeometryAtlasStorage inner types declare
29 // clang-format off
30 struct Impl;
31 // clang-format on
32
33 // GeometryAtlasStorage inner types define
34 struct Impl {
35 public:
36 // member variables
37 // NOLINTBEGIN
38 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::GeometryAtlas::IGeometryAtlas>> mGeometryAtlas;
39 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::GeometryAtlas::IGeometryAtlasCaptureService>> mCaptureService;
40 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mTileChangeSubscription;
41 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::OreUI::IGeometryAtlasKnownTilesReader>> mKnownItems;
42 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::OreUI::IGeometryAtlasKnownTilesReader>> mKnownDolls;
43 ::ll::TypedStorage<8, 64, ::brstd::move_only_function<void()>> mClearItemCache;
44 // NOLINTEND
45
46 public:
47 // prevent constructor by default
48 Impl();
49
50 public:
51 // member functions
52 // NOLINTBEGIN
53 MCNAPI explicit Impl(::std::shared_ptr<::GeometryAtlas::IGeometryAtlas> atlas);
54
55 MCNAPI ~Impl();
56 // NOLINTEND
57
58 public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCNAPI void* $ctor(::std::shared_ptr<::GeometryAtlas::IGeometryAtlas> atlas);
62 // NOLINTEND
63
64 public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCNAPI void $dtor();
68 // NOLINTEND
69 };
70
71public:
72 // member variables
73 // NOLINTBEGIN
74 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::OreUI::GeometryAtlasStorage::Impl>> mImpl;
75 // NOLINTEND
76
77public:
78 // member functions
79 // NOLINTBEGIN
81
82 MCNAPI explicit GeometryAtlasStorage(::std::shared_ptr<::GeometryAtlas::IGeometryAtlas> atlas);
83
84 MCNAPI ::std::unique_ptr<::Gameface::IResourceHandler> createGeometryAtlasResourceHandler(
85 ::std::unique_ptr<::OreUI::IItemHandleFactory> itemFactory,
86 ::std::unique_ptr<::GeometryAtlas::IPaperDollHandleFactory> dollFactory,
87 ::std::shared_ptr<::OreUI::ILiveViewCollectionPublisher> publisher,
89 ::OreUI::GeometryProtocolType type
90 );
91
92 MCNAPI ::OreUI::LiveViewCollection createLiveViewCollection();
93
94 MCNAPI ::std::unique_ptr<::OreUI::AllKnownTiles> getKnownTiles();
95 // NOLINTEND
96
97public:
98 // constructor thunks
99 // NOLINTBEGIN
100 MCNAPI void* $ctor();
101
102 MCNAPI void* $ctor(::std::shared_ptr<::GeometryAtlas::IGeometryAtlas> atlas);
103 // NOLINTEND
104};
105
106} // namespace OreUI
Definition IResourceHandler.h:7
Definition TemporaryTextureHolder.h:7
Definition IGeometryAtlasCaptureService.h:7
Definition IGeometryAtlas.h:7
Definition IPaperDollHandleFactory.h:7
Definition AllKnownTiles.h:7
Definition GeometryAtlasStorage.h:7
MCAPI ::std::unique_ptr<::OreUI::AllKnownTiles > getKnownTiles()
MCAPI ::std::unique_ptr<::Gameface::IResourceHandler > createGeometryAtlasResourceHandler(::std::unique_ptr<::OreUI::IItemHandleFactory > itemFactory, ::std::unique_ptr<::GeometryAtlas::IPaperDollHandleFactory > dollFactory, ::std::shared_ptr<::OreUI::ILiveViewCollectionPublisher > publisher, ::Gameface::TemporaryTextureHolder &textureHolder, ::OreUI::GeometryProtocolType type)
MCAPI::OreUI::LiveViewCollection createLiveViewCollection()
MCAPI GeometryAtlasStorage(::std::shared_ptr<::GeometryAtlas::IGeometryAtlas > atlas)
MCAPI void * $ctor(::std::shared_ptr<::GeometryAtlas::IGeometryAtlas > atlas)
Definition IGeometryAtlasKnownTilesReader.h:7
Definition IItemHandleFactory.h:7
Definition ILiveViewCollectionPublisher.h:7
Definition GeometryAtlasStorage.h:15
MCAPI Impl(::std::shared_ptr<::GeometryAtlas::IGeometryAtlas > atlas)
MCAPI void * $ctor(::std::shared_ptr<::GeometryAtlas::IGeometryAtlas > atlas)
Definition LiveViewCollection.h:7