LeviLamina
Loading...
Searching...
No Matches
RemoteConnector.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/network/Connector.h"
8#include "mc/network/NetworkEnableDisableListener.h"
9
10// auto generated forward declare list
11// clang-format off
14namespace Social { class GameConnectionInfo; }
15// clang-format on
16
17class RemoteConnector : public ::Connector,
18 public ::NetworkEnableDisableListener,
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 virtual bool host(::ConnectionDefinition const& definition) = 0;
24
25 virtual bool connect(
26 ::Social::GameConnectionInfo const& primaryConnection,
27 ::Social::GameConnectionInfo const& backupConnection
28 ) = 0;
29
30 virtual void disconnect() = 0;
31
32 virtual void tick() = 0;
33
34 virtual void runEvents() = 0;
35
36 virtual bool isServer() const = 0;
37
38 virtual void closeNetworkConnection(::NetworkIdentifier const& id) = 0;
39
40 virtual ::NetworkIdentifier getNetworkIdentifier() const = 0;
41
42 virtual bool setApplicationHandshakeCompleted(::NetworkIdentifier const& id) = 0;
43
44 virtual void setDisableLanSignaling(bool disableLanSignaling) = 0;
45
46 virtual ~RemoteConnector() /*override*/;
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCNAPI void $dtor();
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCNAPI static void** $vftableForConnector();
65
67
69 // NOLINTEND
70};
Definition EnableNonOwnerReferences.h:7
Definition NetworkIdentifier.h:10
Definition RemoteConnector.h:19
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForConnector()
static MCAPI void ** $vftableForNetworkEnableDisableListener()
MCAPI void $dtor()
Definition GameConnectionInfo.h:21
Definition ConnectionDefinition.h:5