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
RelayPortFactoryInterface.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
namespace
webrtc {
class
AsyncPacketSocket
; }
8
namespace
webrtc {
class
Port
; }
9
namespace
webrtc {
struct
CreateRelayPortArgs
; }
10
// clang-format on
11
12
namespace
webrtc {
13
14
class
RelayPortFactoryInterface
{
15
public
:
16
// virtual functions
17
// NOLINTBEGIN
18
virtual
~RelayPortFactoryInterface
() =
default
;
19
20
virtual ::std::unique_ptr<::webrtc::Port>
21
Create(
::webrtc::CreateRelayPortArgs
const
& args, ::std::shared_ptr<::webrtc::AsyncPacketSocket> udp_socket) = 0;
22
23
virtual ::std::unique_ptr<::webrtc::Port>
24
Create(
::webrtc::CreateRelayPortArgs
const
& args,
int
min_port,
int
max_port) = 0;
25
// NOLINTEND
26
27
public
:
28
// vftables
29
// NOLINTBEGIN
30
MCNAPI
static
void
**
$vftable
();
31
// NOLINTEND
32
};
33
34
}
// namespace webrtc
webrtc::AsyncPacketSocket
Definition
AsyncPacketSocket.h:20
webrtc::Port
Definition
Port.h:37
webrtc::RelayPortFactoryInterface
Definition
RelayPortFactoryInterface.h:14
webrtc::RelayPortFactoryInterface::$vftable
static MCAPI void ** $vftable()
webrtc::CreateRelayPortArgs
Definition
CreateRelayPortArgs.h:7
src
mc
external
webrtc
RelayPortFactoryInterface.h
Generated on
for LeviLamina by
1.16.1