LeviLamina
Loading...
Searching...
No Matches
RemoteConnectorComposite.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/network/RakNetConnector.h"
8#include "mc/network/RemoteConnector.h"
9#include "mc/network/TransportLayer.h"
10
11// auto generated forward declare list
12// clang-format off
13class AppPlatform;
17namespace Social { class GameConnectionInfo; }
18// clang-format on
19
20class RemoteConnectorComposite : public ::RemoteConnector {
21public:
22 // member variables
23 // NOLINTBEGIN
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 RemoteConnectorComposite& operator=(RemoteConnectorComposite const&);
32 RemoteConnectorComposite(RemoteConnectorComposite const&);
33 RemoteConnectorComposite();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~RemoteConnectorComposite() /*override*/ = default;
39
40 virtual void setDisableLanSignaling(bool disableLanSignaling) /*override*/;
41
42 virtual void setDisableTrickleIce(bool disableTrickleIce) /*override*/;
43
44 virtual ::std::string getLocalIp() /*override*/;
45
46 virtual ushort getPort() const /*override*/;
47
48 virtual ::Social::GameConnectionInfo const& getConnectedGameInfo() const /*override*/;
49
50 virtual bool isIPv4Supported() const /*override*/;
51
52 virtual bool isIPv6Supported() const /*override*/;
53
54 virtual ushort getIPv4Port() const /*override*/;
55
56 virtual ushort getIPv6Port() const /*override*/;
57
58 virtual bool host(::ConnectionDefinition const& definition) /*override*/;
59
60 virtual bool connect(
61 ::Social::GameConnectionInfo const& gameConnection,
62 ::Social::GameConnectionInfo const& backupConnection
63 ) /*override*/;
64
65 virtual void disconnect() /*override*/;
66
67 virtual void tick() /*override*/;
68
69 virtual void runEvents() /*override*/;
70
71 virtual bool isServer() const /*override*/;
72
73 virtual void closeNetworkConnection(::NetworkIdentifier const& id) /*override*/;
74
75 virtual bool setApplicationHandshakeCompleted(::NetworkIdentifier const& id) /*override*/;
76
77 virtual ::NetworkIdentifier getNetworkIdentifier() const /*override*/;
78
79 virtual void _onDisable() /*override*/;
80
81 virtual void _onEnable() /*override*/;
82
83 virtual ::TransportLayer getNetworkType() const /*override*/;
84 // NOLINTEND
85
86public:
87 // member functions
88 // NOLINTBEGIN
89 MCNAPI_C ::Bedrock::NotNullNonOwnerPtr<::RemoteConnector> getActiveConnector() const;
90 // NOLINTEND
91
92public:
93 // constructor thunks
94 // NOLINTBEGIN
95 MCNAPI_C void* $ctor(
98 ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner> networkSessionOwner
99 );
100 // NOLINTEND
101
102public:
103 // virtual function thunks
104 // NOLINTBEGIN
105#ifdef LL_PLAT_C
106 MCNAPI void $setDisableLanSignaling(bool disableLanSignaling);
107
108 MCNAPI void $setDisableTrickleIce(bool disableTrickleIce);
109
110 MCNAPI ::std::string $getLocalIp();
111
112 MCNAPI ushort $getPort() const;
113
114 MCNAPI ::Social::GameConnectionInfo const& $getConnectedGameInfo() const;
115
116 MCNAPI bool $isIPv4Supported() const;
117
118 MCNAPI bool $isIPv6Supported() const;
119
120 MCNAPI ushort $getIPv4Port() const;
121
122 MCNAPI ushort $getIPv6Port() const;
123
124 MCNAPI bool $host(::ConnectionDefinition const& definition);
125
126 MCNAPI bool
127 $connect(::Social::GameConnectionInfo const& gameConnection, ::Social::GameConnectionInfo const& backupConnection);
128
129 MCNAPI void $disconnect();
130
131 MCNAPI void $tick();
132
133 MCNAPI void $runEvents();
134
135 MCNAPI bool $isServer() const;
136
137 MCNAPI void $closeNetworkConnection(::NetworkIdentifier const& id);
138
139 MCNAPI bool $setApplicationHandshakeCompleted(::NetworkIdentifier const& id);
140
141 MCNAPI ::NetworkIdentifier $getNetworkIdentifier() const;
142
143 MCNAPI void $_onDisable();
144
145 MCNAPI void $_onEnable();
146
147 MCNAPI ::TransportLayer $getNetworkType() const;
148#endif
149
150
151 // NOLINTEND
152
153public:
154 // vftables
155 // NOLINTBEGIN
157
159
160 MCNAPI static void** $vftableForConnector();
161 // NOLINTEND
162};
Definition AppPlatform.h:90
Definition NonOwnerPointer.h:9
Definition NetworkIdentifier.h:10
Definition NetworkSessionOwner.h:9
static MCAPI void ** $vftableForConnector()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForNetworkEnableDisableListener()
Definition RemoteConnector.h:19
Definition GameConnectionInfo.h:21
Definition ConnectionDefinition.h:5
Definition RakNetConnector.h:39
Definition Alias.h:14