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
ISignalingInterface.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/threading/Async.h"
7
#include "mc/deps/nether_net/ESessionError.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
namespace
Bedrock::PubSub {
class
Subscription
; }
12
namespace
NetherNet {
struct
ISignalingEventHandler
; }
13
namespace
NetherNet {
struct
NetworkID
; }
14
// clang-format on
15
16
namespace
NetherNet {
17
18
class
ISignalingInterface
{
19
public
:
20
// virtual functions
21
// NOLINTBEGIN
22
virtual
~ISignalingInterface
() =
default
;
23
24
#ifdef LL_PLAT_S
25
virtual ::Bedrock::Threading::Async<::NetherNet::ESessionError>
26
SendSignal(
::NetherNet::NetworkID
from,
::NetherNet::NetworkID
to, ::std::string
const
& message) = 0;
27
#else
// LL_PLAT_C
28
virtual ::Bedrock::Threading::Async<::NetherNet::ESessionError>
29
SendSignal(
::NetherNet::NetworkID
from,
::NetherNet::NetworkID
to, ::std::string
const
& signal) = 0;
30
#endif
31
32
virtual ::Bedrock::PubSub::Subscription RegisterEventHandler(
::NetherNet::ISignalingEventHandler
* handler) = 0;
33
// NOLINTEND
34
};
35
36
}
// namespace NetherNet
Bedrock::PubSub::Subscription
Definition
Subscription.h:10
NetherNet::ISignalingInterface
Definition
ISignalingInterface.h:18
NetherNet::ISignalingEventHandler
Definition
ISignalingEventHandler.h:12
NetherNet::NetworkID
Definition
NetworkID.h:17
src
mc
deps
nether_net
ISignalingInterface.h
Generated on
for LeviLamina by
1.16.1