LeviLamina
Loading...
Searching...
No Matches
AutoCompleteOption.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/CommandItem.h"
7
8struct AutoCompleteOption {
9public:
10 // AutoCompleteOption inner types define
11 using CursorPos = uint;
12
13public:
14 // member variables
15 // NOLINTBEGIN
16 ::ll::TypedStorage<8, 32, ::std::string> visualText;
17 ::ll::TypedStorage<8, 32, ::std::string> tabCompleteText;
18 ::ll::TypedStorage<8, 32, ::std::string> description;
19 ::ll::TypedStorage<4, 4, uint> matchStart;
20 ::ll::TypedStorage<4, 4, uint> matchLength;
21 ::ll::TypedStorage<4, 4, uint> commandLineMatchStart;
22 ::ll::TypedStorage<4, 4, uint> commandLineMatchOffset;
23 ::ll::TypedStorage<8, 8, ::CommandItem> item;
24 ::ll::TypedStorage<1, 1, bool> highlight;
25 // NOLINTEND
26
27#ifdef LL_PLAT_S
28#else // LL_PLAT_C
29public:
30 // prevent constructor by default
31 AutoCompleteOption& operator=(AutoCompleteOption const&);
32 AutoCompleteOption(AutoCompleteOption const&);
33 AutoCompleteOption();
34
35#endif
36public:
37 // member functions
38 // NOLINTBEGIN
39#ifdef LL_PLAT_C
40 MCAPI AutoCompleteOption(
41 ::std::string const& _visualText,
42 ::std::string const& _desc,
43 ::std::string const& _tabCompleteText,
44 uint _matchStart,
45 uint _matchLength,
46 uint _cmdLineMatchStart,
47 uint _cmdLineMatchOffset
48 );
49
50 MCAPI ::AutoCompleteOption& operator=(::AutoCompleteOption&&);
51
52 MCAPI ~AutoCompleteOption();
53#endif
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59#ifdef LL_PLAT_C
60 MCAPI void* $ctor(
61 ::std::string const& _visualText,
62 ::std::string const& _desc,
63 ::std::string const& _tabCompleteText,
64 uint _matchStart,
65 uint _matchLength,
66 uint _cmdLineMatchStart,
67 uint _cmdLineMatchOffset
68 );
69#endif
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75#ifdef LL_PLAT_C
76 MCFOLD void $dtor();
77#endif
78 // NOLINTEND
79};