Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptDebuggerProtocol.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace ScriptDebuggerMessages { class INetworkPayload; }
8namespace ScriptDebuggerMessages { struct ScriptDebuggerPacket; }
9// clang-format on
10
11class ScriptDebuggerProtocol {
12public:
13 // member variables
14 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 ScriptDebuggerProtocol& operator=(ScriptDebuggerProtocol const&);
25 ScriptDebuggerProtocol(ScriptDebuggerProtocol const&);
26 ScriptDebuggerProtocol();
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCNAPI ::std::string _receive();
32
33 MCNAPI void send(::std::string const& message);
34
36
37 MCNAPI bool tryReceive(::std::string& message);
38
40
42 // NOLINTEND
43
44public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCNAPI void $dtor();
48 // NOLINTEND
49};
Definition INetworkPayload.h:13
MCAPI::std::string _receive()
MCAPI void sendPayload(::ScriptDebuggerMessages::INetworkPayload &&payload)
MCAPI void send(::std::string const &message)
MCAPI bool waitForPacket(::ScriptDebuggerMessages::ScriptDebuggerPacket &packetOut)
MCAPI bool tryReceive(::std::string &message)
Definition ScriptDebuggerPacket.h:13
Definition Alias.h:14