LeviLamina
Loading...
Searching...
No Matches
WebSocketCommunicator.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/websockets/CloseStatusCode.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
RakWebSocketDataFrame
;
11
// clang-format on
12
13
class
WebSocketCommunicator
{
14
public
:
15
// WebSocketCommunicator inner types define
16
enum class
SocketType : uchar {
17
None = 0,
18
Client = 1,
19
Server = 2,
20
};
21
22
public
:
23
// member variables
24
// NOLINTBEGIN
25
::ll::UntypedStorage<1, 1>
mUnka71289;
26
::ll::UntypedStorage<1, 1>
mUnkfe149d;
27
::ll::UntypedStorage<8, 8>
mUnkf245b5;
28
::ll::UntypedStorage<2, 2>
mUnk175cb8;
29
::ll::UntypedStorage<1, 1>
mUnk1c4fa5;
30
::ll::UntypedStorage<8, 24>
mUnk3b881a;
31
::ll::UntypedStorage<1, 1>
mUnk14febb;
32
// NOLINTEND
33
34
public
:
35
// prevent constructor by default
36
WebSocketCommunicator
& operator=(
WebSocketCommunicator
const
&);
37
WebSocketCommunicator
(
WebSocketCommunicator
const
&);
38
WebSocketCommunicator
();
39
40
public
:
41
// virtual functions
42
// NOLINTBEGIN
43
// vIndex: 0
44
virtual
~WebSocketCommunicator
() =
default
;
45
46
// vIndex: 1
47
virtual
bool
shouldSerialize();
48
49
// vIndex: 2
50
virtual
void
onSerialize();
51
52
// vIndex: 3
53
virtual
void
onReceive(
::RakWebSocketDataFrame
const
&);
54
55
// vIndex: 4
56
virtual
void
onClose(::CloseStatusCode, ::std::string
const
&);
57
58
// vIndex: 5
59
virtual
void
onConnected(::std::string
const
&);
60
61
// vIndex: 6
62
virtual
void
onPostClosed();
63
// NOLINTEND
64
65
public
:
66
// destructor thunk
67
// NOLINTBEGIN
68
69
// NOLINTEND
70
71
public
:
72
// virtual function thunks
73
// NOLINTBEGIN
74
75
// NOLINTEND
76
};
RakWebSocketDataFrame
Definition
RakWebSocketDataFrame.h:13
WebSocketCommunicator
Definition
WebSocketCommunicator.h:13
ll::UntypedStorage
Definition
Alias.h:14
src
mc
websockets
WebSocketCommunicator.h
Generated on Sat Apr 26 2025 05:56:00 for LeviLamina by
1.12.0