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/pub_sub/Subscription.h"
10#include "mc/network/IGameConnectionInfoProvider.h"
11#include "mc/network/NetworkSystem.h"
12#include "mc/platform/brstd/function_ref.h"
13
14// auto generated forward declare list
15// clang-format off
18namespace Social { class GameConnectionInfo; }
19// clang-format on
20
23 public ::NetworkSystem {
24public:
25 // ClientNetworkSystem inner types define
27
28 using StatisticsFactory =
29 ::brstd::function_ref<::std::unique_ptr<::NetworkStatistics>(), ::std::unique_ptr<::NetworkStatistics>()>;
30
31public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
35 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mUserLoggingSub;
36 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mUserConnectionQualitySub;
37 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mDisableLanSignalingSub;
38 // NOLINTEND
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 0
44 virtual ~ClientNetworkSystem() /*override*/ = default;
45
46 // vIndex: 1
47 virtual ::Social::GameConnectionInfo const& getConnectionInfo() const /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCNAPI ::std::optional<::NetworkIdentifier> tryGetLocalNetworkId() const;
54
55 MCNAPI ::std::optional<::NetworkIdentifier> tryGetServerId() const;
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61
62 // NOLINTEND
63};
Definition EnableNonOwnerReferences.h:7
Definition ClientNetworkSystem.h:23
MCAPI ::std::optional<::NetworkIdentifier > tryGetLocalNetworkId() const
MCAPI ::std::optional<::NetworkIdentifier > tryGetServerId() const
Definition NetworkIdentifier.h:10
Definition NetworkStatistics.h:24
Definition NetworkSystem.h:40
Definition IGameConnectionInfoProvider.h:12
Definition function_ref.h:60
Definition NetworkSystem.h:49