LeviLamina
Loading...
Searching...
No Matches
NetherNet.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/nether_net/utils/ErrorOr.h"
7#include "mc/external/webrtc/StatsReport.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace NetherNet { class AesContext; }
12namespace NetherNet { class CandidateAdd; }
13namespace NetherNet { class ConnectError; }
14namespace NetherNet { class ConnectRequest; }
15namespace NetherNet { class ConnectResponse; }
16namespace NetherNet { struct NetherNetTransportGlobalConfiguration; }
17namespace rtc { class IPAddress; }
18namespace webrtc { class StatsReport; }
19// clang-format on
20
21namespace NetherNet {
22// functions
23// NOLINTBEGIN
24MCAPI ::NetherNet::ErrorOr<::std::unique_ptr<::NetherNet::AesContext>, ::std::error_code> CreateEnvelope(uint64 id);
25
26MCAPI ::NetherNet::ErrorOr<::std::vector<uchar>, ::std::error_code> CreateKey(uint64 id);
27
28MCAPI bool
29GetValue(::webrtc::StatsReport const* report, ::webrtc::StatsReport::StatsValueName name, ::std::string* value);
30
31MCAPI void InitializeNetherNetTransport(::NetherNet::NetherNetTransportGlobalConfiguration const& config);
32
33MCAPI ::std::optional<::std::variant<
38TryParseSignalingMessage(::std::string const& message);
39// NOLINTEND
40
41// static variables
42// NOLINTBEGIN
43MCAPI ::rtc::IPAddress const& IPv4Any();
44
45MCAPI ::rtc::IPAddress const& IPv4Broadcast();
46
47MCAPI ::rtc::IPAddress const& IPv6AllHostsLinkLocal();
48
49MCAPI ::rtc::IPAddress const& IPv6Any();
50// NOLINTEND
51
52} // namespace NetherNet
Definition CandidateAdd.h:7
Definition ConnectError.h:7
Definition ConnectRequest.h:7
Definition ConnectResponse.h:7
Definition StatsReport.h:11
Definition NetherNetTransportGlobalConfiguration.h:7