LeviLamina
Loading...
Searching...
No Matches
GameEventDynamicRegistration.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/ChunkPos.h"
7#include "mc/world/level/dimension/DimensionType.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockSource;
13// clang-format on
14
15class GameEventDynamicRegistration {
16public:
17 // GameEventDynamicRegistration inner types declare
18 // clang-format off
20 // clang-format on
21
22 // GameEventDynamicRegistration inner types define
24 public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 8, ::ChunkPos> mChunkPos;
28 ::ll::TypedStorage<4, 4, ::DimensionType> mDimensionId;
29 // NOLINTEND
30 };
31
32public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::IGameEventListener>> mListener;
36 ::ll::TypedStorage<8, 80, ::std::optional<::gsl::final_action<::std::function<void()>>>> mRegistration;
37 ::ll::TypedStorage<8, 24, ::std::optional<::GameEventDynamicRegistration::RegistrationLocation>>
38 mRegistrationLocation;
39 // NOLINTEND
40
41public:
42 // prevent constructor by default
43 GameEventDynamicRegistration();
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI explicit GameEventDynamicRegistration(::std::shared_ptr<::IGameEventListener> listener);
49
50 MCAPI void _onActorChangedChunk(::BlockSource const& region, ::ChunkPos toChunkPos, ::DimensionType toDimensionId);
51
52 MCAPI void onActorRemoved();
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor(::std::shared_ptr<::IGameEventListener> listener);
59 // NOLINTEND
60};
Definition BlockSource.h:71
Definition ChunkPos.h:13
Definition IGameEventListener.h:13
Definition DimensionType.h:5
Definition GameEventDynamicRegistration.h:23