3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/item/ItemInstance.h"
29 ::ll::TypedStorage<8, 32, ::std::string> text;
30 ::ll::TypedStorage<8, 128, ::ItemInstance> itemInstance;
36 MCAPI ~AutoCompleteMessage();
49 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mIntellisenseMessages;
50 ::ll::TypedStorage<1, 1, bool> mIsDevConsole;
51 ::ll::TypedStorage<8, 32, ::std::string> mLastTabCompleteMessage;
52 ::ll::TypedStorage<4, 4, int> mLastTabCompleteIndex;
53 ::ll::TypedStorage<1, 1, bool> mInitTabComplete;
54 ::ll::TypedStorage<1, 1, bool> mNeedsLayoutUpdate;
55 ::ll::TypedStorage<4, 4, int> mAutoCompleteGridSize;
56 ::ll::TypedStorage<8, 24, ::std::vector<::IntellisenseHandler::AutoCompleteMessage>> mAutoCompleteMessages;
62 MCAPI ::std::unique_ptr<::AutoCompleteInformation> _getAutoCompleteOptions(
63 ::CommandOrigin
const& origin,
64 ::std::string
const& _cmdLine,
65 uint cursorPositionUnsafe,
66 ::CommandRegistry& registry,
70 MCAPI ::std::unique_ptr<::CommandOrigin>
71 _getCommandOrigin(::std::weak_ptr<::ClientInstanceScreenModel> minecraftScreenModel)
const;
73 MCAPI
void _handleCommandIntellisense(
74 ::ClientInstanceScreenModel& screenModel,
75 ::CommandOrigin
const& origin,
76 ::std::string
const& currentMessage,
77 uint cursorPositionUnsafe
80 MCAPI
bool _isPlayerMention(::std::string
const& in)
const;
82 MCAPI
void _updateAutoCompleteMessages(
83 ::AutoCompleteInformation
const& autocompleteInfo,
84 ::CommandOrigin
const& origin,
85 ::CommandRegistry
const& registry,
90 MCAPI
void _updateIntellisenseMessages(::CommandSyntaxInformation
const& intellisenseInfo);
92 MCAPI ::std::string getAutoCompleteText(
int index);
94 MCAPI
void handleClickComplete(
95 ::std::weak_ptr<::ClientInstanceScreenModel> minecraftScreenModel,
96 ::std::string& currentMessage,
100 MCAPI
void handleTabComplete(
101 ::std::weak_ptr<::ClientInstanceScreenModel> minecraftScreenModel,
102 ::std::string& currentMessage,
106 MCAPI
void handleTabComplete(
107 ::std::weak_ptr<::ClientInstanceScreenModel> minecraftScreenModel,
108 ::CommandOrigin
const& origin,
109 ::std::string& currentMessage,
114 MCAPI
void updateIntellisense(
115 ::std::weak_ptr<::ClientInstanceScreenModel> minecraftScreenModel,
116 ::std::string
const& currentMessage
119 MCAPI ~IntellisenseHandler();
Definition ClientInstanceScreenModel.h:5
Definition CommandOrigin.h:32
Definition CommandRegistry.h:50
Definition IntellisenseHandler.h:5
Definition IntellisenseHandler.h:13