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 0>>
37 mLevelEventDataPublisher;
38 ::ll::TypedStorage<
39 8,
40 128,
42 void(::SharedTypes::Legacy::LevelEvent, ::CompoundTag const&),
44 0>>
45 mLevelEventCompoundTagPublisher;
46 // NOLINTEND
47
48public:
49 // prevent constructor by default
51
52public:
53 // virtual functions
54 // NOLINTBEGIN
55 // vIndex: 0
56 virtual ~LevelEventManager() /*override*/;
57
58 // vIndex: 1
59 virtual ::Bedrock::PubSub::Connector<void(::SharedTypes::Legacy::LevelEvent, ::Vec3 const&, int)>&
60 getLevelEventDataConnector() /*override*/;
61
62 // vIndex: 2
63 virtual ::Bedrock::PubSub::Connector<void(::SharedTypes::Legacy::LevelEvent, ::CompoundTag const&)>&
64 getLevelEventCompoundTagConnector() /*override*/;
65 // NOLINTEND
66
67public:
68 // member functions
69 // NOLINTBEGIN
70 MCNAPI
71 LevelEventManager(bool isClientSide, ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator> levelEventCoordinator);
72
74 ::SharedTypes::Legacy::LevelEvent type,
75 ::CompoundTag const& tag,
76 ::UserEntityIdentifierComponent const* userIdentifierToExclude
77 );
78
80 ::SharedTypes::Legacy::LevelEvent type,
81 ::Vec3 const& pos,
82 int data,
83 ::UserEntityIdentifierComponent const* userIdentifierToExclude
84 );
85
86 MCNAPI void
87 broadcastLocalEvent(::IDimension& dimension, ::SharedTypes::Legacy::LevelEvent type, ::Vec3 const& pos, int data);
88 // NOLINTEND
89
90public:
91 // constructor thunks
92 // NOLINTBEGIN
93 MCNAPI void* $ctor(bool isClientSide, ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator> levelEventCoordinator);
94 // NOLINTEND
95
96public:
97 // destructor thunk
98 // NOLINTBEGIN
99 MCNAPI void $dtor();
100 // NOLINTEND
101
102public:
103 // virtual function thunks
104 // NOLINTBEGIN
105 MCNAPI ::Bedrock::PubSub::Connector<void(::SharedTypes::Legacy::LevelEvent, ::Vec3 const&, int)>&
107
108 MCNAPI ::Bedrock::PubSub::Connector<void(::SharedTypes::Legacy::LevelEvent, ::CompoundTag const&)>&
110 // NOLINTEND
111
112public:
113 // vftables
114 // NOLINTBEGIN
115 MCNAPI static void** $vftable();
116 // NOLINTEND
117};
Definition Publisher.h:8
Definition CompoundTag.h:13
Definition IDimension.h:24
Definition ILevelEventManagerCoordinator.h:15
Definition LevelEventCoordinator.h:25
Definition LevelEventManager.h:23
MCAPI LevelEventManager(bool isClientSide, ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator > levelEventCoordinator)
MCAPI void broadcastLevelEvent(::SharedTypes::Legacy::LevelEvent type, ::Vec3 const &pos, int data, ::UserEntityIdentifierComponent const *userIdentifierToExclude)
MCAPI void * $ctor(bool isClientSide, ::Bedrock::NotNullNonOwnerPtr<::LevelEventCoordinator > levelEventCoordinator)
MCAPI ::Bedrock::PubSub::Connector< void(::SharedTypes::Legacy::LevelEvent, ::CompoundTag const &)> & $getLevelEventCompoundTagConnector()
MCAPI void broadcastLevelEvent(::SharedTypes::Legacy::LevelEvent type, ::CompoundTag const &tag, ::UserEntityIdentifierComponent const *userIdentifierToExclude)
static MCAPI void ** $vftable()
MCAPI void broadcastLocalEvent(::IDimension &dimension, ::SharedTypes::Legacy::LevelEvent type, ::Vec3 const &pos, int data)
MCAPI void $dtor()
MCAPI ::Bedrock::PubSub::Connector< void(::SharedTypes::Legacy::LevelEvent, ::Vec3 const &, int)> & $getLevelEventDataConnector()
Definition PacketSender.h:17
Definition UserEntityIdentifierComponent.h:11
Definition Vec3.h:10