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

Classes

struct  DeferredLoadData

Public Member Functions

MapDataManager & operator= (MapDataManager const &)
 MapDataManager (MapDataManager const &)
virtual void registerOnGameplayUserAddedSubscription (::IGameplayUserManagerConnector &gameplayUserManagerConnector)
virtual::MapItemSavedData & createMapSavedData (::ActorUniqueID const &uuid)
virtual void requestMapInfo (::ActorUniqueID const uuid, bool forceUpdate)
virtual void _copyAndLockMap (::ActorUniqueID const originalMapUuid, ::ActorUniqueID const newMapUuid)
MCAPI MapDataManager (::DimensionManager &dimensionManager, ::LevelStorage *levelStorage, ::std::unique_ptr<::IMapDataManagerOptions > mapDataManagerOptions, ::std::function<::ActorUniqueID()> getNewUniqueID)
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::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::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 ()
MCAPI void $registerOnGameplayUserAddedSubscription (::IGameplayUserManagerConnector &gameplayUserManagerConnector)
MCAPI::MapItemSavedData & $createMapSavedData (::ActorUniqueID const &uuid)
MCAPI void $requestMapInfo (::ActorUniqueID const uuid, bool forceUpdate)
MCAPI void $_copyAndLockMap (::ActorUniqueID const originalMapUuid, ::ActorUniqueID const newMapUuid)

Static Public Member Functions

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

Public Attributes

::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

Constructor & Destructor Documentation

◆ MapDataManager()

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

◆ _deserializeMapData()

MCAPI ::std::unique_ptr<::MapItemSavedData > MapDataManager::_deserializeMapData ( ::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.

◆ _onSaveLevelData()

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

◆ $createMapSavedData()

MCAPI::MapItemSavedData & MapDataManager::$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 MapDataManager::$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 MapDataManager::$_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.

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