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
NetworkStateEstimator.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
namespace
webrtc {
struct
NetworkRouteChange
; }
8
namespace
webrtc {
struct
NetworkStateEstimate
; }
9
namespace
webrtc {
struct
PacketResult
; }
10
namespace
webrtc {
struct
TransportPacketsFeedback
; }
11
// clang-format on
12
13
namespace
webrtc {
14
15
class
NetworkStateEstimator
{
16
public
:
17
// virtual functions
18
// NOLINTBEGIN
19
virtual ::std::optional<::webrtc::NetworkStateEstimate> GetCurrentEstimate() = 0;
20
21
virtual
void
OnTransportPacketsFeedback(
::webrtc::TransportPacketsFeedback
const
&) = 0;
22
23
virtual
void
OnReceivedPacket(
::webrtc::PacketResult
const
&);
24
25
virtual
void
OnRouteChange(
::webrtc::NetworkRouteChange
const
&) = 0;
26
27
virtual
~NetworkStateEstimator
() =
default
;
28
// NOLINTEND
29
};
30
31
}
// namespace webrtc
webrtc::NetworkStateEstimator
Definition
NetworkStateEstimator.h:15
webrtc::NetworkRouteChange
Definition
NetworkRouteChange.h:7
webrtc::NetworkStateEstimate
Definition
NetworkStateEstimate.h:7
webrtc::PacketResult
Definition
PacketResult.h:7
webrtc::TransportPacketsFeedback
Definition
TransportPacketsFeedback.h:12
src
mc
external
webrtc
NetworkStateEstimator.h
Generated on
for LeviLamina by
1.16.1