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
9public:
10 // member variables
11 // NOLINTBEGIN
17 // NOLINTEND
18
19public:
20 // prevent constructor by default
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 0
29 virtual ~ScriptDebuggerTransport() /*override*/ = default;
30
31 // vIndex: 1
32 virtual bool listen(ushort port) /*override*/;
33
34 // vIndex: 2
35 virtual bool connect(::std::string const& host, ushort port) /*override*/;
36
37 // vIndex: 3
38 virtual bool selectClient(::std::string& outClient) /*override*/;
39
40 // vIndex: 4
41 virtual bool started() const /*override*/;
42
43 // vIndex: 5
44 virtual bool connected() const /*override*/;
45
46 // vIndex: 6
47 virtual bool lostConnection() const /*override*/;
48
49 // vIndex: 7
50 virtual bool readyClose() const /*override*/;
51
52 // vIndex: 8
53 virtual void close() /*override*/;
54
55 // vIndex: 9
56 virtual bool peek() const /*override*/;
57
58 // vIndex: 10
59 virtual bool receive(char* buffer, uint64 length) /*override*/;
60
61 // vIndex: 11
62 virtual void send(char const* buffer, uint64 length) /*override*/;
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCNAPI bool $listen(ushort port);
69
70 MCNAPI bool $connect(::std::string const& host, ushort port);
71
72 MCNAPI bool $selectClient(::std::string& outClient);
73
74 MCNAPI bool $started() const;
75
76 MCNAPI bool $connected() const;
77
78 MCNAPI bool $lostConnection() const;
79
80 MCNAPI bool $readyClose() const;
81
82 MCNAPI void $close();
83
84 MCNAPI bool $peek() const;
85
86 MCNAPI bool $receive(char* buffer, uint64 length);
87
88 MCNAPI void $send(char const* buffer, uint64 length);
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftable();
95 // NOLINTEND
96};
Definition ScriptDebuggerTransport.h:8
MCAPI bool $connected() const
MCAPI void $send(char const *buffer, uint64 length)
MCAPI bool $lostConnection() const
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