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
RakWebSocketDataFrame.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/websockets/OpCode.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
namespace
RakNet {
class
BitStream
; }
11
// clang-format on
12
13
class
RakWebSocketDataFrame {
14
public
:
15
// RakWebSocketDataFrame inner types define
16
enum class
ParseState :
int
{
17
AwaitingHeader = 0,
18
PayloadLengthEx = 1,
19
PayloadMaskingKey = 2,
20
PayloadClosing = 3,
21
Payload = 4,
22
Done = 5,
23
Abort = 6,
24
};
25
26
public
:
27
// member variables
28
// NOLINTBEGIN
29
::ll::UntypedStorage<1, 2>
mUnk61d632;
30
::ll::UntypedStorage<8, 288>
mUnk892763;
31
::ll::UntypedStorage<8, 8>
mUnk998e6c;
32
::ll::UntypedStorage<4, 4>
mUnk670dec;
33
::ll::UntypedStorage<2, 2>
mUnk2f8588;
34
::ll::UntypedStorage<1, 1>
mUnk380434;
35
::ll::UntypedStorage<1, 1>
mUnkf19b36;
36
::ll::UntypedStorage<1, 1>
mUnk22558c;
37
::ll::UntypedStorage<4, 4>
mUnk226a4a;
38
// NOLINTEND
39
40
public
:
41
// prevent constructor by default
42
RakWebSocketDataFrame& operator=(RakWebSocketDataFrame
const
&);
43
RakWebSocketDataFrame(RakWebSocketDataFrame
const
&);
44
RakWebSocketDataFrame();
45
46
public
:
47
// static functions
48
// NOLINTBEGIN
49
MCNAPI
static
void
writeFrameToStream
(
50
::RakNet::BitStream
& stream,
51
uchar
const
* payload,
52
uint size,
53
::OpCode opCode,
54
bool
isFin,
55
uint maskKey
56
);
57
// NOLINTEND
58
};
RakNet::BitStream
Definition
BitStream.h:7
RakWebSocketDataFrame::writeFrameToStream
static MCAPI void writeFrameToStream(::RakNet::BitStream &stream, uchar const *payload, uint size, ::OpCode opCode, bool isFin, uint maskKey)
ll::UntypedStorage
Definition
Alias.h:14
src
mc
websockets
RakWebSocketDataFrame.h
Generated on
for LeviLamina by
1.16.1