LeviLamina
Loading...
Searching...
No Matches
ScriptDebuggerSettings.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/scripting/debugger/ScriptDebuggerAttachMode.h"
7
8struct ScriptDebuggerSettings {
9public:
10 // member variables
11 // NOLINTBEGIN
12 ::ll::TypedStorage<1, 1, bool> mAllowOutboundConnect;
13 ::ll::TypedStorage<1, 1, bool> mAllowInboundListen;
14 ::ll::TypedStorage<4, 4, ::ScriptDebuggerAttachMode> mAutoAttach;
15 ::ll::TypedStorage<4, 4, uint> mAutoAttachTimeoutSec;
16 ::ll::TypedStorage<1, 1, bool> mForceInboundDebugPort;
17 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mHost;
18 ::ll::TypedStorage<4, 8, ::std::optional<uint>> mPort;
19 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mPasscode;
20 // NOLINTEND
21
22#ifdef LL_PLAT_S
23#else // LL_PLAT_C
24public:
25 // prevent constructor by default
26 ScriptDebuggerSettings();
27
28#endif
29public:
30 // member functions
31 // NOLINTBEGIN
32#ifdef LL_PLAT_C
33 MCNAPI ScriptDebuggerSettings(
34 bool allowOutbound,
35 bool allowInbound,
36 ::ScriptDebuggerAttachMode attachMode,
37 uint autoAttachTimeoutSec,
38 bool forcePort,
39 ::std::optional<::std::string> host,
40 ::std::optional<uint> port,
41 ::std::optional<::std::string> passcode
42 );
43#endif
44
46 // NOLINTEND
47
48public:
49 // static variables
50 // NOLINTBEGIN
51 MCNAPI static ushort const& DEFAULT_DEBUGGER_PORT();
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57#ifdef LL_PLAT_C
58 MCNAPI void* $ctor(
59 bool allowOutbound,
60 bool allowInbound,
61 ::ScriptDebuggerAttachMode attachMode,
62 uint autoAttachTimeoutSec,
63 bool forcePort,
64 ::std::optional<::std::string> host,
65 ::std::optional<uint> port,
66 ::std::optional<::std::string> passcode
67 );
68#endif
69 // NOLINTEND
70
71public:
72 // destructor thunk
73 // NOLINTBEGIN
74 MCNAPI void $dtor();
75 // NOLINTEND
76};
static MCAPI ushort const & DEFAULT_DEBUGGER_PORT()