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
ConnectionAttempt {
29
public
:
30
// member variables
31
// NOLINTBEGIN
32
::ll::UntypedStorage<8, 8>
mUnk76dcd7;
33
::ll::UntypedStorage<8, 8>
mUnkf4d438;
34
::ll::UntypedStorage<2, 2>
mUnk9f35dc;
35
::ll::UntypedStorage<8, 8>
mUnk256c45;
36
::ll::UntypedStorage<4, 4>
mUnk5d3658;
37
// NOLINTEND
38
39
public
:
40
// prevent constructor by default
41
ConnectionAttempt& operator=(ConnectionAttempt
const
&);
42
ConnectionAttempt(ConnectionAttempt
const
&);
43
ConnectionAttempt();
44
};
45
46
struct
User {
47
public
:
48
// member variables
49
// NOLINTBEGIN
50
::ll::UntypedStorage<8, 16>
mUnk553f33;
51
::ll::UntypedStorage<8, 136>
mUnk2e7bbe;
52
::ll::UntypedStorage<2, 2>
mUnk84a59f;
53
::ll::UntypedStorage<1, 1>
mUnk2f9d19;
54
::ll::UntypedStorage<8, 16>
mUnk91a771;
55
::ll::UntypedStorage<8, 16>
mUnkdcd054;
56
// NOLINTEND
57
58
public
:
59
// prevent constructor by default
60
User& operator=(User
const
&);
61
User(User
const
&);
62
User();
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
virtual
~NatPunchthroughServer()
/*override*/
=
default
;
86
87
virtual
void
Update()
/*override*/
;
88
89
virtual ::RakNet::PluginReceiveResult OnReceive(
::RakNet::Packet
*)
/*override*/
;
90
91
virtual
void
OnClosedConnection(
92
::RakNet::SystemAddress
const
&,
93
::RakNet::RakNetGUID
,
94
::RakNet::PI2_LostConnectionReason
95
)
/*override*/
;
96
97
virtual
void
OnNewConnection(
::RakNet::SystemAddress
const
&,
::RakNet::RakNetGUID
,
bool
)
/*override*/
;
98
// NOLINTEND
99
100
public
:
101
// virtual function thunks
102
// NOLINTBEGIN
103
104
// NOLINTEND
105
};
106
107
}
// namespace RakNet
RakNet::PluginInterface2
Definition
PluginInterface2.h:20
RakNet::NatPunchthroughServer::ConnectionAttempt
Definition
NatPunchthroughServer.h:28
RakNet::NatPunchthroughServer::User
Definition
NatPunchthroughServer.h:46
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
for LeviLamina by
1.16.1