3#include "ll/api/base/Macro.h"
5#include "mc/deps/core/utility/optional_ref.h"
7#include "ll/api/service/TargetedBedrock.h"
15class ServerNetworkHandler;
20namespace ll::service::inline bedrock {
22LLNDAPI optional_ref<Minecraft> getMinecraft(
bool isClientSide =
false);
24LLNDAPI optional_ref<Level> getLevel();
26LLNDAPI optional_ref<ServerNetworkHandler> getServerNetworkHandler(
bool isClientSide =
false);
28LLNDAPI optional_ref<RakNet::RakPeer> getRakPeer();
30LLNDAPI optional_ref<NetworkSystem> getNetworkSystem(
bool isClientSide =
false);
32LLNDAPI optional_ref<CommandRegistry> getCommandRegistry(
bool isClientSide =
false);
34LLNDAPI optional_ref<ServerInstance> getServerInstance();