LeviLamina
Loading...
Searching...
No Matches
NetherNetTransportFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/nether_net/LogSeverity.h"
7
8// auto generated forward declare list
9// clang-format off
10class Option;
12struct PortMappingInfo;
13namespace NetherNet { class INetherNetTransportInterface; }
14namespace NetherNet { class INetherNetTransportInterfaceCallbacks; }
15namespace NetherNet { struct NetworkID; }
16// clang-format on
17
18class NetherNetTransportFactory {
19public:
20 // member variables
21 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 NetherNetTransportFactory& operator=(NetherNetTransportFactory const&);
30 NetherNetTransportFactory(NetherNetTransportFactory const&);
31 NetherNetTransportFactory();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~NetherNetTransportFactory();
37
38 virtual ::std::unique_ptr<
40 ::std::function<void(::NetherNet::INetherNetTransportInterface*)>>
41 createTransport(
42 ::NetherNet::NetworkID const& id,
44 ) const;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
51 ::NetworkSystemToggles const& toggles,
52 ::PortMappingInfo portMappingInfo,
53 ::NetherNet::LogSeverity defaultLogSeverity
54 );
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60#ifdef LL_PLAT_C
61 MCNAPI static void setLoggingVerbosity(::Option const& loggingOption);
62#endif
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCNAPI void* $ctor(
69 ::NetworkSystemToggles const& toggles,
70 ::PortMappingInfo portMappingInfo,
71 ::NetherNet::LogSeverity defaultLogSeverity
72 );
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78 MCNAPI void $dtor();
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCNAPI ::std::unique_ptr<
86 ::std::function<void(::NetherNet::INetherNetTransportInterface*)>>
88 ::NetherNet::NetworkID const& id,
90 ) const;
91
92
93 // NOLINTEND
94
95public:
96 // vftables
97 // NOLINTBEGIN
98 MCNAPI static void** $vftable();
99 // NOLINTEND
100};
static MCAPI void ** $vftable()
MCAPI NetherNetTransportFactory(::NetworkSystemToggles const &toggles, ::PortMappingInfo portMappingInfo, ::NetherNet::LogSeverity defaultLogSeverity)
MCAPI void * $ctor(::NetworkSystemToggles const &toggles, ::PortMappingInfo portMappingInfo, ::NetherNet::LogSeverity defaultLogSeverity)
MCAPI ::std::unique_ptr< ::NetherNet::INetherNetTransportInterface, ::std::function< void(::NetherNet::INetherNetTransportInterface *)> > $createTransport(::NetherNet::NetworkID const &id, ::NetherNet::INetherNetTransportInterfaceCallbacks *callbacks) const
Definition INetherNetTransportInterfaceCallbacks.h:16
Definition INetherNetTransportInterface.h:21
Definition Option.h:22
Definition NetworkID.h:17
Definition NetworkSystemToggles.h:11
Definition PortMappingInfo.h:5
Definition Alias.h:14