LeviLamina
Loading...
Searching...
No Matches
PluginInterface2.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/PluginReceiveResult.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
namespace
RakNet {
struct
InternalPacket; }
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
PluginInterface2
{
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::UntypedStorage<8, 8>
mUnkd5879f;
25
::ll::UntypedStorage<8, 8>
mUnk57d580;
26
// NOLINTEND
27
28
public
:
29
// prevent constructor by default
30
PluginInterface2
& operator=(
PluginInterface2
const
&);
31
PluginInterface2
(
PluginInterface2
const
&);
32
PluginInterface2
();
33
34
public
:
35
// virtual functions
36
// NOLINTBEGIN
37
// vIndex: 0
38
virtual
~PluginInterface2
() =
default
;
39
40
// vIndex: 1
41
virtual
void
OnAttach();
42
43
// vIndex: 2
44
virtual
void
OnDetach();
45
46
// vIndex: 3
47
virtual
void
Update();
48
49
// vIndex: 4
50
virtual ::RakNet::PluginReceiveResult OnReceive(
::RakNet::Packet
*);
51
52
// vIndex: 5
53
virtual
void
OnRakPeerStartup();
54
55
// vIndex: 6
56
virtual
void
OnRakPeerShutdown();
57
58
// vIndex: 7
59
virtual
void
60
OnClosedConnection(
::RakNet::SystemAddress
const
&,
::RakNet::RakNetGUID
, ::RakNet::PI2_LostConnectionReason);
61
62
// vIndex: 8
63
virtual
void
OnNewConnection(
::RakNet::SystemAddress
const
&,
::RakNet::RakNetGUID
,
bool
);
64
65
// vIndex: 9
66
virtual
void
OnFailedConnectionAttempt(
::RakNet::Packet
*, ::RakNet::PI2_FailedConnectionAttemptReason);
67
68
// vIndex: 10
69
virtual
bool
UsesReliabilityLayer()
const
;
70
71
// vIndex: 11
72
virtual
void
OnDirectSocketSend(
char
const
*, uint
const
,
::RakNet::SystemAddress
);
73
74
// vIndex: 12
75
virtual
void
OnDirectSocketReceive(
char
const
*, uint
const
,
::RakNet::SystemAddress
);
76
77
// vIndex: 13
78
virtual
void
OnReliabilityLayerNotification(
char
const
*, uint
const
,
::RakNet::SystemAddress
,
bool
);
79
80
// vIndex: 14
81
virtual
void
OnInternalPacket(
::RakNet::InternalPacket
*, uint,
::RakNet::SystemAddress
, uint,
int
);
82
83
// vIndex: 15
84
virtual
void
OnAck(uint,
::RakNet::SystemAddress
, uint);
85
86
// vIndex: 16
87
virtual
void
OnPushBackPacket(
char
const
*, uint
const
,
::RakNet::SystemAddress
);
88
// NOLINTEND
89
90
public
:
91
// destructor thunk
92
// NOLINTBEGIN
93
94
// NOLINTEND
95
96
public
:
97
// virtual function thunks
98
// NOLINTBEGIN
99
100
// NOLINTEND
101
};
102
103
}
// namespace RakNet
Packet
Definition
Packet.h:26
RakNet::PluginInterface2
Definition
PluginInterface2.h:20
RakNet::InternalPacket
Definition
InternalPacket.h:10
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
PluginInterface2.h
Generated on Sat Apr 26 2025 05:55:29 for LeviLamina by
1.12.0