LeviLamina
Loading...
Searching...
No Matches
ContextProxy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/nether_net/IContext.h"
7#include "mc/deps/nether_net/LogSeverity.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace NetherNet { class ILanDiscovery; }
12namespace NetherNet { class RtcThreadManager; }
13namespace NetherNet { struct GlobalConfiguration; }
14// clang-format on
15
16namespace NetherNet {
17
18class ContextProxy : public ::NetherNet::IContext {
19public:
20 // member variables
21 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 ContextProxy& operator=(ContextProxy const&);
28 ContextProxy(ContextProxy const&);
29 ContextProxy();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~ContextProxy() /*override*/;
35
36 virtual ::NetherNet::RtcThreadManager const& getSignalThread() const /*override*/;
37
38 virtual ::NetherNet::RtcThreadManager const& getNetworkThread() const /*override*/;
39
40 virtual ::NetherNet::RtcThreadManager const& getWorkerThread() const /*override*/;
41
42 virtual ::NetherNet::ILanDiscovery& getLanDiscovery() /*override*/;
43
44 virtual void onSuspend() /*override*/;
45
46 virtual void onResume() /*override*/;
47
48 virtual ::NetherNet::GlobalConfiguration const& getGlobalConfig() const /*override*/;
49
50 virtual void setLoggingLevel(::NetherNet::LogSeverity min) /*override*/;
51
52 virtual void _logMessage(::NetherNet::LogSeverity level, char const* fmt, char* args) const /*override*/;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCNAPI explicit ContextProxy(::NetherNet::IContext& target);
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCNAPI void* $ctor(::NetherNet::IContext& target);
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCNAPI void $dtor();
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCNAPI ::NetherNet::RtcThreadManager const& $getSignalThread() const;
77
78 MCNAPI ::NetherNet::RtcThreadManager const& $getNetworkThread() const;
79
80 MCNAPI ::NetherNet::RtcThreadManager const& $getWorkerThread() const;
81
82 MCNAPI ::NetherNet::ILanDiscovery& $getLanDiscovery();
83
84 MCNAPI void $onSuspend();
85
86 MCNAPI void $onResume();
87
88 MCNAPI ::NetherNet::GlobalConfiguration const& $getGlobalConfig() const;
89
90 MCNAPI void $setLoggingLevel(::NetherNet::LogSeverity min);
91
92 MCNAPI void $_logMessage(::NetherNet::LogSeverity level, char const* fmt, char* args) const;
93
94
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCNAPI static void** $vftable();
101 // NOLINTEND
102};
103
104} // namespace NetherNet
MCAPI::NetherNet::RtcThreadManager const & $getSignalThread() const
MCAPI ContextProxy(::NetherNet::IContext &target)
MCAPI::NetherNet::RtcThreadManager const & $getWorkerThread() const
static MCAPI void ** $vftable()
MCAPI void $setLoggingLevel(::NetherNet::LogSeverity min)
MCAPI::NetherNet::ILanDiscovery & $getLanDiscovery()
MCAPI void * $ctor(::NetherNet::IContext &target)
MCAPI::NetherNet::GlobalConfiguration const & $getGlobalConfig() const
MCAPI::NetherNet::RtcThreadManager const & $getNetworkThread() const
MCAPI void $_logMessage(::NetherNet::LogSeverity level, char const *fmt, char *args) const
Definition IContext.h:18
Definition ILanDiscovery.h:15
Definition RtcThreadManager.h:13
Definition GlobalConfiguration.h:7
Definition Alias.h:14