LeviLamina
Loading...
Searching...
No Matches
LevelEventManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/deps/core/utility/pub_sub/Connector.h"
8#include "mc/deps/core/utility/pub_sub/Publisher.h"
9#include "mc/deps/shared_types/legacy/LevelEvent.h"
10#include "mc/world/level/ILevelEventManagerCoordinator.h"
11
12// auto generated forward declare list
13// clang-format off
14class CompoundTag;
15class IDimension;
17class PacketSender;
19class Vec3;
20namespace Bedrock::PubSub::ThreadModel { struct MultiThreaded; }
21// clang-format on
22
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
28 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator> const> mLevelEventCoordinator;
29 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::PacketSender>> mPacketSender;
30 ::ll::TypedStorage<
31 8,
32 128,
34 void(::SharedTypes::Legacy::LevelEvent, ::Vec3 const&, int),
36 mLevelEventDataPublisher;
37 ::ll::TypedStorage<
38 8,
39 128,
41 void(::SharedTypes::Legacy::LevelEvent, ::CompoundTag const&),
43 mLevelEventCompoundTagPublisher;
44 // NOLINTEND
45
46public:
47 // virtual functions
48 // NOLINTBEGIN
49 // vIndex: 0
50 virtual ~LevelEventManager() /*override*/;
51
52 // vIndex: 1
53 virtual ::Bedrock::PubSub::Connector<void(::SharedTypes::Legacy::LevelEvent, ::Vec3 const&, int)>&
54 getLevelEventDataConnector() /*override*/;
55
56 // vIndex: 2
57 virtual ::Bedrock::PubSub::Connector<void(::SharedTypes::Legacy::LevelEvent, ::CompoundTag const&)>&
58 getLevelEventCompoundTagConnector() /*override*/;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCAPI
65 LevelEventManager(bool isClientSide, ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator> levelEventCoordinator);
66
67 MCAPI void broadcastLevelEvent(
68 ::SharedTypes::Legacy::LevelEvent type,
69 ::CompoundTag const& tag,
70 ::UserEntityIdentifierComponent const* userIdentifierToExclude
71 );
72
73 MCAPI void broadcastLevelEvent(
74 ::SharedTypes::Legacy::LevelEvent type,
75 ::Vec3 const& pos,
76 int data,
77 ::UserEntityIdentifierComponent const* userIdentifierToExclude
78 );
79
80 MCAPI void
81 broadcastLocalEvent(::IDimension& dimension, ::SharedTypes::Legacy::LevelEvent type, ::Vec3 const& pos, int data);
82 // NOLINTEND
83
84public:
85 // constructor thunks
86 // NOLINTBEGIN
87 MCAPI void* $ctor(bool isClientSide, ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator> levelEventCoordinator);
88 // NOLINTEND
89
90public:
91 // destructor thunk
92 // NOLINTBEGIN
93 MCAPI void $dtor();
94 // NOLINTEND
95
96public:
97 // virtual function thunks
98 // NOLINTBEGIN
99 MCFOLD ::Bedrock::PubSub::Connector<void(::SharedTypes::Legacy::LevelEvent, ::Vec3 const&, int)>&
100 $getLevelEventDataConnector();
101
102 MCFOLD ::Bedrock::PubSub::Connector<void(::SharedTypes::Legacy::LevelEvent, ::CompoundTag const&)>&
103 $getLevelEventCompoundTagConnector();
104 // NOLINTEND
105
106public:
107 // vftables
108 // NOLINTBEGIN
109 MCAPI static void** $vftable();
110 // NOLINTEND
111};
Definition Publisher.h:8
Definition CompoundTag.h:13
Definition IDimension.h:23
Definition ILevelEventManagerCoordinator.h:15
Definition LevelEventCoordinator.h:25
Definition LevelEventManager.h:23
Definition PacketSender.h:17
Definition UserEntityIdentifierComponent.h:19
Definition Vec3.h:10