LeviLamina
Loading...
Searching...
No Matches
Router2.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/raknet/PI2_FailedConnectionAttemptReason.h"
7
#include "mc/deps/raknet/PI2_LostConnectionReason.h"
8
#include "mc/deps/raknet/PluginInterface2.h"
9
#include "mc/deps/raknet/PluginReceiveResult.h"
10
11
// auto generated forward declare list
12
// clang-format off
13
namespace
RakNet {
struct
Packet
; }
14
namespace
RakNet {
struct
RakNetGUID; }
15
namespace
RakNet {
struct
SystemAddress; }
16
// clang-format on
17
18
namespace
RakNet {
19
20
class
Router2
:
public
::RakNet::PluginInterface2
{
21
public
:
22
// Router2 inner types declare
23
// clang-format off
24
struct
ConnectionRequestSystem
;
25
struct
ConnnectRequest
;
26
struct
ForwardedConnection
;
27
struct
MiniPunchRequest
;
28
// clang-format on
29
30
// Router2 inner types define
31
enum class
Router2RequestStates :
int
{
32
R2rsRequestStateQueryForwarding = 0,
33
RequestStateRequestForwarding = 1,
34
};
35
36
struct
ConnectionRequestSystem
{
37
public
:
38
// member variables
39
// NOLINTBEGIN
40
::ll::UntypedStorage<8, 16>
mUnk79af13;
41
::ll::UntypedStorage<4, 4>
mUnk40b72f;
42
::ll::UntypedStorage<2, 2>
mUnke2ee60;
43
// NOLINTEND
44
45
public
:
46
// prevent constructor by default
47
ConnectionRequestSystem
& operator=(
ConnectionRequestSystem
const
&);
48
ConnectionRequestSystem
(
ConnectionRequestSystem
const
&);
49
ConnectionRequestSystem
();
50
};
51
52
struct
ConnnectRequest
{
53
public
:
54
// member variables
55
// NOLINTBEGIN
56
::ll::UntypedStorage<8, 16>
mUnk8c362a;
57
::ll::UntypedStorage<8, 40>
mUnka6fe9e;
58
::ll::UntypedStorage<4, 4>
mUnkd7eb17;
59
::ll::UntypedStorage<4, 4>
mUnka4470f;
60
::ll::UntypedStorage<8, 16>
mUnk20d261;
61
::ll::UntypedStorage<8, 16>
mUnk8cb9d9;
62
::ll::UntypedStorage<1, 1>
mUnk197687;
63
// NOLINTEND
64
65
public
:
66
// prevent constructor by default
67
ConnnectRequest
& operator=(
ConnnectRequest
const
&);
68
ConnnectRequest
(
ConnnectRequest
const
&);
69
ConnnectRequest
();
70
};
71
72
struct
MiniPunchRequest
{
73
public
:
74
// member variables
75
// NOLINTBEGIN
76
::ll::UntypedStorage<8, 16>
mUnk44df54;
77
::ll::UntypedStorage<8, 136>
mUnk4ec4f5;
78
::ll::UntypedStorage<1, 1>
mUnke20bf0;
79
::ll::UntypedStorage<8, 16>
mUnkf0d333;
80
::ll::UntypedStorage<8, 136>
mUnkbcf44f;
81
::ll::UntypedStorage<1, 1>
mUnk4a22cf;
82
::ll::UntypedStorage<4, 4>
mUnk7de0b2;
83
::ll::UntypedStorage<4, 4>
mUnkfa08aa;
84
::ll::UntypedStorage<2, 2>
mUnkdcc84a;
85
::ll::UntypedStorage<8, 8>
mUnkefe69e;
86
// NOLINTEND
87
88
public
:
89
// prevent constructor by default
90
MiniPunchRequest
& operator=(
MiniPunchRequest
const
&);
91
MiniPunchRequest
(
MiniPunchRequest
const
&);
92
MiniPunchRequest
();
93
};
94
95
struct
ForwardedConnection
{
96
public
:
97
// member variables
98
// NOLINTBEGIN
99
::ll::UntypedStorage<8, 16>
mUnk56a891;
100
::ll::UntypedStorage<8, 16>
mUnk23fa29;
101
::ll::UntypedStorage<8, 136>
mUnkf5d213;
102
::ll::UntypedStorage<1, 1>
mUnkee5cf2;
103
::ll::UntypedStorage<1, 1>
mUnkd88e9a;
104
// NOLINTEND
105
106
public
:
107
// prevent constructor by default
108
ForwardedConnection
& operator=(
ForwardedConnection
const
&);
109
ForwardedConnection
(
ForwardedConnection
const
&);
110
ForwardedConnection
();
111
};
112
113
public
:
114
// member variables
115
// NOLINTBEGIN
116
::ll::UntypedStorage<8, 8>
mUnk5c003a;
117
::ll::UntypedStorage<4, 4>
mUnk5aa39a;
118
::ll::UntypedStorage<8, 40>
mUnkd3d601;
119
::ll::UntypedStorage<8, 40>
mUnkf34110;
120
::ll::UntypedStorage<8, 40>
mUnkc92e56;
121
::ll::UntypedStorage<8, 16>
mUnk40f14f;
122
::ll::UntypedStorage<8, 16>
mUnk858659;
123
::ll::UntypedStorage<8, 16>
mUnkb59eef;
124
::ll::UntypedStorage<8, 8>
mUnkf93660;
125
::ll::UntypedStorage<2, 2>
mUnk894cdb;
126
// NOLINTEND
127
128
public
:
129
// prevent constructor by default
130
Router2
& operator=(
Router2
const
&);
131
Router2
(
Router2
const
&);
132
Router2
();
133
134
public
:
135
// virtual functions
136
// NOLINTBEGIN
137
// vIndex: 0
138
virtual
~Router2
()
/*override*/
=
default
;
139
140
// vIndex: 4
141
virtual ::RakNet::PluginReceiveResult OnReceive(
::RakNet::Packet
*)
/*override*/
;
142
143
// vIndex: 3
144
virtual
void
Update()
/*override*/
;
145
146
// vIndex: 7
147
virtual
void
OnClosedConnection(
148
::RakNet::SystemAddress
const
&,
149
::RakNet::RakNetGUID
,
150
::RakNet::PI2_LostConnectionReason
151
)
/*override*/
;
152
153
// vIndex: 9
154
virtual
void
OnFailedConnectionAttempt(
::RakNet::Packet
*, ::RakNet::PI2_FailedConnectionAttemptReason)
/*override*/
;
155
156
// vIndex: 6
157
virtual
void
OnRakPeerShutdown()
/*override*/
;
158
// NOLINTEND
159
160
public
:
161
// destructor thunk
162
// NOLINTBEGIN
163
164
// NOLINTEND
165
166
public
:
167
// virtual function thunks
168
// NOLINTBEGIN
169
170
// NOLINTEND
171
};
172
173
}
// namespace RakNet
Packet
Definition
Packet.h:26
RakNet::PluginInterface2
Definition
PluginInterface2.h:20
RakNet::Router2
Definition
Router2.h:20
RakNet::Packet
Definition
Packet.h:7
RakNet::RakNetGUID
Definition
RakNetGUID.h:7
RakNet::Router2::ConnectionRequestSystem
Definition
Router2.h:36
RakNet::Router2::ConnnectRequest
Definition
Router2.h:52
RakNet::Router2::ForwardedConnection
Definition
Router2.h:95
RakNet::Router2::MiniPunchRequest
Definition
Router2.h:72
RakNet::SystemAddress
Definition
SystemAddress.h:7
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
raknet
Router2.h
Generated on Sat Apr 26 2025 05:55:29 for LeviLamina by
1.12.0