LeviLamina
Loading...
Searching...
No Matches
DimensionDataSerializer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class CompoundTag;
8class LevelStorage;
9// clang-format on
10
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<4, 4, uint> mSaveCounter;
16 // NOLINTEND
17
18public:
19 // member functions
20 // NOLINTBEGIN
21 MCAPI ::std::string _createLevelStorageID(
22 ::std::string const& savePrefix,
23 ::std::string const& dimensionPrefix,
24 ::std::string const& saveId
25 );
26
27 MCAPI void forEachKeyWithDimensionPrefix(
28 ::std::string const& savePrefix,
29 ::std::string const& dimensionPrefix,
30 ::LevelStorage& levelStorage,
31 ::std::function<void(::std::string const&, ::CompoundTag const&)> const& callback
32 );
33
34 MCAPI void
35 saveDataWithID(::std::string const& levelStorageId, ::CompoundTag const& tag, ::LevelStorage& levelStorage);
36 // NOLINTEND
37};
Definition CompoundTag.h:13
Definition DimensionDataSerializer.h:11
Definition LevelStorage.h:24