LeviLamina
Loading...
Searching...
No Matches
ll::command::CommandRegistrar Class Reference

Public Member Functions

void clear ()
 
LLNDAPI CommandHandlegetOrCreateCommand (std::string const &name, std::string const &description={}, CommandPermissionLevel requirement=CommandPermissionLevel::Any, CommandFlag flag=CommandFlagValue::NotCheat, std::weak_ptr< mod::Mod > mod=mod::NativeMod::current())
 
LLAPI bool hasEnum (std::string const &name)
 
LLAPI bool tryRegisterEnum (std::string const &name, std::vector< std::pair< std::string, uint64 > > values, Bedrock::typeid_t< CommandRegistry > type, CommandRegistry::ParseFunction parser)
 
LLAPI bool addEnumValues (std::string const &name, std::vector< std::pair< std::string, uint64 > > values, Bedrock::typeid_t< CommandRegistry > type)
 
LLAPI bool tryRegisterRuntimeEnum (std::string const &name, std::vector< std::pair< std::string, uint64 > > values)
 
LLAPI bool addRuntimeEnumValues (std::string const &name, std::vector< std::pair< std::string, uint64 > > values)
 
LLAPI bool hasSoftEnum (std::string const &name)
 
LLAPI bool tryRegisterSoftEnum (std::string const &name, std::vector< std::string > values)
 
LLAPI bool addSoftEnumValues (std::string const &name, std::vector< std::string > values)
 
LLAPI bool removeSoftEnumValues (std::string const &name, std::vector< std::string > values)
 
LLAPI bool setSoftEnumValues (std::string const &name, std::vector< std::string > values)
 
template<concepts::Require< std::is_enum > T>
bool tryRegisterEnum ()
 
template<concepts::Require< std::is_enum > T>
bool tryRegisterRuntimeEnum ()
 
template<concepts::Specializes< SoftEnum > T>
bool tryRegisterSoftEnum ()
 

Static Public Member Functions

static LLNDAPI CommandRegistrargetInstance ()
 

The documentation for this class was generated from the following file: