LeviLamina
Loading...
Searching...
No Matches
Minecraft Class Reference
Inheritance diagram for Minecraft:

Classes

struct  Impl

Public Member Functions

LLAPI Level * getLevel () const
Minecraft & operator= (Minecraft const &)
 Minecraft (Minecraft const &)
virtual void setSimTimePause (bool pause)
virtual void setSimTimeScale (float scale)
virtual bool getSimPaused () const
virtual bool isOnlineClient () const
virtual ::StackRefResult<::EntityRegistry > getEntityRegistry ()
virtual ::StackRefResult<::EntityRegistry const > getEntityRegistry () const
MCAPI Minecraft (::MinecraftArguments &&args)
MCAPI void _tryCatchupMovementTicks ()
MCAPI void configureGameTest (::Level &level, ::Experiments const &experiments)
MCAPI void disconnectClient (::NetworkIdentifier const &id, ::Connection::DisconnectFailReason disconnectReason)
MCAPI ::Bedrock::NonOwnerPointer<::ServerNetworkHandler > getServerNetworkHandler ()
MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager > getStructureManager ()
MCAPI bool hostMultiplayer (::std::string const &serverName, ::std::pair<::std::unique_ptr<::Level >, ::OwnerPtr<::EntityContext > > levelEntity, ::KeyManager const &hostPublicKey, int maxChunkRadius, bool shouldAnnounce, ::ConnectionDefinition const &connectionDefinition, ::std::unordered_map<::PackIdVersion, ::std::string > const &packIdToContentKey, ::Scheduler &scheduler, ::TextFilteringProcessor *textFilteringProcessor, ::NetworkServerConfig const &packetHandlerConfig, ::std::shared_ptr<::ScriptPackSettingsCache > packSettingsCache, ::ServerNetworkHandlerDependencies &&serverNetworkOptions)
MCFOLD void init ()
MCFOLD void initAsDedicatedServer ()
MCAPI void initCommands ()
MCAPI void startLeaveGame (bool stopNetwork)
MCAPI bool update ()
MCAPI void * $ctor (::MinecraftArguments &&args)
MCAPI void $setSimTimePause (bool pause)
MCAPI void $setSimTimeScale (float scale)
MCAPI bool $getSimPaused () const
MCAPI bool $isOnlineClient () const
MCAPI ::StackRefResult<::EntityRegistry > $getEntityRegistry ()
MCAPI ::StackRefResult<::EntityRegistry const > $getEntityRegistry () const
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI void _tryCatchupMovementTicks (::EntitySystems &entitySystems, ::EntityRegistry &registry, ::std::unique_ptr<::ITickingSystem > &addMovementTickForCatchup)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::GameCallbacks & > mGameCallbacks
::ll::TypedStorage< 8, 8, ::IMinecraftEventing & > mEventing
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ResourcePackManager > > mResourceLoader
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::StructureManager > > mStructureManager
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::GameModuleServer > > mGameModuleServer
::ll::TypedStorage< 8, 8, ::PermissionsFile * > mPermissionsFile
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::PrivateKeyManager > > mServerKeys
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::MinecraftServiceKeyManager > > mMinecraftServiceKeys
::ll::TypedStorage< 8, 32, ::std::string const > mSaveGamePath
::ll::TypedStorage< 8, 8, ::ServerMetrics * > mServerMetrics
::ll::TypedStorage< 1, 1, bool const > mIsDedicatedServer
::ll::TypedStorage< 1, 1, bool > mCorruptionDetected
::ll::TypedStorage< 1, 1, bool > mFireOnLevelCorrupt
::ll::TypedStorage< 8, 8, double > mFrameDuration
::ll::TypedStorage< 8, 8, double > mLastFrameStart
::ll::TypedStorage< 8, 8, ::std::chrono::seconds > mMaxPlayerIdleTime
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DefaultCommandsContextProvider > > mDefaultCommandsContextProvider
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::MinecraftCommands > > mCommands
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::GameSession > > mGameSession
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::GameTestLevelListener > > mGameTestLevelListener
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::MinecraftGameTest > > mGameTest
::ll::TypedStorage< 8, 8, ::Timer & > mSimTimer
::ll::TypedStorage< 8, 8, ::Timer & > mRealTimer
::ll::TypedStorage< 8, 16, ::ClientOrServerNetworkSystemRef > mNetwork
::ll::TypedStorage< 8, 8, ::PacketSender & > mPacketSender
::ll::TypedStorage< 1, 1, ::SubClientId > mClientSubId
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::Minecraft::Impl > > > mImpl
::ll::TypedStorage< 8, 16, ::gsl::not_null<::OwnerPtr<::EntityRegistry > > > mEntityRegistry
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ITickingSystem > > mAddMovementTickForCatchup
::ll::TypedStorage< 8, 8, ::std::unique_ptr< ::Bedrock::PubSub::Publisher< void(::Level *), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0 > > > mLevelSubscribers
::ll::TypedStorage< 8, 64, ::brstd::move_only_function< void() const > > mRequestServerShutdown
::ll::TypedStorage< 8, 64, ::brstd::move_only_function< ::std::unique_ptr<::ServerNetworkHandler >(::MinecraftArguments::CreateServerNetworkHandlerArgs &&)> > mCreateServerNetworkHandler
::ll::TypedStorage< 8, 64, ::brstd::move_only_function<::Bedrock::NotNullNonOwnerPtr<::FileArchiver >() const > > mGetFileArchiver
::ll::TypedStorage< 8, 64, ::brstd::move_only_function< ::std::unique_ptr<::MinecraftCommands >(::MinecraftArguments::CreateMinecraftCommandsArgs &&) const > > mCreateMinecraftCommands
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > mControlBlock

Member Function Documentation

◆ getEntityRegistry() [1/2]

virtual ::StackRefResult<::EntityRegistry > Minecraft::getEntityRegistry ( )
virtual

Implements IEntityRegistryOwner.

◆ getEntityRegistry() [2/2]

virtual ::StackRefResult<::EntityRegistry const > Minecraft::getEntityRegistry ( ) const
virtual

Implements IEntityRegistryOwner.

◆ $vftable()

MCAPI void ** Bedrock::EnableNonOwnerReferences::$vftable ( )
staticinherited
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: