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
IDebuggerTransport.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
namespace
Scripting {
6
7
class
IDebuggerTransport
{
8
public
:
9
// virtual functions
10
// NOLINTBEGIN
11
virtual
~IDebuggerTransport
() =
default
;
12
13
virtual
bool
listen(ushort port) = 0;
14
15
virtual
bool
connect(::std::string
const
& host, ushort port) = 0;
16
17
virtual
bool
selectClient(::std::string& outClient) = 0;
18
19
virtual
bool
started()
const
= 0;
20
21
virtual
bool
connected()
const
= 0;
22
23
virtual
bool
lostConnection()
const
= 0;
24
25
virtual
bool
readyClose()
const
= 0;
26
27
virtual
void
close() = 0;
28
29
virtual
bool
peek()
const
= 0;
30
31
virtual
bool
receive(
char
*
buffer
, uint64 length) = 0;
32
33
virtual
void
send(
char
const
*
buffer
, uint64 length) = 0;
34
// NOLINTEND
35
};
36
37
}
// namespace Scripting
Scripting::IDebuggerTransport
Definition
IDebuggerTransport.h:7
buffer
Definition
buffer.h:5
src
mc
deps
script_core
runtime
scripting
IDebuggerTransport.h
Generated on
for LeviLamina by
1.16.1