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

Public Member Functions

virtual void registerOnGameplayUserAddedSubscription (::IGameplayUserManagerConnector &gameplayUserManagerConnector)
virtual ::Bedrock::PubSub::Connector< void(::MapItemSavedData &)> & getOnCreateMapSavedDataConnector ()
virtual::MapItemSavedData & createMapSavedData (::ActorUniqueID const &uuid)
virtual void requestMapInfo (::ActorUniqueID const uuid, bool forceUpdate)
virtual void _copyAndLockMap (::ActorUniqueID const originalMapUuid, ::ActorUniqueID const newMapUuid)
MCAPI void _onGameplayUserAdded (::EntityContext &entity)
MCAPI void $registerOnGameplayUserAddedSubscription (::IGameplayUserManagerConnector &gameplayUserManagerConnector)
MCAPI ::Bedrock::PubSub::Connector< void(::MapItemSavedData &)> & $getOnCreateMapSavedDataConnector ()
MCAPI::MapItemSavedData & $createMapSavedData (::ActorUniqueID const &uuid)
MCAPI void $requestMapInfo (::ActorUniqueID const uuid, bool forceUpdate)
MCAPI void $_copyAndLockMap (::ActorUniqueID const originalMapUuid, ::ActorUniqueID const newMapUuid)
MCAPI::MapItemSavedData & createMapSavedData (::std::vector<::ActorUniqueID > const &mapIds, ::BlockPos const &origin, ::DimensionType dimension, int returnScaleLevel)
MCAPI::MapItemSavedData & createMapSavedData (::ActorUniqueID const &uuid, ::BlockPos const &origin, ::DimensionType dimension, int returnScaleLevel)
MCAPI ::std::unique_ptr<::MapItemSavedData > _deserializeMapData (::ActorUniqueID const &uuid)
MCAPI void _onSaveLevelData (::LevelStorage &levelStorage)
MCAPI::MapItemSavedData * _publishMapData (::ActorUniqueID const &uuid, ::std::unique_ptr<::MapItemSavedData > loadedMap)
MCAPI bool copyAndLockMap (::ActorUniqueID originalMapUuid, ::ActorUniqueID newMapUuid)
MCAPI::ActorUniqueID expandMapByID (::ActorUniqueID uuid, bool wasInit)
MCAPI::MapItemSavedData * getMapSavedData (::ActorUniqueID uuid)
MCAPI void loadMapDataForDeferredPublish (::ActorUniqueID uuid)
MCAPI void onStartLeaveGame ()
MCAPI void publishDeferredMapData ()
MCAPI void registerOnSaveLevelDataSubscription (::ILevelStorageManagerConnector &levelStorageManagerConnector)
MCAPI void tick ()
MCAPI void * $ctor (::DimensionManager &dimensionManager, ::LevelStorage *levelStorage, ::std::unique_ptr<::IMapDataManagerOptions > mapDataManagerOptions, ::std::function<::ActorUniqueID()> getNewUniqueID)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI bool hasMapToCopy (::Player &player, ::ActorUniqueID const &uuid)

Public Attributes

::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::MapItemSavedData &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnCreateMapSavedData
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnGameplayUserAdded
::ll::TypedStorage< 8, 8, ::DimensionManager & > mDimensionManager
::ll::TypedStorage< 8, 8, ::LevelStorage * > mLevelStorage
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::IMapDataManagerOptions > > > mMapDataManagerOptions
::ll::TypedStorage< 8, 64, ::std::function<::ActorUniqueID()> > mGetNewUniqueID
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnSaveLevelData
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ActorUniqueID, ::std::unique_ptr<::MapItemSavedData > > > mMapData
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::PacketSender > > mPacketSender
::ll::TypedStorage< 8, 208, ::MapDataManager::DeferredLoadData > mDeferredLoadData

Member Function Documentation

◆ registerOnGameplayUserAddedSubscription()

virtual void ServerMapDataManager::registerOnGameplayUserAddedSubscription ( ::IGameplayUserManagerConnector & gameplayUserManagerConnector)
virtual

Reimplemented from MapDataManager.

◆ getOnCreateMapSavedDataConnector()

virtual ::Bedrock::PubSub::Connector< void(::MapItemSavedData &)> & ServerMapDataManager::getOnCreateMapSavedDataConnector ( )
virtual

◆ requestMapInfo()

virtual void ServerMapDataManager::requestMapInfo ( ::ActorUniqueID const uuid,
bool forceUpdate )
virtual

