LeviLamina
Loading...
Searching...
No Matches
NetherNetTransportFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Option;
8namespace NetherNet { class INetherNetTransportInterface; }
9namespace NetherNet { class INetherNetTransportInterfaceCallbacks; }
10namespace NetherNet { struct NetworkID; }
11// clang-format on
12
13class NetherNetTransportFactory {
14public:
15 // member variables
16 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 NetherNetTransportFactory& operator=(NetherNetTransportFactory const&);
25 NetherNetTransportFactory(NetherNetTransportFactory const&);
26 NetherNetTransportFactory();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~NetherNetTransportFactory() = default;
32
33 virtual ::std::unique_ptr<
35 ::std::function<void(::NetherNet::INetherNetTransportInterface*)>>
36 createTransport(
37 ::NetherNet::NetworkID const& id,
39 ) const;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45#ifdef LL_PLAT_C
46 MCNAPI static void setLoggingVerbosity(::Option const& loggingOption);
47#endif
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCNAPI ::std::unique_ptr<
55 ::std::function<void(::NetherNet::INetherNetTransportInterface*)>>
57 ::NetherNet::NetworkID const& id,
59 ) const;
60
61
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
static MCAPI void ** $vftable()
MCAPI ::std::unique_ptr< ::NetherNet::INetherNetTransportInterface, ::std::function< void(::NetherNet::INetherNetTransportInterface *)> > $createTransport(::NetherNet::NetworkID const &id, ::NetherNet::INetherNetTransportInterfaceCallbacks *callbacks) const
Definition INetherNetTransportInterfaceCallbacks.h:20
Definition INetherNetTransportInterface.h:22
Definition Option.h:22
Definition NetworkID.h:17
Definition Alias.h:14