46 public ::NetworkSystem {
56 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
57 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::SignalingService>> mSignalingService;
58 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mUserLoggingSub;
59 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mUserConnectionQualitySub;
60 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mDisableLanSignalingSub;
61 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::NetworkSummary>> mNetworkSummary;
62 ::ll::TypedStorage<8, 16, ::gsl::not_null<::std::shared_ptr<::TrustStore>>> mServerTrustStore;
69 ClientNetworkSystem();
75 virtual ~ClientNetworkSystem() =
default;
77 virtual ::Social::GameConnectionInfo
const& getConnectionInfo()
const ;
79 virtual ::std::optional<::std::string> getNetworkInfoString()
const ;
86 MCNAPI ClientNetworkSystem(
88 ::std::vector<::std::string>
const& overrideBroadcastAddresses,
92 ::Bedrock::NotNullNonOwnerPtr<::Bedrock::Http::DispatcherInterface> httpDispatcher,
93 ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner> networkSessionOwner,
94 ::std::unique_ptr<::IPacketSerializationController> packetController,
95 ::std::unique_ptr<::SecureStorage> serverTrustStoreStorage,
97 ::std::shared_ptr<void> httpLibraryToken
102 MCNAPI
bool _connectLocal();
104 MCNAPI
bool _connectRemote(
107 ::std::shared_ptr<::NetherNet::IIdentityAssertionGenerator> identity
117 MCNAPI ::std::shared_ptr<::SignalingServiceSignInJob> createSignalingServiceSigninJobIfNeeded(
118 ::std::shared_ptr<::SignalingService> signalingService,
122 MCNAPI ::std::pair<::Json::Value, ::Json::Value> getPacketTraces()
const;
124 MCNAPI
void getPingTimeForConnection(
129 MCNAPI ::Bedrock::Threading::Async<::Bedrock::Result<::std::string>> probeTransportLayer(
130 ::std::string
const& host,
132 ::Bedrock::NotNullNonOwnerPtr<::Bedrock::Http::DispatcherInterface> dispatcher
137 MCNAPI
void setupNetworkSummary(
138 ::std::function<
bool()> isInGame,
139 ::std::function<
bool()> isSignedIntoSignalingService,
140 ::std::function<
bool()> isHostingLocalDedicatedServer
153 ::std::vector<::std::string>
const& overrideBroadcastAddresses,
157 ::Bedrock::NotNullNonOwnerPtr<::Bedrock::Http::DispatcherInterface> httpDispatcher,
158 ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner> networkSessionOwner,
159 ::std::unique_ptr<::IPacketSerializationController> packetController,
160 ::std::unique_ptr<::SecureStorage> serverTrustStoreStorage,
162 ::std::shared_ptr<void> httpLibraryToken
171 MCNAPI ::Social::GameConnectionInfo
const& $getConnectionInfo()
const;
173 MCNAPI ::std::optional<::std::string> $getNetworkInfoString()
const;