Reimplemented from MapDataManager.

◆ _copyAndLockMap()

virtual void ServerMapDataManager::_copyAndLockMap ( ::ActorUniqueID const originalMapUuid,
::ActorUniqueID const newMapUuid )
virtual

Reimplemented from MapDataManager.

◆ _onGameplayUserAdded()

MCAPI void ServerMapDataManager::_onGameplayUserAdded ( ::EntityContext & entity)
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.

◆ $registerOnGameplayUserAddedSubscription()

MCAPI void ServerMapDataManager::$registerOnGameplayUserAddedSubscription ( ::IGameplayUserManagerConnector & gameplayUserManagerConnector)
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.

◆ $getOnCreateMapSavedDataConnector()

MCAPI ::Bedrock::PubSub::Connector< void(::MapItemSavedData &)> & ServerMapDataManager::$getOnCreateMapSavedDataConnector ( )
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.

◆ $createMapSavedData()

MCAPI::MapItemSavedData & ServerMapDataManager::$createMapSavedData ( ::ActorUniqueID const & uuid)
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.

◆ $requestMapInfo()

MCAPI void ServerMapDataManager::$requestMapInfo ( ::ActorUniqueID const uuid,
bool forceUpdate )
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.

◆ $_copyAndLockMap()

MCAPI void ServerMapDataManager::$_copyAndLockMap ( ::ActorUniqueID const originalMapUuid,
::ActorUniqueID const newMapUuid )
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.

◆ createMapSavedData() [1/2]

MCAPI::MapItemSavedData & MapDataManager::createMapSavedData ( ::std::vector<::ActorUniqueID > const & mapIds,
::BlockPos const & origin,
::DimensionType dimension,
int returnScaleLevel )
inherited
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.

◆ createMapSavedData() [2/2]

MCAPI::MapItemSavedData & MapDataManager::createMapSavedData ( ::ActorUniqueID const & uuid,
::BlockPos const & origin,
::DimensionType dimension,
int returnScaleLevel )
inherited
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.

◆ _deserializeMapData()

MCAPI ::std::unique_ptr<::MapItemSavedData > MapDataManager::_deserializeMapData ( ::ActorUniqueID const & uuid)
inherited
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.

◆ _onSaveLevelData()

MCAPI void MapDataManager::_onSaveLevelData ( ::LevelStorage & levelStorage)
inherited
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.

◆ _publishMapData()

MCAPI::MapItemSavedData * MapDataManager::_publishMapData ( ::ActorUniqueID const & uuid,
::std::unique_ptr<::MapItemSavedData > loadedMap )
inherited
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.

◆ copyAndLockMap()

MCAPI bool MapDataManager::copyAndLockMap ( ::ActorUniqueID originalMapUuid,
::ActorUniqueID newMapUuid )
inherited
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.

◆ expandMapByID()

MCAPI::ActorUniqueID MapDataManager::expandMapByID ( ::ActorUniqueID uuid,
bool wasInit )
inherited
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.

◆ getMapSavedData()

MCAPI::MapItemSavedData * MapDataManager::getMapSavedData ( ::ActorUniqueID uuid)
inherited
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.

◆ loadMapDataForDeferredPublish()

MCAPI void MapDataManager::loadMapDataForDeferredPublish ( ::ActorUniqueID uuid)
inherited
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 MapDataManager::onStartLeaveGame ( )
inherited
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.

◆ publishDeferredMapData()

MCAPI void MapDataManager::publishDeferredMapData ( )
inherited
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.

◆ registerOnSaveLevelDataSubscription()

MCAPI void MapDataManager::registerOnSaveLevelDataSubscription ( ::ILevelStorageManagerConnector & levelStorageManagerConnector)
inherited
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.

◆ tick()

MCAPI void MapDataManager::tick ( )
inherited
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.

◆ hasMapToCopy()

MCAPI bool MapDataManager::hasMapToCopy ( ::Player & player,
::ActorUniqueID const & uuid )
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.

◆ $ctor()

MCAPI void * MapDataManager::$ctor ( ::DimensionManager & dimensionManager,
::LevelStorage * levelStorage,
::std::unique_ptr<::IMapDataManagerOptions > mapDataManagerOptions,
::std::function<::ActorUniqueID()> getNewUniqueID )
inherited
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.

◆ $dtor()

MCAPI void MapDataManager::$dtor ( )
inherited
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: