LeviLamina
Loading...
Searching...
No Matches
ILanDiscovery.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Bedrock::PubSub { class Subscription; }
8namespace NetherNet { struct DiscoveryResponsePacket; }
9namespace NetherNet { struct ILanEventHandler; }
10namespace NetherNet { struct NetworkID; }
11namespace rtc { class SocketAddress; }
12// clang-format on
13
14namespace NetherNet {
15
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 // vIndex: 0
21 virtual bool IsBroadcastDiscoveryEnabled(::NetherNet::NetworkID) = 0;
22
23 // vIndex: 1
24 virtual void DisableBroadcastDiscovery(::NetherNet::NetworkID) = 0;
25
26 // vIndex: 2
27 virtual void EnableBroadcastDiscovery(::NetherNet::NetworkID) = 0;
28
29 // vIndex: 3
30 virtual bool IsNetworkIdOnLan(::NetherNet::NetworkID) = 0;
31
32 // vIndex: 4
33 virtual void SendLanBroadcastResponse(::rtc::SocketAddress const&, ::NetherNet::DiscoveryResponsePacket const&) = 0;
34
35 // vIndex: 5
36 virtual void SendSignalingMessageTo(::NetherNet::NetworkID, ::NetherNet::NetworkID, ::std::string const&) = 0;
37
38 // vIndex: 6
39 virtual ::Bedrock::PubSub::Subscription RegisterEventHandler(::NetherNet::ILanEventHandler*) = 0;
40
41 // vIndex: 7
42 virtual void Suspend() = 0;
43
44 // vIndex: 8
45 virtual void Resume() = 0;
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51
52 // NOLINTEND
53};
54
55} // namespace NetherNet
Definition ILanDiscovery.h:16
Definition SocketAddress.h:12
Definition DiscoveryResponsePacket.h:10
Definition ILanEventHandler.h:15
Definition NetworkID.h:21