LeviLamina
Loading...
Searching...
No Matches
ClientNetherNetConnector.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/NetherNetConnector.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace NetherNet { struct NetworkID; }
11namespace Social { class GameConnectionInfo; }
12// clang-format on
13
14struct ClientNetherNetConnector : public ::NetherNetConnector {
15public:
16 // member variables
17 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 ClientNetherNetConnector& operator=(ClientNetherNetConnector const&);
24 ClientNetherNetConnector(ClientNetherNetConnector const&);
25 ClientNetherNetConnector();
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ::Social::GameConnectionInfo const& getConnectedGameInfo() const /*override*/;
31
32 virtual bool connect(
33 ::Social::GameConnectionInfo const& gameConnection,
34 ::Social::GameConnectionInfo const& backupConnection
35 ) /*override*/;
36
37 virtual void disconnect() /*override*/;
38
39 virtual bool isServer() const /*override*/;
40
41 virtual bool OnSessionRequested(::NetherNet::NetworkID, uint64) /*override*/;
42
43 virtual void OnSessionOpen(::NetherNet::NetworkID networkID, uint64 sessionId) /*override*/;
44
45 virtual ~ClientNetherNetConnector() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51#ifdef LL_PLAT_C
52 MCNAPI ::Social::GameConnectionInfo const& $getConnectedGameInfo() const;
53
54 MCNAPI bool
55 $connect(::Social::GameConnectionInfo const& gameConnection, ::Social::GameConnectionInfo const& backupConnection);
56
57 MCNAPI void $disconnect();
58
59 MCNAPI bool $isServer() const;
60
61 MCNAPI bool $OnSessionRequested(::NetherNet::NetworkID, uint64);
62
63 MCNAPI void $OnSessionOpen(::NetherNet::NetworkID networkID, uint64 sessionId);
64#endif
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftableForConnector();
73
75
76 MCNAPI static void** $vftable();
77
79 // NOLINTEND
80};
Definition GameConnectionInfo.h:21
static MCAPI void ** $vftable()
static MCAPI void ** $vftableForNetworkEnableDisableListener()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForConnector()
Definition NetworkID.h:17
Definition Alias.h:14