LeviLamina
Loading...
Searching...
No Matches
ClientNetworkSystem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/network/NetworkSystem.h"
5
6// auto generated inclusion list
7#include "mc/deps/core/threading/TaskGroup.h"
8#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
9#include "mc/deps/core/utility/UniqueOwnerPointer.h"
10#include "mc/deps/core/utility/pub_sub/Subscription.h"
11#include "mc/network/IGameConnectionInfoProvider.h"
12#include "mc/network/NetworkSystem.h"
13#include "mc/platform/brstd/function_ref.h"
14
15// auto generated forward declare list
16// clang-format off
19class NetworkSummary;
21namespace Social { class GameConnectionInfo; }
22// clang-format on
23
26 public ::NetworkSystem {
27public:
28 // ClientNetworkSystem inner types define
30
31 using StatisticsFactory =
32 ::brstd::function_ref<::std::unique_ptr<::NetworkStatistics>(), ::std::unique_ptr<::NetworkStatistics>()>;
33
34public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
38 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::SignalingService>> mSignalingService;
39 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mUserLoggingSub;
40 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mUserConnectionQualitySub;
41 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mDisableLanSignalingSub;
42 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::NetworkSummary>> mNetworkSummary;
43 // NOLINTEND
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 // vIndex: 0
49 virtual ~ClientNetworkSystem() /*override*/ = default;
50
51 // vIndex: 1
52 virtual ::Social::GameConnectionInfo const& getConnectionInfo() const /*override*/;
53
54 // vIndex: 2
55 virtual ::std::optional<::std::string> getNetworkInfoString() const /*override*/;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCNAPI ::std::optional<::NetworkIdentifier> tryGetLocalNetworkId() const;
62
63 MCNAPI ::std::optional<::NetworkIdentifier> tryGetServerId() const;
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69
70 // NOLINTEND
71};
Definition EnableNonOwnerReferences.h:7
Definition ClientNetworkSystem.h:26
MCAPI ::std::optional<::NetworkIdentifier > tryGetLocalNetworkId() const
MCAPI ::std::optional<::NetworkIdentifier > tryGetServerId() const
Definition NetworkIdentifier.h:10
Definition NetworkStatistics.h:24
Definition NetworkSummary.h:5
Definition NetworkSystem.h:43
Definition SignalingService.h:38
Definition IGameConnectionInfoProvider.h:12
Definition function_ref.h:60
Definition NetworkSystem.h:52