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
12
namespace
RakNet {
struct
Packet
; }
13
namespace
RakNet {
struct
RakNetGUID; }
14
namespace
RakNet {
struct
SystemAddress; }
15
// clang-format on
16
17
namespace
RakNet {
18
19
class
NatPunchthroughServer
:
public
::RakNet::PluginInterface2
{
20
public
:
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
32
::ll::UntypedStorage<8, 16>
mUnk553f33;
33
::ll::UntypedStorage<8, 136>
mUnk2e7bbe;
34
::ll::UntypedStorage<2, 2>
mUnk84a59f;
35
::ll::UntypedStorage<1, 1>
mUnk2f9d19;
36
::ll::UntypedStorage<8, 16>
mUnk91a771;
37
::ll::UntypedStorage<8, 16>
mUnkdcd054;
38
// NOLINTEND
39
40
public
:
41
// prevent constructor by default
42
User
& operator=(
User
const
&);
43
User
(
User
const
&);
44
User
();
45
};
46
47
struct
ConnectionAttempt
{
48
public
:
49
// member variables
50
// NOLINTBEGIN
51
::ll::UntypedStorage<8, 8>
mUnk76dcd7;
52
::ll::UntypedStorage<8, 8>
mUnkf4d438;
53
::ll::UntypedStorage<2, 2>
mUnk9f35dc;
54
::ll::UntypedStorage<8, 8>
mUnk256c45;
55
::ll::UntypedStorage<4, 4>
mUnk5d3658;
56
// NOLINTEND
57
58
public
:
59
// prevent constructor by default
60
ConnectionAttempt
& operator=(
ConnectionAttempt
const
&);
61
ConnectionAttempt
(
ConnectionAttempt
const
&);
62
ConnectionAttempt
();
63
};
64
65
public
:
66
// member variables
67
// NOLINTBEGIN
68
::ll::UntypedStorage<8, 8>
mUnka1e774;
69
::ll::UntypedStorage<8, 16>
mUnkc60876;
70
::ll::UntypedStorage<2, 2>
mUnkc08f99;
71
::ll::UntypedStorage<8, 8>
mUnk888e5f;
72
::ll::UntypedStorage<8, 2720>
mUnkf98e24;
73
::ll::UntypedStorage<1, 1>
mUnk1b9a7c;
74
// NOLINTEND
75
76
public
:
77
// prevent constructor by default
78
NatPunchthroughServer
& operator=(
NatPunchthroughServer
const
&);
79
NatPunchthroughServer
(
NatPunchthroughServer
const
&);
80
NatPunchthroughServer
();
81
82
public
:
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(
96
::RakNet::SystemAddress
const
&,
97
::RakNet::RakNetGUID
,
98
::RakNet::PI2_LostConnectionReason
99
)
/*override*/
;
100
101
// vIndex: 8
102
virtual
void
OnNewConnection(
::RakNet::SystemAddress
const
&,
::RakNet::RakNetGUID
,
bool
)
/*override*/
;
103
// NOLINTEND
104
105
public
:
106
// destructor thunk
107
// NOLINTBEGIN
108
109
// NOLINTEND
110
111
public
:
112
// virtual function thunks
113
// NOLINTBEGIN
114
115
// NOLINTEND
116
};
117
118
}
// namespace RakNet
Packet
Definition
Packet.h:26
RakNet::NatPunchthroughServer
Definition
NatPunchthroughServer.h:19
RakNet::PluginInterface2
Definition
PluginInterface2.h:20
RakNet::NatPunchthroughServer::ConnectionAttempt
Definition
NatPunchthroughServer.h:47
RakNet::NatPunchthroughServer::User
Definition
NatPunchthroughServer.h:28
RakNet::Packet
Definition
Packet.h:7
RakNet::RakNetGUID
Definition
RakNetGUID.h:7
RakNet::SystemAddress
Definition
SystemAddress.h:7
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
raknet
NatPunchthroughServer.h
Generated on Sat Apr 26 2025 05:55:29 for LeviLamina by
1.12.0