LeviLamina
Loading...
Searching...
No Matches
ServerNetworkSystem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/deps/nether_net/LogSeverity.h"
9#include "mc/network/NetworkSystem.h"
10
11// auto generated forward declare list
12// clang-format off
13class AppPlatform;
18class Scheduler;
24struct PortMappingInfo;
25namespace NetherNet { struct NetworkID; }
26// clang-format on
27
29public:
30 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 0
37 virtual ~ServerNetworkSystem() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
44 ::Scheduler& receiveThread,
45 ::std::vector<::std::string> const& overrideBroadcastAddresses,
46 ::NetworkSystemToggles const& networkToggles,
48 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform,
49 ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner> networkSessionOwner,
50 ::NetworkSettingOptions const& networkSettingOption,
51 ::PortMappingInfo const& portMappingInfo,
52 ::NetherNet::LogSeverity defaultLogSeverity,
53 ::std::optional<::NetherNet::NetworkID> networkId,
55 );
56
58 ::NetworkSystemToggles const& networkToggles,
60 );
61
62 MCNAPI ::std::shared_ptr<::SignalingServiceSignInJob>
63 createSignalingServiceSigninJobIfNeeded(::Bedrock::NotNullNonOwnerPtr<::SignalingService> signalingService);
64
65 MCNAPI ::NetworkIdentifier getLocalNetworkId() const;
66
67 MCNAPI bool host(::ConnectionDefinition const& definition);
68 // NOLINTEND
69
70public:
71 // static functions
72 // NOLINTBEGIN
73 MCNAPI static ::NetworkSystem::Dependencies _createConstructionDependencies(
75 ::Scheduler& receiveThread,
76 ::std::vector<::std::string> const& overrideBroadcastAddresses,
77 ::NetworkSystemToggles const& networkToggles,
78 ::NetherNetTransportFactory const& transportFactory,
79 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform,
80 ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner> networkSessionOwner,
81 ::NetworkSettingOptions const& networkSettingOptions,
82 ::std::optional<::NetherNet::NetworkID> networkId,
84 );
85 // NOLINTEND
86
87public:
88 // constructor thunks
89 // NOLINTBEGIN
90 MCNAPI void* $ctor(
91 ::Scheduler& receiveThread,
92 ::std::vector<::std::string> const& overrideBroadcastAddresses,
93 ::NetworkSystemToggles const& networkToggles,
95 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform,
96 ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner> networkSessionOwner,
97 ::NetworkSettingOptions const& networkSettingOption,
98 ::PortMappingInfo const& portMappingInfo,
99 ::NetherNet::LogSeverity defaultLogSeverity,
100 ::std::optional<::NetherNet::NetworkID> networkId,
102 );
103 // NOLINTEND
104
105public:
106 // vftables
107 // NOLINTBEGIN
109
110 MCNAPI static void** $vftableForConnectionCallbacks();
111
112 MCNAPI static void** $vftable();
113
114 MCNAPI static void** $vftableForIPSupportInterface();
115 // NOLINTEND
116};
Definition AppPlatform.h:50
Definition EnableNonOwnerReferences.h:7
Definition NonOwnerPointer.h:9
Definition NetherNetTransportFactory.h:17
Definition NetworkDebugManager.h:14
Definition NetworkIdentifier.h:10
Definition NetworkSessionOwner.h:9
Definition NetworkSystem.h:37
Definition Scheduler.h:13
Definition ServerNetworkSystem.h:28
MCAPI void * $ctor(::Scheduler &receiveThread, ::std::vector<::std::string > const &overrideBroadcastAddresses, ::NetworkSystemToggles const &networkToggles, ::Bedrock::NonOwnerPointer<::NetworkDebugManager > networkDebugManager, ::Bedrock::NotNullNonOwnerPtr<::AppPlatform > appPlatform, ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner > networkSessionOwner, ::NetworkSettingOptions const &networkSettingOption, ::PortMappingInfo const &portMappingInfo, ::NetherNet::LogSeverity defaultLogSeverity, ::std::optional<::NetherNet::NetworkID > networkId, ::Bedrock::NonOwnerPointer<::SignalingService > signalingService)
static MCAPI void ** $vftableForConnectionCallbacks()
static MCAPI void ** $vftable()
MCAPI::NetworkIdentifier getLocalNetworkId() const
MCAPI void _createNetworkStatistics(::NetworkSystemToggles const &networkToggles, ::Bedrock::NonOwnerPointer<::NetworkDebugManager > const &networkDebugManager)
MCAPI ::std::shared_ptr<::SignalingServiceSignInJob > createSignalingServiceSigninJobIfNeeded(::Bedrock::NotNullNonOwnerPtr<::SignalingService > signalingService)
static MCAPI void ** $vftableForNetworkEnableDisableListener()
static MCAPI ::NetworkSystem::Dependencies _createConstructionDependencies(::ServerNetworkSystem *pThis, ::Scheduler &receiveThread, ::std::vector<::std::string > const &overrideBroadcastAddresses, ::NetworkSystemToggles const &networkToggles, ::NetherNetTransportFactory const &transportFactory, ::Bedrock::NotNullNonOwnerPtr<::AppPlatform > appPlatform, ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner > networkSessionOwner, ::NetworkSettingOptions const &networkSettingOptions, ::std::optional<::NetherNet::NetworkID > networkId, ::Bedrock::NonOwnerPointer<::SignalingService > signalingService)
MCAPI ServerNetworkSystem(::Scheduler &receiveThread, ::std::vector<::std::string > const &overrideBroadcastAddresses, ::NetworkSystemToggles const &networkToggles, ::Bedrock::NonOwnerPointer<::NetworkDebugManager > networkDebugManager, ::Bedrock::NotNullNonOwnerPtr<::AppPlatform > appPlatform, ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner > networkSessionOwner, ::NetworkSettingOptions const &networkSettingOption, ::PortMappingInfo const &portMappingInfo, ::NetherNet::LogSeverity defaultLogSeverity, ::std::optional<::NetherNet::NetworkID > networkId, ::Bedrock::NonOwnerPointer<::SignalingService > signalingService)
static MCAPI void ** $vftableForIPSupportInterface()
MCAPI bool host(::ConnectionDefinition const &definition)
Definition SignalingServiceSignInJob.h:23
Definition SignalingService.h:29
Definition ConnectionDefinition.h:5
Definition NetworkSettingOptions.h:9
Definition NetworkSystemToggles.h:5
Definition PortMappingInfo.h:5