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

Classes

struct  OriginMapping
struct  QueuedCommand
struct  TickFunction

Public Member Functions

MCAPI FunctionManager (::std::unique_ptr<::ICommandDispatcher > commandDispatcher, ::std::unique_ptr<::CommandOrigin > tickOrigin, ::GameRule const *gameRule)
MCAPI::CommandOrigin const & _addOriginReference (::CommandOrigin const &origin, uint amount)
MCAPI void _addTickFunctionsFromJson (::Json::Value const &arrayVal, ::CurrentCmdVersion resourceCommandVersion)
MCAPI void _loadTickFiles (::ResourcePackManager const &serverPackManager)
MCAPI void _processFunctionEntry (::std::string const &functionName, ::std::vector<::std::string > const &lines, ::std::vector<::std::string > &errorList, ::CurrentCmdVersion commandVersion, ::CommandRegistry const &registry)
MCAPI void _queueCommandsAfterCaller (::std::vector<::std::unique_ptr<::IFunctionEntry > > const &toQueue, ::CommandOrigin const &origin)
MCAPI void _removeOriginReference (::CommandOrigin const &origin, uint amount)
MCAPI int execute (::FunctionEntry &toExecute, ::CommandOrigin const &origin, ::FunctionQueueOrder order)
MCAPI::FunctionEntry * getFunction (::std::string const &functionName)
MCAPI void load (::ResourcePackManager &serverPackManager, ::CommandRegistry &registry)
MCAPI void tick ()
MCAPI void * $ctor (::std::unique_ptr<::ICommandDispatcher > commandDispatcher, ::std::unique_ptr<::CommandOrigin > tickOrigin, ::GameRule const *gameRule)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::std::string getFunctionNameFromPath (::Core::Path const &filename)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::GameRule const * > mGameRule
::ll::TypedStorage< 1, 1, bool > mIsProcessingStack
::ll::TypedStorage< 8, 8, uint64 > mInsertPoint
::ll::TypedStorage< 4, 4, int > mExecutionCount
::ll::TypedStorage< 8, 24, ::std::vector<::FunctionManager::QueuedCommand > > mCommandList
::ll::TypedStorage< 8, 64, ::std::unordered_map<::CommandOrigin const *, ::FunctionManager::OriginMapping > > mOriginMap
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ICommandDispatcher > > mCommandDispatcher
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::CommandOrigin > > mTickOrigin
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::FunctionEntry > > > mFunctions
::ll::TypedStorage< 8, 24, ::std::vector<::FunctionManager::TickFunction > > mTickFunctions

Member Function Documentation

◆ $vftable()

MCAPI void ** FunctionManager::$vftable ( )
static
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: