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 MCAPI 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,
101 MCAPI
bool _connectLocal();
103 MCAPI
bool _connectRemote(
106 ::std::shared_ptr<::NetherNet::IIdentityAssertionGenerator> identity
116 MCAPI ::std::shared_ptr<::SignalingServiceSignInJob> createSignalingServiceSigninJobIfNeeded(
117 ::std::shared_ptr<::SignalingService> signalingService,
121 MCAPI ::std::pair<::Json::Value, ::Json::Value> getPacketTraces()
const;
123 MCAPI
void getPingTimeForConnection(
128 MCAPI ::Bedrock::Threading::Async<::Bedrock::Result<::std::string>> probeTransportLayer(
129 ::std::string
const& host,
131 ::Bedrock::NotNullNonOwnerPtr<::Bedrock::Http::DispatcherInterface> dispatcher
136 MCAPI
void setupNetworkSummary(
137 ::std::function<
bool()> isInGame,
138 ::std::function<
bool()> isSignedIntoSignalingService,
139 ::std::function<
bool()> isHostingLocalDedicatedServer
143 MCAPI ::std::optional<::NetworkIdentifier> tryGetLocalNetworkId()
const;
152 ::std::vector<::std::string>
const& overrideBroadcastAddresses,
156 ::Bedrock::NotNullNonOwnerPtr<::Bedrock::Http::DispatcherInterface> httpDispatcher,
157 ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner> networkSessionOwner,
158 ::std::unique_ptr<::IPacketSerializationController> packetController,
159 ::std::unique_ptr<::SecureStorage> serverTrustStoreStorage,
169 MCAPI ::Social::GameConnectionInfo
const& $getConnectionInfo()
const;
171 MCAPI ::std::optional<::std::string> $getNetworkInfoString()
const;