Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LevelStorageManager Class Reference
Inheritance diagram for LevelStorageManager:

Public Member Functions

LevelStorageManager & operator= (LevelStorageManager const &)
 LevelStorageManager (LevelStorageManager const &)
virtual ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & getOnSaveConnector ()
virtual ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & getOnSaveGameDataConnector ()
virtual ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & getOnSaveLevelDataConnector ()
virtual ::Bedrock::PubSub::Connector< void(bool &)> & getOnCanStartGameSaveTimerCheckConnector ()
virtual ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & getOnStartLeaveGameConnector ()
virtual ::Bedrock::PubSub::Connector< void()> & getOnAppSuspendConnector ()
MCAPI LevelStorageManager (::Bedrock::UniqueOwnerPointer<::LevelStorage > levelStorage, ::std::unique_ptr<::GameDataSaveTimer > gameDataSaveTimer, ::std::unique_ptr<::UserStorageChecker > userStorageChecker, ::IMinecraftEventing &eventing)
MCAPI void _onNewDimensionCreated (::Dimension &dimension)
MCAPI void _savePlayer (::Player &player)
MCAPI void initializeWithDimensionManager (::IDimensionManagerConnector &dimensionManagerConnector)
MCAPI void initializeWithPlayerDeathManager (::IPlayerDeathManagerConnector &playerDeathManagerConnector)
MCAPI void onStartLeaveGame ()
MCAPI void save (::std::chrono::steady_clock::time_point currentTime)
MCAPI void saveGameData (::std::chrono::steady_clock::time_point currentTime)
MCAPI void saveLevelData ()
MCAPI void trySaveGameData (::std::chrono::steady_clock::time_point currentTime)
MCAPI void * $ctor (::Bedrock::UniqueOwnerPointer<::LevelStorage > levelStorage, ::std::unique_ptr<::GameDataSaveTimer > gameDataSaveTimer, ::std::unique_ptr<::UserStorageChecker > userStorageChecker, ::IMinecraftEventing &eventing)
MCAPI ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & $getOnSaveConnector ()
MCAPI ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & $getOnSaveGameDataConnector ()
MCAPI ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & $getOnSaveLevelDataConnector ()
MCAPI ::Bedrock::PubSub::Connector< void(bool &)> & $getOnCanStartGameSaveTimerCheckConnector ()
MCAPI ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & $getOnStartLeaveGameConnector ()
MCAPI ::Bedrock::PubSub::Connector< void()> & $getOnAppSuspendConnector ()

Public Attributes

::ll::TypedStorage< 8, 16, ::gsl::not_null<::Bedrock::UniqueOwnerPointer<::LevelStorage > > const > mLevelStorage
::ll::TypedStorage< 8, 80, ::SavedDataStorage > mSavedDataStorage
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::GameDataSaveTimer > > > mGameDataSaveTimer
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::UserStorageChecker > > > mUserStorageChecker
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::LevelStorage &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mSavePublisher
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::LevelStorage &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mSaveGameDataPublisher
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::LevelStorage &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mSaveLevelDataPublisher
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(bool &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mCanStartSaveTimerCheckPublisher
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::LevelStorage &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnStartLeaveGamePublisher
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnAppSuspendPublisher
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnPlayerDeathSubscription
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnDimensionCreatedSubscription
::ll::TypedStorage< 1, 1, bool > mIsLevelTearingDown
::ll::TypedStorage< 8, 8, ::IMinecraftEventing & > mEventing
::ll::TypedStorage< 4, 4, uint > mPollSaveGameStatisticsCount

Constructor & Destructor Documentation

◆ LevelStorageManager()

MCAPI LevelStorageManager::LevelStorageManager ( ::Bedrock::UniqueOwnerPointer<::LevelStorage > levelStorage,
::std::unique_ptr<::GameDataSaveTimer > gameDataSaveTimer,
::std::unique_ptr<::UserStorageChecker > userStorageChecker,
::IMinecraftEventing & eventing )
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

◆ getOnSaveConnector()

virtual ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & LevelStorageManager::getOnSaveConnector ( )
virtual

◆ getOnSaveGameDataConnector()

virtual ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & LevelStorageManager::getOnSaveGameDataConnector ( )
virtual

◆ getOnSaveLevelDataConnector()

virtual ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & LevelStorageManager::getOnSaveLevelDataConnector ( )
virtual

◆ getOnCanStartGameSaveTimerCheckConnector()

virtual ::Bedrock::PubSub::Connector< void(bool &)> & LevelStorageManager::getOnCanStartGameSaveTimerCheckConnector ( )
virtual

◆ getOnStartLeaveGameConnector()

virtual ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & LevelStorageManager::getOnStartLeaveGameConnector ( )
virtual

◆ getOnAppSuspendConnector()

virtual ::Bedrock::PubSub::Connector< void()> & LevelStorageManager::getOnAppSuspendConnector ( )
virtual

◆ _onNewDimensionCreated()

MCAPI void LevelStorageManager::_onNewDimensionCreated ( ::Dimension & dimension)
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.

◆ _savePlayer()

MCAPI void LevelStorageManager::_savePlayer ( ::Player & player)
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.

◆ initializeWithDimensionManager()

MCAPI void LevelStorageManager::initializeWithDimensionManager ( ::IDimensionManagerConnector & dimensionManagerConnector)
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.

◆ initializeWithPlayerDeathManager()

MCAPI void LevelStorageManager::initializeWithPlayerDeathManager ( ::IPlayerDeathManagerConnector & playerDeathManagerConnector)
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.

◆ onStartLeaveGame()

MCAPI void LevelStorageManager::onStartLeaveGame ( )
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.

◆ save()

MCAPI void LevelStorageManager::save ( ::std::chrono::steady_clock::time_point currentTime)
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.

◆ saveGameData()

MCAPI void LevelStorageManager::saveGameData ( ::std::chrono::steady_clock::time_point currentTime)
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.

◆ saveLevelData()

MCAPI void LevelStorageManager::saveLevelData ( )
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.

◆ trySaveGameData()

MCAPI void LevelStorageManager::trySaveGameData ( ::std::chrono::steady_clock::time_point currentTime)
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 * LevelStorageManager::$ctor ( ::Bedrock::UniqueOwnerPointer<::LevelStorage > levelStorage,
::std::unique_ptr<::GameDataSaveTimer > gameDataSaveTimer,
::std::unique_ptr<::UserStorageChecker > userStorageChecker,
::IMinecraftEventing & eventing )
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.

◆ $getOnSaveConnector()

MCAPI ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & LevelStorageManager::$getOnSaveConnector ( )
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.

◆ $getOnSaveGameDataConnector()

MCAPI ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & LevelStorageManager::$getOnSaveGameDataConnector ( )
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.

◆ $getOnSaveLevelDataConnector()

MCAPI ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & LevelStorageManager::$getOnSaveLevelDataConnector ( )
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.

◆ $getOnCanStartGameSaveTimerCheckConnector()

MCAPI ::Bedrock::PubSub::Connector< void(bool &)> & LevelStorageManager::$getOnCanStartGameSaveTimerCheckConnector ( )
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.

◆ $getOnStartLeaveGameConnector()

MCAPI ::Bedrock::PubSub::Connector< void(::LevelStorage &)> & LevelStorageManager::$getOnStartLeaveGameConnector ( )
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.

◆ $getOnAppSuspendConnector()

MCAPI ::Bedrock::PubSub::Connector< void()> & LevelStorageManager::$getOnAppSuspendConnector ( )
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: