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>> mListenAddress;
20 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mPasscode;
21 // NOLINTEND
22
23#ifdef LL_PLAT_S
24#else // LL_PLAT_C
25public:
26 // prevent constructor by default
27 ScriptDebuggerSettings();
28
29#endif
30public:
31 // member functions
32 // NOLINTBEGIN
33#ifdef LL_PLAT_C
34 MCNAPI ScriptDebuggerSettings(
35 bool allowOutbound,
36 bool allowInbound,
37 ::ScriptDebuggerAttachMode attachMode,
38 uint autoAttachTimeoutSec,
39 bool forcePort,
40 ::std::optional<::std::string> host,
41 ::std::optional<uint> port,
42 ::std::optional<::std::string> passcode
43 );
44#endif
45
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52#ifdef LL_PLAT_C
53 MCNAPI void* $ctor(
54 bool allowOutbound,
55 bool allowInbound,
56 ::ScriptDebuggerAttachMode attachMode,
57 uint autoAttachTimeoutSec,
58 bool forcePort,
59 ::std::optional<::std::string> host,
60 ::std::optional<uint> port,
61 ::std::optional<::std::string> passcode
62 );
63#endif
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69 MCNAPI void $dtor();
70 // NOLINTEND
71};