19class FunctionManager {
33 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandOrigin>> mOrigin;
34 ::ll::TypedStorage<4, 4, uint> mRefCount;
42 ::ll::TypedStorage<8, 8, ::IFunctionEntry*> mFunction;
43 ::ll::TypedStorage<8, 8, ::gsl::not_null<::CommandOrigin const*>> mOrigin;
51 ::ll::TypedStorage<8, 8, ::gsl::not_null<::FunctionEntry*>> mFunction;
52 ::ll::TypedStorage<1, 1, ::FunctionQueueOrder> mOrder;
59 ::ll::TypedStorage<8, 8, ::GameRule const*> mGameRule;
60 ::ll::TypedStorage<1, 1, bool> mIsProcessingStack;
61 ::ll::TypedStorage<8, 8, uint64> mInsertPoint;
62 ::ll::TypedStorage<4, 4, int> mExecutionCount;
63 ::ll::TypedStorage<8, 24, ::std::vector<::FunctionManager::QueuedCommand>> mCommandList;
64 ::ll::TypedStorage<8, 64, ::std::unordered_map<::CommandOrigin const*, ::FunctionManager::OriginMapping>>
66 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ICommandDispatcher>> mCommandDispatcher;
67 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandOrigin>> mTickOrigin;
68 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::FunctionEntry>>> mFunctions;
69 ::ll::TypedStorage<8, 24, ::std::vector<::FunctionManager::TickFunction>> mTickFunctions;
79 virtual ~FunctionManager() =
default;
85 MCAPI FunctionManager(
86 ::std::unique_ptr<::ICommandDispatcher> commandDispatcher,
87 ::std::unique_ptr<::CommandOrigin> tickOrigin,
91 MCAPI ::CommandOrigin
const& _addOriginReference(
::CommandOrigin const& origin, uint amount);
96 MCAPI
void _removeOriginReference(
::CommandOrigin const& origin, uint amount);
98 MCAPI ::FunctionEntry* getFunction(::std::string
const& functionName);
107 ::std::unique_ptr<::ICommandDispatcher> commandDispatcher,
108 ::std::unique_ptr<::CommandOrigin> tickOrigin,
Definition FunctionEntry.h:16
Definition IFunctionEntry.h:14