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 { struct NotificationEvent; }
8namespace ScriptDebuggerMessages { struct PrintEvent; }
9namespace ScriptDebuggerMessages { struct ProfilerCapture; }
10namespace ScriptDebuggerMessages { struct ProtocolEvent; }
11namespace ScriptDebuggerMessages { struct ProtocolResponse; }
12namespace cereal { struct ReflectionCtx; }
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI ::std::string receive();
33
34 MCAPI bool receiveProtocolResponse(::ScriptDebuggerMessages::ProtocolResponse& protocolResponse);
35
36 MCAPI void send(::std::string const& message);
37
38 MCAPI void sendNotificationEvent(::ScriptDebuggerMessages::NotificationEvent&& notificationEvent);
39
40 MCAPI void sendPrintEvent(::ScriptDebuggerMessages::PrintEvent&& printEvent);
41
42 MCAPI void sendProfilerCapture(::ScriptDebuggerMessages::ProfilerCapture&& profilerCapture);
43
44 MCAPI void sendProtocolEvent(::ScriptDebuggerMessages::ProtocolEvent&& protocolEvent);
45 // NOLINTEND
46
47public:
48 // static functions
49 // NOLINTBEGIN
50 MCAPI static void bindMessageTypes(::cereal::ReflectionCtx& ctx);
51 // NOLINTEND
52};
Definition ScriptDebuggerProtocol.h:15
Definition NotificationEvent.h:7
Definition PrintEvent.h:7
Definition ProfilerCapture.h:7
Definition ProtocolEvent.h:7
Definition ProtocolResponse.h:7
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14