Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
PublisherBase.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/container/list.h"
7
#include "mc/deps/core/container/list_base_hook.h"
8
#include "mc/deps/core/utility/pub_sub/ConnectPosition.h"
9
#include "mc/deps/core/utility/pub_sub/detail/PublisherDisconnector.h"
10
11
// auto generated forward declare list
12
// clang-format off
13
namespace
Bedrock::PubSub::Detail {
class
SubscriptionBodyBase
; }
14
// clang-format on
15
16
namespace
Bedrock::PubSub::Detail {
17
18
class
PublisherBase
:
public
::Bedrock::PubSub::Detail::PublisherDisconnector
{
19
public
:
20
// PublisherBase inner types define
21
using
ConnectionList =
::Bedrock::Intrusive::list
<
22
::Bedrock::PubSub::Detail::SubscriptionBodyBase
,
23
::Bedrock::Intrusive::list_base_hook<::Bedrock::PubSub::Detail::SubscriptionBodyBase>
,
24
::Bedrock::Intrusive::list_base_hook<::Bedrock::PubSub::Detail::SubscriptionBodyBase>
>;
25
26
public
:
27
// member variables
28
// NOLINTBEGIN
29
::ll::TypedStorage<
30
8,
31
16,
32
::Bedrock::Intrusive::list
<
33
::Bedrock::PubSub::Detail::SubscriptionBodyBase
,
34
::Bedrock::Intrusive::list_base_hook<::Bedrock::PubSub::Detail::SubscriptionBodyBase>
,
35
::Bedrock::Intrusive::list_base_hook<::Bedrock::PubSub::Detail::SubscriptionBodyBase>
>>
36
mSubscriptions;
37
::ll::TypedStorage<4, 4, uint> mSubscriberCount;
38
// NOLINTEND
39
40
public
:
41
// member functions
42
// NOLINTBEGIN
43
MCNAPI
void
_insertConnection
(
44
::std::shared_ptr<::Bedrock::PubSub::Detail::SubscriptionBodyBase>
const
& body,
45
::Bedrock::PubSub::ConnectPosition at,
46
::std::optional<int> group
47
);
48
// NOLINTEND
49
50
public
:
51
// vftables
52
// NOLINTBEGIN
53
MCNAPI
static
void
**
$vftable
();
54
// NOLINTEND
55
};
56
57
}
// namespace Bedrock::PubSub::Detail
Bedrock::Intrusive::list_base_hook
Definition
list_base_hook.h:10
Bedrock::Intrusive::list
Definition
list.h:14
Bedrock::PubSub::Detail::PublisherBase
Definition
PublisherBase.h:18
Bedrock::PubSub::Detail::PublisherBase::_insertConnection
MCAPI void _insertConnection(::std::shared_ptr<::Bedrock::PubSub::Detail::SubscriptionBodyBase > const &body, ::Bedrock::PubSub::ConnectPosition at, ::std::optional< int > group)
Bedrock::PubSub::Detail::PublisherBase::$vftable
static MCAPI void ** $vftable()
Bedrock::PubSub::Detail::PublisherDisconnector
Definition
PublisherDisconnector.h:12
Bedrock::PubSub::Detail::SubscriptionBodyBase
Definition
SubscriptionBodyBase.h:20
src
mc
deps
core
utility
pub_sub
detail
PublisherBase.h
Generated on
for LeviLamina by
1.16.1