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

Constructor & Destructor Documentation

◆ FunctionManager()

MCAPI FunctionManager::FunctionManager ( ::std::unique_ptr<::ICommandDispatcher > commandDispatcher,
::std::unique_ptr<::CommandOrigin > tickOrigin,
::GameRule const * gameRule )
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.

Member Function Documentation

◆ _addOriginReference()

MCAPI::CommandOrigin const & FunctionManager::_addOriginReference ( ::CommandOrigin const & origin,
uint amount )
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.

◆ _addTickFunctionsFromJson()

MCAPI void FunctionManager::_addTickFunctionsFromJson ( ::Json::Value const & arrayVal,
::CurrentCmdVersion resourceCommandVersion )
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.

◆ _loadTickFiles()

MCAPI void FunctionManager::_loadTickFiles ( ::ResourcePackManager const & serverPackManager)
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.

◆ _processFunctionEntry()

MCAPI void FunctionManager::_processFunctionEntry ( ::std::string const & functionName,
::std::vector<::std::string > const & lines,
::std::vector<::std::string > & errorList,
::CurrentCmdVersion commandVersion,
::CommandRegistry const & registry )
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.

◆ _queueCommandsAfterCaller()

MCAPI void FunctionManager::_queueCommandsAfterCaller ( ::std::vector<::std::unique_ptr<::IFunctionEntry > > const & toQueue,
::CommandOrigin const & origin )
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.

◆ _removeOriginReference()

MCAPI void FunctionManager::_removeOriginReference ( ::CommandOrigin const & origin,
uint amount )
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.

◆ execute()

MCAPI int FunctionManager::execute ( ::FunctionEntry & toExecute,
::CommandOrigin const & origin,
::FunctionQueueOrder order )
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.

◆ getFunction()

MCAPI::FunctionEntry * FunctionManager::getFunction ( ::std::string const & functionName)
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.

◆ load()

MCAPI void FunctionManager::load ( ::ResourcePackManager & serverPackManager,
::CommandRegistry & registry )
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.

◆ tick()

MCAPI void FunctionManager::tick ( )
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.

◆ getFunctionNameFromPath()

MCAPI ::std::string FunctionManager::getFunctionNameFromPath ( ::Core::Path const & filename)
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.

◆ $ctor()

MCAPI void * FunctionManager::$ctor ( ::std::unique_ptr<::ICommandDispatcher > commandDispatcher,
::std::unique_ptr<::CommandOrigin > tickOrigin,
::GameRule const * gameRule )
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.

◆ $dtor()

MCAPI void FunctionManager::$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.

◆ $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: