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;
22struct PortMappingInfo;
23namespace NetherNet { struct NetworkID; }
24// clang-format on
25
27public:
28 // prevent constructor by default
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 0
35 virtual ~ServerNetworkSystem() /*override*/ = default;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
42 ::Scheduler& receiveThread,
43 ::std::vector<::std::string> const& overrideBroadcastAddresses,
44 ::NetworkSystemToggles const& networkToggles,
46 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform,
47 ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner> networkSessionOwner,
48 ::NetworkSettingOptions const& networkSettingOption,
49 ::PortMappingInfo const& portMappingInfo,
50 ::NetherNet::LogSeverity defaultLogSeverity,
51 ::std::optional<::NetherNet::NetworkID> networkId
52 );
53
55 ::NetworkSystemToggles const& networkToggles,
57 );
58
59 MCNAPI ::NetworkIdentifier getLocalNetworkId() const;
60
61 MCNAPI bool host(::ConnectionDefinition const& definition);
62 // NOLINTEND
63
64public:
65 // static functions
66 // NOLINTBEGIN
67 MCNAPI static ::NetworkSystem::Dependencies _createConstructionDependencies(
69 ::Scheduler& receiveThread,
70 ::std::vector<::std::string> const& overrideBroadcastAddresses,
71 ::NetworkSystemToggles const& networkToggles,
72 ::NetherNetTransportFactory const& transportFactory,
73 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform,
74 ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner> networkSessionOwner,
75 ::NetworkSettingOptions const& networkSettingOptions,
76 ::std::optional<::NetherNet::NetworkID> networkId
77 );
78 // NOLINTEND
79
80public:
81 // constructor thunks
82 // NOLINTBEGIN
83 MCNAPI void* $ctor(
84 ::Scheduler& receiveThread,
85 ::std::vector<::std::string> const& overrideBroadcastAddresses,
86 ::NetworkSystemToggles const& networkToggles,
88 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform,
89 ::Bedrock::NotNullNonOwnerPtr<::NetworkSessionOwner> networkSessionOwner,
90 ::NetworkSettingOptions const& networkSettingOption,
91 ::PortMappingInfo const& portMappingInfo,
92 ::NetherNet::LogSeverity defaultLogSeverity,
93 ::std::optional<::NetherNet::NetworkID> networkId
94 );
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
101
102 MCNAPI static void** $vftableForConnectionCallbacks();
103
104 MCNAPI static void** $vftable();
105
106 MCNAPI static void** $vftableForIPSupportInterface();
107 // NOLINTEND
108};
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:26
static MCAPI void ** $vftableForConnectionCallbacks()
static MCAPI void ** $vftable()
MCAPI::NetworkIdentifier getLocalNetworkId() const
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)
MCAPI void _createNetworkStatistics(::NetworkSystemToggles const &networkToggles, ::Bedrock::NonOwnerPointer<::NetworkDebugManager > const &networkDebugManager)
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)
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)
static MCAPI void ** $vftableForIPSupportInterface()
MCAPI bool host(::ConnectionDefinition const &definition)
Definition ConnectionDefinition.h:5
Definition NetworkSettingOptions.h:9
Definition NetworkSystemToggles.h:5
Definition PortMappingInfo.h:5