LeviLamina
Loading...
Searching...
No Matches
NatPunchthroughServer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/raknet/PI2_LostConnectionReason.h"
7#include "mc/deps/raknet/PluginInterface2.h"
8#include "mc/deps/raknet/PluginReceiveResult.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace RakNet { struct Packet; }
13namespace RakNet { struct RakNetGUID; }
14namespace RakNet { struct SystemAddress; }
15// clang-format on
16
17namespace RakNet {
18
20public:
21 // NatPunchthroughServer inner types declare
22 // clang-format off
23 struct ConnectionAttempt;
24 struct User;
25 // clang-format on
26
27 // NatPunchthroughServer inner types define
28 struct User {
29 public:
30 // member variables
31 // NOLINTBEGIN
38 // NOLINTEND
39
40 public:
41 // prevent constructor by default
42 User& operator=(User const&);
43 User(User const&);
44 User();
45 };
46
48 public:
49 // member variables
50 // NOLINTBEGIN
56 // NOLINTEND
57
58 public:
59 // prevent constructor by default
60 ConnectionAttempt& operator=(ConnectionAttempt const&);
63 };
64
65public:
66 // member variables
67 // NOLINTBEGIN
74 // NOLINTEND
75
76public:
77 // prevent constructor by default
81
82public:
83 // virtual functions
84 // NOLINTBEGIN
85 // vIndex: 0
86 virtual ~NatPunchthroughServer() /*override*/ = default;
87
88 // vIndex: 3
89 virtual void Update() /*override*/;
90
91 // vIndex: 4
92 virtual ::RakNet::PluginReceiveResult OnReceive(::RakNet::Packet*) /*override*/;
93
94 // vIndex: 7
95 virtual void OnClosedConnection(
98 ::RakNet::PI2_LostConnectionReason
99 ) /*override*/;
100
101 // vIndex: 8
102 virtual void OnNewConnection(::RakNet::SystemAddress const&, ::RakNet::RakNetGUID, bool) /*override*/;
103 // NOLINTEND
104
105public:
106 // destructor thunk
107 // NOLINTBEGIN
108
109 // NOLINTEND
110
111public:
112 // virtual function thunks
113 // NOLINTBEGIN
114
115 // NOLINTEND
116};
117
118} // namespace RakNet
Definition Packet.h:26
Definition NatPunchthroughServer.h:19
Definition PluginInterface2.h:20
Definition NatPunchthroughServer.h:47
Definition NatPunchthroughServer.h:28
Definition Packet.h:7
Definition RakNetGUID.h:7
Definition SystemAddress.h:7
Definition Alias.h:14