LeviLamina
Loading...
Searching...
No Matches
LevelChunkEventManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/pub_sub/Connector.h"
7#include "mc/deps/core/utility/pub_sub/Publisher.h"
8#include "mc/world/level/chunk/ILevelChunkEventManagerConnector.h"
9
10// auto generated forward declare list
11// clang-format off
12class ChunkSource;
14class LevelChunk;
15namespace Bedrock::PubSub::ThreadModel { struct MultiThreaded; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<
23 8,
24 128,
25 ::Bedrock::PubSub::
27 mOnChunkLoadedPublisher;
28 ::ll::TypedStorage<
29 8,
30 128,
31 ::Bedrock::PubSub::
33 mOnChunkReloadedPublisher;
34 ::ll::TypedStorage<
35 8,
36 128,
38 mOnChunkDiscardedPublisher;
39 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::ILevelChunkEventManagerProxy>> const>
40 mLevelChunkEventManagerProxy;
41 // NOLINTEND
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 // vIndex: 0
47 virtual ~LevelChunkEventManager() /*override*/ = default;
48
49 // vIndex: 1
50 virtual ::Bedrock::PubSub::Connector<void(::ChunkSource&, ::LevelChunk&, int)>&
51 getOnChunkLoadedConnector() /*override*/;
52
53 // vIndex: 2
54 virtual ::Bedrock::PubSub::Connector<void(::ChunkSource&, ::LevelChunk&)>&
55 getOnChunkReloadedConnector() /*override*/;
56
57 // vIndex: 3
58 virtual ::Bedrock::PubSub::Connector<void(::LevelChunk&)>& getOnChunkDiscardedConnector() /*override*/;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCAPI explicit LevelChunkEventManager(::std::unique_ptr<::ILevelChunkEventManagerProxy> levelChunkEventManagerProxy
65 );
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(::std::unique_ptr<::ILevelChunkEventManagerProxy> levelChunkEventManagerProxy);
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCFOLD ::Bedrock::PubSub::Connector<void(::ChunkSource&, ::LevelChunk&, int)>& $getOnChunkLoadedConnector();
84
85 MCFOLD ::Bedrock::PubSub::Connector<void(::ChunkSource&, ::LevelChunk&)>& $getOnChunkReloadedConnector();
86
87 MCAPI ::Bedrock::PubSub::Connector<void(::LevelChunk&)>& $getOnChunkDiscardedConnector();
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCAPI static void** $vftable();
94 // NOLINTEND
95};
Definition Publisher.h:8
Definition ChunkSource.h:34
Definition ILevelChunkEventManagerConnector.h:14
Definition ILevelChunkEventManagerProxy.h:11
Definition LevelChunkEventManager.h:18
Definition LevelChunk.h:73