LeviLamina
Loading...
Searching...
No Matches
CommandParameterData Class Reference

Public Types

using CustomStorageGetFn = void* (*)(::Command*, int)
using CustomStorageIsSetFn = bool* (*)(::Command*, int)
using ParseFunction

Public Member Functions

void addOptions (::CommandParameterOption option)
LLNDAPI CommandParameterData (Bedrock::typeid_t< CommandRegistry > typeIndex, ParseFunction parser, std::string name, ::CommandParameterDataType type, char const *enumNameOrPostfix, char const *subChain, int offset, bool optional, int flagOffset, CommandParameterOption options)
LLNDAPI bool operator== (CommandParameterData const &other) const
 CommandParameterData (CommandParameterData const &)=default
CommandParameterDataoperator= (CommandParameterData const &)=default
MCAPI void $dtor ()

Public Attributes

::Bedrock::typeid_t<::CommandRegistrymTypeIndex
ParseFunction mParse
::std::string mName
char const * mEnumNameOrPostfix
CommandRegistry::Symbol mEnumOrPostfixSymbol
char const * mChainedSubcommand
CommandRegistry::Symbol mChainedSubcommandSymbol
::CommandParameterDataType mParamType
int mOffset
int mSetOffset
bool mIsOptional
::CommandParameterOption mOptions
::ll::TypedStorage< 8, 8, void *(*)(::Command *, int)> mValueGetFn {}
::ll::TypedStorage< 8, 8, bool *(*)(::Command *, int)> mValueIsSetFn {}

Member Typedef Documentation

◆ ParseFunction

using CommandParameterData::ParseFunction
Initial value:
void*,
int,
::std::string&,
::std::vector<::std::string>&
) const
Definition CommandOrigin.h:32
Definition CommandRegistry.h:47
Definition CommandRegistry.h:368

Member Function Documentation

◆ $dtor()

MCAPI void CommandParameterData::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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