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

Public Member Functions

virtual void setSimTimePause (bool pause)
 
virtual void setSimTimeScale (float scale)
 
virtual bool getSimPaused () const
 
virtual bool isOnlineClient () const
 
virtual ::StackRefResult<::EntityRegistrygetEntityRegistry ()
 
virtual ::StackRefResult<::EntityRegistry const > getEntityRegistry () const
 
MCAPI Minecraft (::IMinecraftApp &app, ::GameCallbacks &gameCallbacks, ::AllowList &allowList, ::PermissionsFile *permissionsFile, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > const &filePathManager, ::std::chrono::seconds maxPlayerIdleTime, ::IMinecraftEventing &eventing, ::ClientOrServerNetworkSystemRef network, ::PacketSender &packetSender, ::SubClientId clientSubId, ::Timer &simTimer, ::Timer &realTimer, ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const > const &contentTierManager, ::ServerMetrics *serverMetrics)
 
MCAPI void _tryCatchupMovementTicks ()
 
MCAPI void activateAllowList ()
 
MCAPI void configureGameTest (::Level &level, ::Experiments const &experiments)
 
MCAPI void disconnectClient (::NetworkIdentifier const &id, ::Connection::DisconnectFailReason discoReason, ::std::string const &reasonMessage)
 
MCAPI::Level * getLevel () const
 
MCAPI ::Bedrock::NonOwnerPointer<::ServerNetworkHandlergetServerNetworkHandler ()
 
MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManagergetStructureManager ()
 
MCAPI bool hostMultiplayer (::std::string const &serverName, ::std::pair<::std::unique_ptr<::Level >, ::OwnerPtr<::EntityContext > > levelEntity, ::Player *localPlayerId, ::mce::UUID const &clientNetworkHandler, ::std::unique_ptr<::NetEventCallback > maxChunkRadius, int connectionDefinition, bool packIdToContentKey, ::ConnectionDefinition const &scheduler, ::std::unordered_map<::PackIdVersion, ::std::string > const &textFilteringProcessor, ::Scheduler &packetHandlerConfig, ::TextFilteringProcessor *localPlayer, ::NetworkServerConfig const &shouldAnnounce)
 
MCAPI void init ()
 
MCAPI void setupServerCommands (::std::string const &networkCommands, ::std::string const &networkTestCommands)
 
MCAPI void startLeaveGame (bool stopNetwork)
 
MCAPI void tickSimtime (int nTick, int maxTick)
 
MCAPI bool update ()
 
MCAPI void * $ctor (::IMinecraftApp &app, ::GameCallbacks &gameCallbacks, ::AllowList &allowList, ::PermissionsFile *permissionsFile, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > const &filePathManager, ::std::chrono::seconds maxPlayerIdleTime, ::IMinecraftEventing &eventing, ::ClientOrServerNetworkSystemRef network, ::PacketSender &packetSender, ::SubClientId clientSubId, ::Timer &simTimer, ::Timer &realTimer, ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const > const &contentTierManager, ::ServerMetrics *serverMetrics)
 
MCAPI void $dtor ()
 
MCAPI void $setSimTimePause (bool pause)
 
MCAPI void $setSimTimeScale (float scale)
 
MCAPI bool $getSimPaused () const
 
MCAPI bool $isOnlineClient () const
 
MCFOLD ::StackRefResult<::EntityRegistry$getEntityRegistry ()
 
MCFOLD ::StackRefResult<::EntityRegistry const > $getEntityRegistry () const
 
MCFOLD void * $ctor ()
 
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)
 

Static Public Member Functions

static MCAPI void _tryCatchupMovementTicks (::EntitySystems &entitySystems, ::EntityRegistry &registry)
 
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, ::AllowList & > mAllowList
 
::ll::TypedStorage< 8, 8, ::PermissionsFile * > mPermissionsFile
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::PrivateKeyManager > > mServerKeys
 
::ll::TypedStorage< 8, 32, ::std::string const > mSaveGamePath
 
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > > mFilePathManager
 
::ll::TypedStorage< 8, 8, ::ServerMetrics * > mServerMetrics
 
::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<::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, ::ClientOrServerNetworkSystemRefmNetwork
 
::ll::TypedStorage< 8, 8, ::PacketSender & > mPacketSender
 
::ll::TypedStorage< 8, 8, ::IMinecraftApp & > mApp
 
::ll::TypedStorage< 1, 1, ::SubClientId > mClientSubId
 
::ll::TypedStorage< 8, 16, ::OwnerPtr<::EntityRegistry > > mEntityRegistry
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Bedrock::PubSub::Publisher< void(::Level *), ::Bedrock::PubSub::ThreadModel::SingleThreaded > > > mLevelSubscribers
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 

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.


The documentation for this class was generated from the following file: