LeviLamina
Loading...
Searching...
No Matches
ScriptDebuggerTransport.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/IDebuggerTransport.h"
7
8// auto generated forward declare list
9// clang-format off
11// clang-format on
12
13class ScriptDebuggerTransport : public ::Scripting::IDebuggerTransport {
14public:
15 // member variables
16 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 ScriptDebuggerTransport& operator=(ScriptDebuggerTransport const&);
27 ScriptDebuggerTransport(ScriptDebuggerTransport const&);
28 ScriptDebuggerTransport();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~ScriptDebuggerTransport() /*override*/ = default;
34
35 virtual bool listen(ushort port) /*override*/;
36
37 virtual bool connect(::std::string const& host, ushort port) /*override*/;
38
39 virtual bool selectClient(::std::string& outClient) /*override*/;
40
41 virtual bool started() const /*override*/;
42
43 virtual bool connected() const /*override*/;
44
45 virtual bool lostConnection() const /*override*/;
46
47 virtual bool readyClose() const /*override*/;
48
49 virtual void close() /*override*/;
50
51 virtual bool peek() const /*override*/;
52
53 virtual bool receive(char* buffer, uint64 length) /*override*/;
54
55 virtual void send(char const* buffer, uint64 length) /*override*/;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCNAPI explicit ScriptDebuggerTransport(::IScriptDebuggerWatchdog& debuggerWatchdog);
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCNAPI void* $ctor(::IScriptDebuggerWatchdog& debuggerWatchdog);
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCNAPI bool $listen(ushort port);
74
75 MCNAPI bool $connect(::std::string const& host, ushort port);
76
77 MCNAPI bool $selectClient(::std::string& outClient);
78
79 MCNAPI bool $started() const;
80
81 MCNAPI bool $connected() const;
82
83 MCNAPI bool $lostConnection() const;
84
85 MCNAPI bool $readyClose() const;
86
87 MCNAPI void $close();
88
89 MCNAPI bool $peek() const;
90
91 MCNAPI bool $receive(char* buffer, uint64 length);
92
93 MCNAPI void $send(char const* buffer, uint64 length);
94
95
96 // NOLINTEND
97
98public:
99 // vftables
100 // NOLINTBEGIN
101 MCNAPI static void** $vftable();
102 // NOLINTEND
103};
Definition IScriptDebuggerWatchdog.h:5
MCAPI bool $connected() const
MCAPI void * $ctor(::IScriptDebuggerWatchdog &debuggerWatchdog)
MCAPI void $send(char const *buffer, uint64 length)
MCAPI bool $lostConnection() const
MCAPI ScriptDebuggerTransport(::IScriptDebuggerWatchdog &debuggerWatchdog)
MCAPI bool $receive(char *buffer, uint64 length)
MCAPI bool $selectClient(::std::string &outClient)
MCAPI bool $connect(::std::string const &host, ushort port)
MCAPI bool $started() const
static MCAPI void ** $vftable()
MCAPI bool $peek() const
MCAPI bool $readyClose() const
MCAPI bool $listen(ushort port)
Definition IDebuggerTransport.h:7
Definition buffer.h:5
Definition Alias.h:14