41 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mAliasOpt;
42 ::ll::TypedStorage<8, 136, ::ScriptModuleMinecraft::ScriptCustomCommandInterface> mCommandInterface;
51 using CommandMap = ::std::unordered_map<
55 using EnumNameValuesMap = ::std::unordered_map<::std::string, ::std::vector<::std::string>>;
57 using EnumValues = ::std::vector<::std::string>;
62 ::ll::TypedStorage<8, 32, ::std::string> mNamespace;
63 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::vector<::std::string>>> mEnums;
89 ::ll::TypedStorage<8, 8, ::CommandRegistry&> mCommandRegistry;
93 ::std::unordered_map<::std::string, ::ScriptModuleMinecraft::CustomCommandRegistry::PendingRegistrations>>
94 mPendingRegistrationsByPack;
98 ::std::unordered_map<::std::string, ::std::shared_ptr<::ScriptModuleMinecraft::CommandClosureStorage>>>
100 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::std::string>>> mEnumNameStorage;
101 ::ll::TypedStorage<8, 64, ::std::unordered_set<::std::string>> mClaimedAliases;
106 CustomCommandRegistry& operator=(CustomCommandRegistry
const&);
107 CustomCommandRegistry(CustomCommandRegistry
const&);
108 CustomCommandRegistry();
113 virtual ~CustomCommandRegistry() =
default;
115 virtual void _onScriptInitializationComplete() ;
123 MCAPI ::std::optional<::ScriptModuleMinecraft::ScriptCustomCommandError> _checkNamespaceConsistency(
125 ::std::string_view
const newNamespace
128 MCAPI ::ScriptModuleMinecraft::CustomCommandRegistry::PendingRegistrations&
129 _getOrCreatePendingRegistrationsForPack(::std::string
const& packUUID, ::std::string_view
const newNamespace);
141 MCAPI
void $_onScriptInitializationComplete();