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 MCNAPI_C static void setLoggingVerbosity(::Option const& loggingOption);
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCNAPI void* $ctor(
67 ::NetworkSystemToggles const& toggles,
68 ::PortMappingInfo portMappingInfo,
69 ::NetherNet::LogSeverity defaultLogSeverity
70 );
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCNAPI void $dtor();
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCNAPI ::std::unique_ptr<
84 ::std::function<void(::NetherNet::INetherNetTransportInterface*)>>
86 ::NetherNet::NetworkID const& id,
88 ) const;
89
90
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCNAPI static void** $vftable();
97 // NOLINTEND
98};
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