LeviLamina
Loading...
Searching...
No Matches
ScriptNativeWebSocket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/http/StatusCode.h"
7#include "mc/deps/core/http/WebSocket.h"
8
9namespace ScriptModuleMinecraftNet {
10
11class ScriptNativeWebSocket : public ::Bedrock::Http::WebSocket {
12public:
13 // member variables
14 // NOLINTBEGIN
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 ScriptNativeWebSocket& operator=(ScriptNativeWebSocket const&);
23 ScriptNativeWebSocket(ScriptNativeWebSocket const&);
24 ScriptNativeWebSocket();
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~ScriptNativeWebSocket() /*override*/ = default;
30
31 virtual void onMessage(::std::string_view message) /*override*/;
32
33 virtual void onClose(uint) /*override*/;
34 // NOLINTEND
35
36public:
37 // virtual function thunks
38 // NOLINTBEGIN
39 MCNAPI void $onMessage(::std::string_view message);
40
41 MCNAPI void $onClose(uint);
42
43
44 // NOLINTEND
45
46public:
47 // vftables
48 // NOLINTBEGIN
49 MCNAPI static void** $vftable();
50 // NOLINTEND
51};
52
53} // namespace ScriptModuleMinecraftNet
Definition WebSocket.h:20
MCAPI void $onMessage(::std::string_view message)
Definition Alias.h:14