LeviLamina
Loading...
Searching...
No Matches
ServerLocatorComposite.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/network/ServerConnectivityTestResult.h"
8#include "mc/network/StubServerLocator.h"
9#include "mc/world/level/GameType.h"
10
11// auto generated forward declare list
12// clang-format off
13class AppPlatform;
16struct PortPair;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~ServerLocatorComposite() /*override*/ = default;
39
40 // vIndex: 3
41 virtual void startAnnouncingServer(
42 ::std::string const&,
43 ::std::string const&,
45 ::GameType,
46 int,
47 int,
48 bool,
49 bool,
50 bool
51 ) /*override*/;
52
53 // vIndex: 4
54 virtual void stopAnnouncingServer(::Bedrock::NonOwnerPointer<::AppPlatform>) /*override*/;
55
56 // vIndex: 5
57 virtual void startServerDiscovery(::PortPair) /*override*/;
58
59 // vIndex: 6
60 virtual void stopServerDiscovery() /*override*/;
61
62 // vIndex: 8
63 virtual void addCustomServer(::AsynchronousIPResolver const&, int) /*override*/;
64
65 // vIndex: 7
66 virtual void addCustomServer(::std::string const&, int) /*override*/;
67
68 // vIndex: 9
69 virtual ::std::vector<::PingedCompatibleServer> getServerList() const /*override*/;
70
71 // vIndex: 10
72 virtual void clearServerList() /*override*/;
73
74 // vIndex: 11
75 virtual void update() /*override*/;
76
77 // vIndex: 12
78 virtual float getPingTimeForGUID(::std::string const&) /*override*/;
79
80 // vIndex: 13
81 virtual void checkCanConnectToCustomServerAsync(
82 ::std::string,
83 int,
84 ::std::function<void(::ServerConnectivityTestResult)>
85 ) /*override*/;
86
87 // vIndex: 1
88 virtual void _onDisable() /*override*/;
89
90 // vIndex: 2
91 virtual void _onEnable() /*override*/;
92 // NOLINTEND
93
94public:
95 // virtual function thunks
96 // NOLINTBEGIN
97
98 // NOLINTEND
99};
Definition AppPlatform.h:50
Definition AsynchronousIPResolver.h:5
Definition NonOwnerPointer.h:9
Definition ServerLocatorComposite.h:19
Definition StubServerLocator.h:19
Definition PingedCompatibleServer.h:5
Definition PortPair.h:5
Definition Alias.h:14