53 ::ll::TypedStorage<1, 5, ::AdventureSettings> mAdventureSettings;
54 ::ll::TypedStorage<8, 144, ::WorldTemplateLevelData> mWorldTemplateLevelData;
55 ::ll::TypedStorage<8, 192, ::GameRules> mGameRules;
56 ::ll::TypedStorage<8, 72, ::ExperimentStorage> mExperiments;
57 ::ll::TypedStorage<4, 240, ::Abilities> mDefaultAbilities;
58 ::ll::TypedStorage<1, 2, ::PermissionsHandler> mDefaultPermissions;
59 ::ll::TypedStorage<8, 32, ::std::string> mLevelName;
60 ::ll::TypedStorage<4, 4, ::StorageVersion> mStorageVersion;
61 ::ll::TypedStorage<8, 56, ::GameVersion> mMinCompatibleClientVersion;
62 ::ll::TypedStorage<4, 4, int> mNetworkVersion;
63 ::ll::TypedStorage<8, 24, ::SemVersion> mInventoryVersion;
64 ::ll::TypedStorage<8, 8, ::Tick> mCurrentTick;
65 ::ll::TypedStorage<1, 1, bool> mHasSpawnPos;
66 ::ll::TypedStorage<4, 12, ::BlockPos> mLimitedWorldOrigin;
67 ::ll::TypedStorage<4, 4, int> mTime;
68 ::ll::TypedStorage<8, 8, int64> mLastSaved;
69 ::ll::TypedStorage<4, 4, uint> mServerTickRange;
70 ::ll::TypedStorage<4, 4, float> mRainLevel;
71 ::ll::TypedStorage<4, 4, int> mRainTime;
72 ::ll::TypedStorage<4, 4, float> mLightningLevel;
73 ::ll::TypedStorage<4, 4, int> mLightningTime;
74 ::ll::TypedStorage<4, 4, int> mNetherScale;
75 ::ll::TypedStorage<8, 56, ::GameVersion> mLastOpenedWithVersion;
76 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::Difficulty> mGameDifficulty;
77 ::ll::TypedStorage<1, 1, bool> mForceGameType;
78 ::ll::TypedStorage<1, 1, bool> mIsHardcore;
79 ::ll::TypedStorage<1, 1, bool> mPlayerHasDied;
80 ::ll::TypedStorage<1, 1, bool> mSpawnMobs;
81 ::ll::TypedStorage<1, 1, bool> mAdventureModeOverridesEnabled;
82 ::ll::TypedStorage<8, 16, ::Json::Value> mFlatWorldOptions;
83 ::ll::TypedStorage<4, 4, uint> mWorldStartCount;
84 ::ll::TypedStorage<1, 1, bool> mAchievementsDisabled;
85 ::ll::TypedStorage<4, 4, ::Editor::WorldType> mEditorWorldType;
86 ::ll::TypedStorage<1, 1, bool> mIsCreatedInEditor;
87 ::ll::TypedStorage<1, 1, bool> mIsExportedFromEditor;
88 ::ll::TypedStorage<4, 4, ::EducationEditionOfferValue> mEducationEditionOffer;
89 ::ll::TypedStorage<8, 176, ::std::optional<::CloudSaveLevelInfo>> mCloudSaveInfo;
90 ::ll::TypedStorage<1, 1, bool> mEducationFeaturesEnabled;
91 ::ll::TypedStorage<1, 1, bool> mIsSingleUseWorld;
92 ::ll::TypedStorage<1, 1, bool> mConfirmedPlatformLockedContent;
93 ::ll::TypedStorage<1, 1, bool> mMultiplayerGameIntent;
94 ::ll::TypedStorage<1, 1, bool> mMultiplayerGame;
95 ::ll::TypedStorage<1, 1, bool> mLANBroadcastIntent;
96 ::ll::TypedStorage<1, 1, bool> mLANBroadcast;
97 ::ll::TypedStorage<4, 4, ::Social::GamePublishSetting> mXBLBroadcastIntent;
98 ::ll::TypedStorage<4, 4, ::Social::GamePublishSetting> mXBLBroadcastMode;
99 ::ll::TypedStorage<4, 4, ::Social::GamePublishSetting> mPlatformBroadcastIntent;
100 ::ll::TypedStorage<4, 4, ::Social::GamePublishSetting> mPlatformBroadcastMode;
101 ::ll::TypedStorage<1, 1, bool> mCheatsEnabled;
102 ::ll::TypedStorage<1, 1, bool> mCommandsEnabled;
103 ::ll::TypedStorage<1, 1, bool> mTexturePacksRequired;
104 ::ll::TypedStorage<1, 1, bool> mHasLockedBehaviorPack;
105 ::ll::TypedStorage<1, 1, bool> mHasLockedResourcePack;
106 ::ll::TypedStorage<1, 1, bool> mIsFromLockedTemplate;
107 ::ll::TypedStorage<1, 1, bool> mIsRandomSeedAllowed;
108 ::ll::TypedStorage<8, 32, ::std::string> mEducationProductId;
109 ::ll::TypedStorage<8, 32, ::std::string> mEducationCreatorId;
110 ::ll::TypedStorage<8, 32, ::std::string> mEducationCreatorWorldId;
111 ::ll::TypedStorage<8, 32, ::std::string> mEducationReferrerId;
112 ::ll::TypedStorage<8, 32, ::std::string> mEducationReferrerType;
113 ::ll::TypedStorage<1, 1, bool> mUseMsaGamertagsOnly;
114 ::ll::TypedStorage<1, 1, bool> mBonusChestEnabled;
115 ::ll::TypedStorage<1, 1, bool> mBonusChestSpawned;
116 ::ll::TypedStorage<1, 1, bool> mStartWithMapEnabled;
117 ::ll::TypedStorage<1, 1, bool> mMapsCenteredToOrigin;
118 ::ll::TypedStorage<1, 1, bool> mRequiresCopiedPackRemovalCheck;
119 ::ll::TypedStorage<1, 1, bool> mSpawnV1Villagers;
120 ::ll::TypedStorage<1, 1, bool> mPersonaDisabled;
121 ::ll::TypedStorage<1, 1, bool> mCustomSkinsDisabled;
122 ::ll::TypedStorage<1, 1, bool> mEmoteChatMuted;
123 ::ll::TypedStorage<1, 1, bool> mHasUncompleteWorldFileOnDisk;
124 ::ll::TypedStorage<1, 1, ::NetherWorldType> mNetherType;
125 ::ll::TypedStorage<8, 48, ::SpawnSettings> mSpawnSettings;
126 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::LevelDataValue>> mValues;
127 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::LevelDataValue>> mOverrides;
128 ::ll::TypedStorage<8, 32, ::std::string> mBiomeOverride;
129 ::ll::TypedStorage<4, 8, ::std::optional<::GeneratorType>> mDataDrivenGeneratorType;
130 ::ll::TypedStorage<1, 1, ::ChatRestrictionLevel> mChatRestrictionLevel;
135 mIsHardcoreSubscribers;
136 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSaveLevelData;
150 MCAPI
explicit LevelData(
bool isEduMode);
154 ::std::string
const& levelName,
155 ::GeneratorType generatorVersion,
157 bool achievementsDisabled,
158 ::EducationEditionOffer eduOffer,
163 MCAPI
void _determineMaxBaseGameVersion();
167 MCAPI
void _updateLimitedWorldOrigin(
::BlockPos const& pos);
169 MCAPI ::std::optional<::SemVersion> checkServerAuthOptOutVersion()
const;
171 MCAPI
bool cloudSaveForWorldIsEnabled()
const;
173 MCAPI ::std::unique_ptr<::CompoundTag> createTag()
const;
175 MCAPI ::BaseGameVersion
const& getBaseGameVersion()
const;
177 MCAPI ::DaylightCycle getDaylightCycle()
const;
179 MCAPI ::CompoundTag
const& getEduSharedUriResource()
const;
181 MCAPI ::std::string
const& getEducationOid()
const;
183 MCAPI ::GameType getGameType()
const;
185 MCAPI ::GeneratorType getGenerator()
const;
187 MCAPI
int getLimitedWorldDepth()
const;
189 MCAPI
int getLimitedWorldWidth()
const;
191 MCAPI ::LevelSeed64 getSeed()
const;
193 MCAPI ::BlockPos
const& getSpawnPos()
const;
197 MCAPI ::WorldVersion getWorldVersion()
const;
201 MCAPI
void setDaylightCycle(::DaylightCycle daylightCycle);
205 MCAPI
void setEducationEditionOffer(::EducationEditionOffer offer);
207 MCAPI
void setEducationOid(::std::string
const& educationOid);
209 MCAPI
void setFlatWorldOptions(
::Json::Value const& options);
211 MCAPI
void setFlatWorldPreset(::FlatWorldPresetID preset);
213 MCAPI
void setGameType(::GameType type);
215 MCAPI
void setGenerator(::GeneratorType version);
217 MCAPI
void setIsHardcore(
bool value);
219 MCAPI
void setLevelName(::std::string
const& levelName);
223 MCAPI
void setSpawnPos(
::BlockPos const& spawn);
227 MCAPI
void setWorldVersion(::WorldVersion version);
229 MCAPI
void touchLastLoadedWithVersion();
241 MCAPI
void* $ctor(
bool isEduMode);
245 ::std::string
const& levelName,
246 ::GeneratorType generatorVersion,
248 bool achievementsDisabled,
249 ::EducationEditionOffer eduOffer,