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<1, 1, bool> mUseMsaGamertagsOnly;
113 ::ll::TypedStorage<1, 1, bool> mBonusChestEnabled;
114 ::ll::TypedStorage<1, 1, bool> mBonusChestSpawned;
115 ::ll::TypedStorage<1, 1, bool> mStartWithMapEnabled;
116 ::ll::TypedStorage<1, 1, bool> mMapsCenteredToOrigin;
117 ::ll::TypedStorage<1, 1, bool> mRequiresCopiedPackRemovalCheck;
118 ::ll::TypedStorage<1, 1, bool> mSpawnV1Villagers;
119 ::ll::TypedStorage<1, 1, bool> mPersonaDisabled;
120 ::ll::TypedStorage<1, 1, bool> mCustomSkinsDisabled;
121 ::ll::TypedStorage<1, 1, bool> mEmoteChatMuted;
122 ::ll::TypedStorage<1, 1, bool> mHasUncompleteWorldFileOnDisk;
123 ::ll::TypedStorage<1, 1, ::NetherWorldType> mNetherType;
124 ::ll::TypedStorage<8, 48, ::SpawnSettings> mSpawnSettings;
125 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::LevelDataValue>> mValues;
126 ::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::LevelDataValue>> mOverrides;
127 ::ll::TypedStorage<8, 32, ::std::string> mBiomeOverride;
128 ::ll::TypedStorage<4, 8, ::std::optional<::GeneratorType>> mDataDrivenGeneratorType;
129 ::ll::TypedStorage<1, 1, ::ChatRestrictionLevel> mChatRestrictionLevel;
134 mIsHardcoreSubscribers;
135 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSaveLevelData;
149 MCAPI
explicit LevelData(
bool isEduMode);
153 ::std::string
const& levelName,
154 ::GeneratorType generatorVersion,
156 bool achievementsDisabled,
157 ::EducationEditionOffer eduOffer,
162 MCAPI
void _determineMaxBaseGameVersion();
166 MCAPI
void _updateLimitedWorldOrigin(
::BlockPos const& pos);
168 MCAPI ::std::optional<::SemVersion> checkServerAuthOptOutVersion()
const;
170 MCAPI
bool cloudSaveForWorldIsEnabled()
const;
172 MCAPI ::std::unique_ptr<::CompoundTag> createTag()
const;
174 MCAPI ::BaseGameVersion
const& getBaseGameVersion()
const;
176 MCAPI ::CompoundTag
const& getEduSharedUriResource()
const;
178 MCAPI ::std::string
const& getEducationOid()
const;
180 MCAPI ::GameType getGameType()
const;
182 MCAPI ::GeneratorType getGenerator()
const;
184 MCAPI ::LevelSeed64 getSeed()
const;
188 MCAPI ::WorldVersion getWorldVersion()
const;
192 MCAPI
void setBiomeOverride(::std::string
const& biomeName);
194 MCAPI
void setDaylightCycle(::DaylightCycle daylightCycle);
198 MCAPI
void setEducationEditionOffer(::EducationEditionOffer offer);
200 MCAPI
void setEducationOid(::std::string
const& educationOid);
202 MCAPI
void setFlatWorldOptions(
::Json::Value const& options);
204 MCAPI
void setFlatWorldPreset(::FlatWorldPresetID preset);
206 MCAPI
void setGameType(::GameType type);
208 MCAPI
void setGenerator(::GeneratorType version);
210 MCAPI
void setIsHardcore(
bool value);
214 MCAPI
void setSpawnPos(
::BlockPos const& spawn);
218 MCAPI
void setWorldVersion(::WorldVersion version);
230 MCAPI
void* $ctor(
bool isEduMode);
234 ::std::string
const& levelName,
235 ::GeneratorType generatorVersion,
237 bool achievementsDisabled,
238 ::EducationEditionOffer eduOffer,