Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
PacketLogger.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/raknet/PluginInterface2.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
namespace
RakNet {
struct
InternalPacket
; }
11
namespace
RakNet {
struct
SystemAddress
; }
12
// clang-format on
13
14
namespace
RakNet {
15
16
class
PacketLogger :
public
::RakNet::PluginInterface2
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::UntypedStorage<1, 1>
mUnka75ee5;
21
::ll::UntypedStorage<1, 1>
mUnk6e7e17;
22
::ll::UntypedStorage<1, 1>
mUnk72a124;
23
::ll::UntypedStorage<1, 256>
mUnk439e27;
24
::ll::UntypedStorage<1, 256>
mUnk2674b6;
25
// NOLINTEND
26
27
public
:
28
// prevent constructor by default
29
PacketLogger& operator=(PacketLogger
const
&);
30
PacketLogger(PacketLogger
const
&);
31
PacketLogger();
32
33
public
:
34
// virtual functions
35
// NOLINTBEGIN
36
virtual
~PacketLogger()
/*override*/
=
default
;
37
38
virtual
void
FormatLine(
39
char
*,
40
char
const
*,
41
char
const
*,
42
uint,
43
uint,
44
uchar,
45
uint
const
,
46
uint64,
47
::RakNet::SystemAddress
const
&,
48
::RakNet::SystemAddress
const
&,
49
uint,
50
uint,
51
uint,
52
uint
53
);
54
55
virtual
void
FormatLine(
56
char
*,
57
char
const
*,
58
char
const
*,
59
uint,
60
uint,
61
char
const
*,
62
uint
const
,
63
uint64,
64
::RakNet::SystemAddress
const
&,
65
::RakNet::SystemAddress
const
&,
66
uint,
67
uint,
68
uint,
69
uint
70
);
71
72
virtual
void
OnDirectSocketSend(
char
const
*, uint
const
,
::RakNet::SystemAddress
)
/*override*/
;
73
74
virtual
void
OnDirectSocketReceive(
char
const
*, uint
const
,
::RakNet::SystemAddress
)
/*override*/
;
75
76
virtual
void
OnReliabilityLayerNotification(
char
const
*, uint
const
,
::RakNet::SystemAddress
,
bool
)
/*override*/
;
77
78
virtual
void
OnInternalPacket(
::RakNet::InternalPacket
*, uint,
::RakNet::SystemAddress
, uint,
int
)
/*override*/
;
79
80
virtual
void
OnAck(uint,
::RakNet::SystemAddress
, uint)
/*override*/
;
81
82
virtual
void
OnPushBackPacket(
char
const
*, uint
const
,
::RakNet::SystemAddress
)
/*override*/
;
83
84
virtual
void
LogHeader();
85
86
virtual
void
WriteLog(
char
const
*);
87
88
virtual
void
WriteMiscellaneous(
char
const
*,
char
const
*);
89
90
virtual
void
SetPrintID(
bool
);
91
92
virtual
void
SetPrintAcks(
bool
);
93
94
virtual
void
SetPrefix(
char
const
*);
95
96
virtual
void
SetSuffix(
char
const
*);
97
98
virtual
bool
UsesReliabilityLayer()
const
/*override*/
;
99
100
virtual
void
AddToLog(
char
const
*);
101
102
virtual
char
const
* UserIDTOString(uchar);
103
// NOLINTEND
104
};
105
106
}
// namespace RakNet
RakNet::PluginInterface2
Definition
PluginInterface2.h:20
RakNet::InternalPacket
Definition
InternalPacket.h:10
RakNet::SystemAddress
Definition
SystemAddress.h:7
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
raknet
PacketLogger.h
Generated on
for LeviLamina by
1.16.1