Skip to content
LeviMC
English
AutoLightDark
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 int _processCommandStack (::FunctionEntry &toExecute, ::CommandOrigin const &origin, ::FunctionQueueOrder order)
MCAPI void _removeOriginReference (::CommandOrigin const &origin, uint amount)
MCAPI::FunctionEntry * getFunction (::std::string const &functionName)
MCAPI void load (::ResourcePackManager &serverPackManager, ::CommandRegistry &registry)
MCAPI void * $ctor (::std::unique_ptr<::ICommandDispatcher > commandDispatcher, ::std::unique_ptr<::CommandOrigin > tickOrigin, ::GameRule const *gameRule)

Static Public Member Functions

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.

◆ _processCommandStack()

MCAPI int FunctionManager::_processCommandStack ( ::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.

◆ _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.

◆ 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.

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

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