LeviLamina
Loading...
Searching...
No Matches
MapDataManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class Dimension;
16class LevelStorage;
18struct ActorUniqueID;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 MapDataManager& operator=(MapDataManager const&);
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 0
44 virtual ~MapDataManager();
45
46 // vIndex: 1
47 virtual void registerOnGameplayUserAddedSubscription(::IGameplayUserManagerConnector&);
48
49 // vIndex: 2
50 virtual ::MapItemSavedData& createMapSavedData(::ActorUniqueID const& uuid);
51
52 // vIndex: 3
53 virtual void requestMapInfo(::ActorUniqueID const uuid, bool forceUpdate);
54
55 // vIndex: 4
56 virtual void _copyAndLockMap(::ActorUniqueID const originalMapUuid, ::ActorUniqueID const newMapUuid);
57 // NOLINTEND
58
59public:
60 // member functions
61 // NOLINTBEGIN
63 ::DimensionManager& dimensionManager,
64 ::LevelStorage* levelStorage,
65 ::std::unique_ptr<::IMapDataManagerOptions> mapDataManagerOptions,
66 ::std::function<::ActorUniqueID()> getNewUniqueID
67 );
68
69 MCNAPI ::MapItemSavedData* _loadMapData(::ActorUniqueID const& uuid);
70
71 MCNAPI void _onSaveLevelData(::LevelStorage& levelStorage);
72
73 MCNAPI bool copyAndLockMap(::ActorUniqueID originalMapUuid, ::ActorUniqueID newMapUuid);
74
75 MCNAPI ::MapItemSavedData& createMapSavedData(
76 ::std::vector<::ActorUniqueID> const& mapIds,
77 ::BlockPos const& origin,
78 ::DimensionType dimension,
79 int returnScaleLevel
80 );
81
82 MCNAPI ::MapItemSavedData& createMapSavedData(
83 ::ActorUniqueID const& uuid,
84 ::BlockPos const& origin,
85 ::DimensionType dimension,
86 int returnScaleLevel
87 );
88
89 MCNAPI ::ActorUniqueID expandMapByID(::ActorUniqueID uuid, bool wasInit);
90
91 MCNAPI ::MapItemSavedData* getMapSavedData(::ActorUniqueID uuid);
92
93 MCNAPI void registerOnSaveLevelDataSubscription(::ILevelStorageManagerConnector& levelStorageManagerConnector);
94
95 MCNAPI void tick();
96 // NOLINTEND
97
98public:
99 // constructor thunks
100 // NOLINTBEGIN
101 MCNAPI void* $ctor(
102 ::DimensionManager& dimensionManager,
103 ::LevelStorage* levelStorage,
104 ::std::unique_ptr<::IMapDataManagerOptions> mapDataManagerOptions,
105 ::std::function<::ActorUniqueID()> getNewUniqueID
106 );
107 // NOLINTEND
108
109public:
110 // destructor thunk
111 // NOLINTBEGIN
112 MCNAPI void $dtor();
113 // NOLINTEND
114
115public:
116 // virtual function thunks
117 // NOLINTBEGIN
119
120 MCNAPI ::MapItemSavedData& $createMapSavedData(::ActorUniqueID const& uuid);
121
122 MCNAPI void $requestMapInfo(::ActorUniqueID const uuid, bool forceUpdate);
123
124 MCNAPI void $_copyAndLockMap(::ActorUniqueID const originalMapUuid, ::ActorUniqueID const newMapUuid);
125 // NOLINTEND
126
127public:
128 // vftables
129 // NOLINTBEGIN
130 MCNAPI static void** $vftable();
131 // NOLINTEND
132};
Definition AutomaticID.h:6
Definition BlockPos.h:18
Definition DimensionManager.h:24
Definition Dimension.h:83
Definition IGameplayUserManagerConnector.h:14
Definition ILevelStorageManagerConnector.h:13
Definition IMapDataManagerOptions.h:10
Definition LevelStorage.h:25
Definition MapDataManager.h:21
MCAPI bool copyAndLockMap(::ActorUniqueID originalMapUuid, ::ActorUniqueID newMapUuid)
MCAPI void registerOnSaveLevelDataSubscription(::ILevelStorageManagerConnector &levelStorageManagerConnector)
static MCAPI void ** $vftable()
MCAPI::MapItemSavedData & $createMapSavedData(::ActorUniqueID const &uuid)
MCAPI void _onSaveLevelData(::LevelStorage &levelStorage)
MCAPI void $requestMapInfo(::ActorUniqueID const uuid, bool forceUpdate)
MCAPI void * $ctor(::DimensionManager &dimensionManager, ::LevelStorage *levelStorage, ::std::unique_ptr<::IMapDataManagerOptions > mapDataManagerOptions, ::std::function<::ActorUniqueID()> getNewUniqueID)
MCAPI::ActorUniqueID expandMapByID(::ActorUniqueID uuid, bool wasInit)
MCAPI void tick()
MCAPI::MapItemSavedData & createMapSavedData(::std::vector<::ActorUniqueID > const &mapIds, ::BlockPos const &origin, ::DimensionType dimension, int returnScaleLevel)
MCAPI::MapItemSavedData * _loadMapData(::ActorUniqueID const &uuid)
MCAPI MapDataManager(::DimensionManager &dimensionManager, ::LevelStorage *levelStorage, ::std::unique_ptr<::IMapDataManagerOptions > mapDataManagerOptions, ::std::function<::ActorUniqueID()> getNewUniqueID)
MCAPI::MapItemSavedData * getMapSavedData(::ActorUniqueID uuid)
MCAPI void $_copyAndLockMap(::ActorUniqueID const originalMapUuid, ::ActorUniqueID const newMapUuid)
MCAPI void $registerOnGameplayUserAddedSubscription(::IGameplayUserManagerConnector &)
MCAPI::MapItemSavedData & createMapSavedData(::ActorUniqueID const &uuid, ::BlockPos const &origin, ::DimensionType dimension, int returnScaleLevel)
MCAPI void $dtor()
Definition MapItemSavedData.h:31
Definition ActorUniqueID.h:5
Definition Alias.h:14