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
8// auto generated forward declare list
9// clang-format off
10namespace NetherNet { class AesContext; }
11namespace NetherNet { class CandidateAdd; }
12namespace NetherNet { class ConnectError; }
13namespace NetherNet { class ConnectRequest; }
14namespace NetherNet { class ConnectResponse; }
15namespace NetherNet { struct GlobalConfiguration; }
16namespace rtc { class IPAddress; }
17// clang-format on
18
19namespace NetherNet {
20// functions
21// NOLINTBEGIN
22MCNAPI ::NetherNet::ErrorOr<::std::unique_ptr<::NetherNet::AesContext>, ::std::error_code> CreateEnvelope(uint64 id);
23
24MCNAPI ::NetherNet::ErrorOr<::std::vector<uchar>, ::std::error_code> CreateKey(uint64 id);
25
26MCNAPI void InitializeNetherNetTransport(::NetherNet::GlobalConfiguration const& config);
27
28MCNAPI ::std::optional<::std::variant<
33TryParseSignalingMessage(::std::string const& message);
34// NOLINTEND
35
36// static variables
37// NOLINTBEGIN
38MCNAPI ::rtc::IPAddress const& IPv4Any();
39
40MCNAPI ::rtc::IPAddress const& IPv4Broadcast();
41
42MCNAPI ::rtc::IPAddress const& IPv6AllHostsLinkLocal();
43
44MCNAPI ::rtc::IPAddress const& IPv6Any();
45// NOLINTEND
46
47} // namespace NetherNet
Definition CandidateAdd.h:7
Definition ConnectError.h:7
Definition ConnectRequest.h:12
Definition ConnectResponse.h:12
Definition GlobalConfiguration.h:7