99 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner>> mNetworkSessionOwner;
100 ::ll::TypedStorage<8, 80, ::std::recursive_mutex> mConnectionsMutex;
101 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::NetworkConnection>>> mConnections;
102 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LocalConnector>> mLocalConnector;
103 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PacketGroupDefinition::PacketGroupBuilder>> mPacketGroupBuilder;
104 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::RemoteConnector>> mRemoteConnector;
105 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ServerLocator>> mServerLocator;
106 ::ll::TypedStorage<8, 8, uint64> mCurrentConnection;
107 ::ll::TypedStorage<8, 16, ::Bedrock::Threading::Async<void>> mReceiveTask;
108 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mReceiveTaskGroup;
109 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::IPacketObserver>> mPacketObserver;
110 ::ll::TypedStorage<8, 8, ::Scheduler&> mMainThread;
111 ::ll::TypedStorage<8, 32, ::std::string> mReceiveBuffer;
112 ::ll::TypedStorage<8, 32, ::std::string> mSendBuffer;
113 ::ll::TypedStorage<8, 80, ::BinaryStream> mSendStream;
114 ::ll::TypedStorage<8, 32, ::std::unique_ptr<::NetworkSystem::IncomingPacketQueue>[4]> mIncomingPackets;
115 ::ll::TypedStorage<1, 1, bool> mUseIPv6Only;
116 ::ll::TypedStorage<2, 2, ushort> mDefaultGamePort;
117 ::ll::TypedStorage<2, 2, ushort> mDefaultGamePortv6;
118 ::ll::TypedStorage<1, 1, bool> mIsLanDiscoveryEnabled;
119 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NetworkStatistics>> mNetworkStatistics;
120 ::ll::TypedStorage<1, 1, bool> mWebsocketsEnabled;
121 ::ll::TypedStorage<4, 20, ::NetworkSettingOptions> mNetworkSettingOptions;
122 ::ll::TypedStorage<1, 1, bool> mRawRecordingEnabled;
123 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::cereal::ReflectionCtx>>> mReflectionCtx;
124 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::IPacketSerializationController>>> mPacketOverrides;
137 virtual bool useIPv4Only() const ;
140 virtual
bool useIPv6Only() const ;
143 virtual ushort getDefaultGamePort() const ;
146 virtual ushort getDefaultGamePortv6() const ;
152 virtual
void _onDisable() ;
155 virtual
void _onEnable() ;
166 virtual
void onConnectionClosed(
168 ::Connection::DisconnectFailReason const discoReason,
169 ::
std::
string const& reasonMessage,
170 bool skipDisconnectMessage
174 virtual
void onAllConnectionsClosed(::Connection::DisconnectFailReason, ::
std::
string const&,
bool) ;
178 onAllRemoteConnectionsClosed(::Connection::DisconnectFailReason, ::
std::
string const&,
bool) ;
181 virtual
void onOutgoingConnectionFailed(
182 ::Connection::DisconnectFailReason discoReason,
183 ::
std::
string const& reasonMessage
187 virtual
void onWebsocketRequest(
188 ::
std::
string const& serverAddress,
189 ::
std::
string const& payload,
190 ::
std::function<
void()> errorCallback
202 _sortAndPacketizeEvents(::
NetworkConnection& connection, ::
std::chrono::steady_clock::time_point endTime);
204 MCAPI
void disconnect();
210 MCAPI ::Bedrock::NotNullNonOwnerPtr<::
RemoteConnector> getRemoteConnector();
212 MCAPI
bool isServer() const;
214 MCAPI
void runEvents(
bool networkIsCritical);
220 MCAPI
void setDevConnectionQuality(::DevConnectionQuality quality);
240 MCFOLD
bool $useIPv4Only() const;
242 MCAPI
bool $useIPv6Only() const;
244 MCAPI ushort $getDefaultGamePort() const;
246 MCAPI ushort $getDefaultGamePortv6() const;
248 MCAPI
void $_onDisable();
250 MCAPI
void $_onEnable();
256 MCAPI
void $onConnectionClosed(
258 ::Connection::DisconnectFailReason const discoReason,
259 ::
std::
string const& reasonMessage,
260 bool skipDisconnectMessage
264 $onOutgoingConnectionFailed(::Connection::DisconnectFailReason discoReason, ::
std::
string const& reasonMessage);
266 MCAPI
void $onWebsocketRequest(
267 ::
std::
string const& serverAddress,
268 ::
std::
string const& payload,
269 ::
std::function<
void()> errorCallback