54 ::ll::TypedStorage<1, 5, ::AdventureSettings> mAdventureSettings;
55 ::ll::TypedStorage<8, 144, ::WorldTemplateLevelData> mWorldTemplateLevelData;
56 ::ll::TypedStorage<8, 192, ::GameRules> mGameRules;
57 ::ll::TypedStorage<8, 72, ::ExperimentStorage> mExperiments;
58 ::ll::TypedStorage<4, 240, ::Abilities> mDefaultAbilities;
59 ::ll::TypedStorage<1, 2, ::PermissionsHandler> mDefaultPermissions;
60 ::ll::TypedStorage<8, 32, ::std::string> mLevelName;
61 ::ll::TypedStorage<4, 4, ::StorageVersion> mStorageVersion;
62 ::ll::TypedStorage<8, 56, ::GameVersion> mMinCompatibleClientVersion;
63 ::ll::TypedStorage<4, 4, int> mNetworkVersion;
64 ::ll::TypedStorage<8, 24, ::SemVersion> mInventoryVersion;
65 ::ll::TypedStorage<8, 8, ::Tick> mCurrentTick;
66 ::ll::TypedStorage<1, 1, bool> mHasSpawnPos;
67 ::ll::TypedStorage<4, 12, ::BlockPos> mLimitedWorldOrigin;
68 ::ll::TypedStorage<4, 4, int> mTime;
69 ::ll::TypedStorage<8, 8, int64> mLastSaved;
70 ::ll::TypedStorage<4, 4, uint> mServerTickRange;
71 ::ll::TypedStorage<4, 4, float> mRainLevel;
72 ::ll::TypedStorage<4, 4, int> mRainTime;
73 ::ll::TypedStorage<4, 4, float> mLightningLevel;
74 ::ll::TypedStorage<4, 4, int> mLightningTime;
75 ::ll::TypedStorage<4, 4, int> mNetherScale;
76 ::ll::TypedStorage<8, 56, ::GameVersion> mLastOpenedWithVersion;
77 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::Difficulty> mGameDifficulty;
78 ::ll::TypedStorage<1, 1, bool> mForceGameType;
79 ::ll::TypedStorage<1, 1, bool> mIsHardcore;
80 ::ll::TypedStorage<1, 1, bool> mPlayerHasDied;
81 ::ll::TypedStorage<1, 1, bool> mSpawnMobs;
82 ::ll::TypedStorage<1, 1, bool> mAdventureModeOverridesEnabled;
83 ::ll::TypedStorage<8, 16, ::Json::Value> mFlatWorldOptions;
84 ::ll::TypedStorage<4, 4, uint> mWorldStartCount;
85 ::ll::TypedStorage<1, 1, bool> mAchievementsDisabled;
86 ::ll::TypedStorage<4, 4, ::Editor::WorldType> mEditorWorldType;
87 ::ll::TypedStorage<1, 1, bool> mIsCreatedInEditor;
88 ::ll::TypedStorage<1, 1, bool> mIsExportedFromEditor;
89 ::ll::TypedStorage<4, 4, ::EducationEditionOfferValue> mEducationEditionOffer;
90 ::ll::TypedStorage<8, 176, ::std::optional<::CloudSaveLevelInfo>> mCloudSaveInfo;
91 ::ll::TypedStorage<1, 1, bool> mEducationFeaturesEnabled;
92 ::ll::TypedStorage<1, 1, bool> mIsSingleUseWorld;
93 ::ll::TypedStorage<1, 1, bool> mConfirmedPlatformLockedContent;
94 ::ll::TypedStorage<1, 1, bool> mMultiplayerGameIntent;
95 ::ll::TypedStorage<1, 1, bool> mMultiplayerGame;
96 ::ll::TypedStorage<1, 1, bool> mLANBroadcastIntent;
97 ::ll::TypedStorage<1, 1, bool> mLANBroadcast;
98 ::ll::TypedStorage<4, 4, ::Social::GamePublishSetting> mXBLBroadcastIntent;
99 ::ll::TypedStorage<4, 4, ::Social::GamePublishSetting> mXBLBroadcastMode;
100 ::ll::TypedStorage<4, 4, ::Social::GamePublishSetting> mPlatformBroadcastIntent;
101 ::ll::TypedStorage<4, 4, ::Social::GamePublishSetting> mPlatformBroadcastMode;
102 ::ll::TypedStorage<1, 1, bool> mCheatsEnabled;
103 ::ll::TypedStorage<1, 1, bool> mCommandsEnabled;
104 ::ll::TypedStorage<1, 1, bool> mTexturePacksRequired;
105 ::ll::TypedStorage<1, 1, bool> mHasLockedBehaviorPack;
106 ::ll::TypedStorage<1, 1, bool> mHasLockedResourcePack;
107 ::ll::TypedStorage<1, 1, bool> mIsFromLockedTemplate;
108 ::ll::TypedStorage<1, 1, bool> mIsRandomSeedAllowed;
109 ::ll::TypedStorage<8, 32, ::std::string> mEducationProductId;
110 ::ll::TypedStorage<8, 32, ::std::string> mEducationCreatorId;
111 ::ll::TypedStorage<8, 32, ::std::string> mEducationCreatorWorldId;
112 ::ll::TypedStorage<8, 32, ::std::string> mEducationReferrerId;
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;
137 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mExperienceWorldId;
142 LevelData& operator=(LevelData
const&);
143 LevelData(LevelData
const&);
149 MCAPI LevelData(::LevelData&&);
151 MCAPI
explicit LevelData(
bool isEduMode);
155 ::std::string
const& levelName,
156 ::GeneratorType generatorVersion,
158 bool achievementsDisabled,
159 ::EducationEditionOffer eduOffer,
164 MCAPI
void _determineMaxBaseGameVersion();
166 MCAPI_C
void _resetDefaultAdvancedSettingsData(
bool isTrial);
168 MCAPI_C
void _resetDefaultScriptingCodingSettingsData();
172 MCAPI
void _updateLimitedWorldOrigin(
::BlockPos const& pos);
174 MCAPI
bool achievementsWillBeDisabledOnLoad()
const;
176 MCAPI_C
void applyPolicyBasedSettings(
bool hasBehaviourPack);
178 MCAPI ::std::optional<::SemVersion> checkServerAuthOptOutVersion()
const;
180 MCAPI_C
void clearCloudSaveInfo();
182 MCAPI
bool cloudSaveForWorldIsEnabled()
const;
184 MCAPI ::std::unique_ptr<::CompoundTag> createTag()
const;
186 MCAPI ::BaseGameVersion
const& getBaseGameVersion()
const;
188 MCAPI_C ::CloudSaveLevelInfo& getCloudSaveInfo();
190 MCAPI ::CompoundTag
const& getEduSharedUriResource()
const;
192 MCAPI ::std::string
const& getEducationOid()
const;
194 MCAPI ::GameType getGameType()
const;
196 MCAPI ::GeneratorType getGenerator()
const;
198 MCAPI ::LevelSeed64 getSeed()
const;
202 MCAPI ::WorldVersion getWorldVersion()
const;
204 MCAPI_C
bool isAlwaysDay()
const;
206 MCAPI_C
bool isEditionCompatible()
const;
208 MCAPI_C ::Bedrock::PubSub::Subscription registerIsHardcoreListener(::std::function<
void(
bool)> callback)
const;
212 MCAPI_C
void resetDefaultCheatSettingsData();
214 MCAPI_C
void resetSettingsForRandomSeed();
216 MCAPI_C
void resetToDefaultSettings();
220 MCAPI
void setBiomeOverride(::std::string
const& biomeName);
222 MCAPI
void setDaylightCycle(::DaylightCycle daylightCycle);
226 MCAPI
void setEducationEditionOffer(::EducationEditionOffer offer);
228 MCAPI
void setEducationOid(::std::string
const& educationOid);
230 MCAPI
void setFlatWorldOptions(
::Json::Value const& options);
232 MCAPI
void setFlatWorldPreset(::FlatWorldPresetID preset);
234 MCAPI
void setGameType(::GameType type);
236 MCAPI
void setGenerator(::GeneratorType version);
238 MCAPI
void setIsHardcore(
bool value);
240 MCAPI
void setLevelName(::std::string
const& levelName);
244 MCAPI
void setSpawnPos(
::BlockPos const& spawn);
250 MCAPI_C
void setWorldTemplateIdentity(
::PackIdVersion const& packIdVersion);
252 MCAPI
void setWorldVersion(::WorldVersion version);
254 MCAPI_C
bool shouldAchievementsBeDisabled(
bool isTrialMode,
bool hasBehaviourPack)
const;
264 MCAPI
void* $ctor(::LevelData&&);
266 MCAPI
void* $ctor(
bool isEduMode);
270 ::std::string
const& levelName,
271 ::GeneratorType generatorVersion,
273 bool achievementsDisabled,
274 ::EducationEditionOffer eduOffer,