3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/certificates/identity/edu/Role.h"
7#include "mc/client/gui/DirtyFlag.h"
8#include "mc/client/gui/EncyclopediaTopicIndex.h"
9#include "mc/client/gui/HowToPlayTopicIndex.h"
10#include "mc/client/gui/UIDefType.h"
11#include "mc/client/gui/screens/LayoutVariableType.h"
12#include "mc/client/renderer/AtmosphericScattering.h"
13#include "mc/client/renderer/ColorGraderConfig.h"
14#include "mc/client/renderer/LightingGroup.h"
15#include "mc/client/renderer/LocalLightConfig.h"
16#include "mc/client/renderer/PBRFallbackConfig.h"
17#include "mc/client/renderer/SkyboxConfig.h"
18#include "mc/client/renderer/UpscalingConfiguration.h"
19#include "mc/client/renderer/actor/v2/Destination.h"
20#include "mc/client/renderer/game/ShadowRenderingParameters.h"
21#include "mc/client/renderer/game/TerrainVariation.h"
22#include "mc/client/resources/ContentCatalogQueryData.h"
23#include "mc/client/services/download/DlcCheckResult.h"
24#include "mc/client/tutorial/GameTip.h"
25#include "mc/common/SubClientId.h"
26#include "mc/deps/core/NetworkConnectionType.h"
27#include "mc/deps/core/debug/log/LogLevel.h"
28#include "mc/deps/core/file/file_system/FileType.h"
29#include "mc/deps/core/resource/PackType.h"
30#include "mc/deps/core/sem_ver/SemVersionBase.h"
31#include "mc/deps/core/threading/Async.h"
32#include "mc/deps/core/utility/NonOwnerPointer.h"
33#include "mc/deps/core_graphics/TextureSetLayerType.h"
34#include "mc/deps/json/ValueType.h"
35#include "mc/deps/nether_net/LogSeverity.h"
36#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
37#include "mc/deps/scripting/runtime/Result.h"
38#include "mc/deps/shared_types/legacy/FilterSubject.h"
39#include "mc/deps/shared_types/legacy/item/UseAnimation.h"
40#include "mc/deps/shared_types/v1_21_110/item/ItemCategory.h"
41#include "mc/events/TextProcessingEventOrigin.h"
42#include "mc/external/lib_http_client/http_stl_allocator.h"
43#include "mc/external/libsrtp/srtp_err_status_t.h"
44#include "mc/legacy/facing/Name.h"
45#include "mc/network/packet/AgentActionType.h"
46#include "mc/options/DiscoveryEnvironment.h"
47#include "mc/options/EducationServicesEnvironment.h"
48#include "mc/platform/Result.h"
49#include "mc/platform/brstd/function_ref.h"
50#include "mc/util/HudElement.h"
51#include "mc/util/gltf/Accessor.h"
52#include "mc/util/gltf/Image.h"
53#include "mc/util/gltf/Material.h"
54#include "mc/util/molang/ExpressionOp.h"
55#include "mc/world/Direction.h"
56#include "mc/world/actor/ActorFilterGroup.h"
57#include "mc/world/actor/ActorHealCause.h"
58#include "mc/world/actor/ActorType.h"
59#include "mc/world/actor/ActorTypeNamespaceRules.h"
60#include "mc/world/attribute/AttributeBuffType.h"
61#include "mc/world/containers/ContainerEnumName.h"
62#include "mc/world/filters/FilterGroup.h"
63#include "mc/world/filters/FilterOperator.h"
64#include "mc/world/item/CreativeItemCategory.h"
65#include "mc/world/level/GameType.h"
66#include "mc/world/level/WorldVersion.h"
67#include "mc/world/level/block/BlockProperty.h"
68#include "mc/world/level/block/BlockSlot.h"
69#include "mc/world/level/block/TorchFacing.h"
70#include "mc/world/level/chunk/ChunkState.h"
71#include "mc/world/level/chunk/LevelChunkTag.h"
72#include "mc/world/level/chunk/SubChunk.h"
73#include "mc/world/level/chunk/SubChunkDelayedDeleter.h"
74#include "mc/world/level/chunk/SubChunkStorage.h"
75#include "mc/world/level/levelgen/flat/FlatWorldPresetID.h"
76#include "mc/world/level/material/MaterialType.h"
77#include "mc/world/level/saveddata/maps/MapItemSavedData.h"
78#include "mc/world/redstone/circuit/components/CircuitComponentType.h"
156namespace Bedrock::Http {
class Status; }
159namespace Core {
class File; }
161namespace Core {
class Path; }
163namespace Core {
class Result; }
164namespace Json {
class Reader; }
165namespace Json {
class Value; }
176namespace SharedTypes::v1_21_20::JigsawStructureTemplatePool {
struct EmptyPoolElement; }
177namespace SharedTypes::v1_21_20::JigsawStructureTemplatePool {
struct SinglePoolElement; }
180namespace mce {
class UUID; }
228namespace MainGameCore {
class WinMain; }
231namespace cohtml {
class Binder; }
232namespace mce {
class Camera; }
241MCAPI
void BedrockLogOut(uint,
char const*, ...);
257MCAPI ::CreativeItemCategory
258CreativeItemCategoryComprehensiveToRuntime(::SharedTypes::v1_21_110::ItemCategory::CreativeItemCategory category);
260MCAPI ::CreativeItemCategory CreativeItemCategoryFromString(::std::string
const& str);
263MCAPI
void* DefaultMemAllocFunction(uint64 size, uint memoryType);
265MCFOLD
void DefaultMemFreeFunction(
void* pointer, uint memoryType);
269MCAPI
void DiscardData();
273MCAPI
bool DoesMockCallMatch(
::HC_CALL const* mockCall,
::HC_CALL const* originalCall);
276MCAPI ::HashedString
const& EntityCanonicalName(::ActorType entityType);
278MCAPI ::ActorType EntityTypeFromString(::std::string
const& str);
280MCAPI ::std::string EntityTypeToFormattedLocString(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
282MCAPI ::std::string EntityTypeToLocString(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
284MCAPI ::std::string EntityTypeToString(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
286MCAPI
void EntityTypeToStringAndNamespace(::ActorType entityType, ::std::string& nameOut, ::std::string& namespaceOut);
288MCAPI
double GetEngagementMetricsTimeSinceAppStart_DEPRECATED();
291MCAPI ::TraceState& GetTraceState();
295MCAPI
long InitializeGameRuntimeDll(uint64 flags, ::_INITIALIZE_OPTIONS*
const options);
297MCAPI
long LoadGameRuntimeDll();
301MCAPI ::std::optional<::LogLevel> LogLevelFromString(::std::string
const& str);
304MCAPI ::MaterialType MaterialTypeFromString(::std::string
const& materialType);
307MCAPI
bool Mock_Internal_HCHttpCallPerformAsync(
::HC_CALL* originalCall);
309MCAPI
long Mock_Internal_ReadRequestBodyIntoMemory(
316MCAPI
void NGXInvalidParameterHandler(
317 wchar_t const* expression,
318 wchar_t const* function,
324MCAPI
bool NGXSafeInitializeLog(
wchar_t const* InPathToValidate,
wchar_t const* InFileName);
328MCAPI ::std::optional<::NetherNet::LogSeverity> NetherNetLogSeverityFromString(::std::string
const& str);
331MCAPI ::PackType PackTypeFromString(::std::string
const& value);
334MCAPI
void PlatformBedrockLogOut(uint _priority,
char const* buf, uint64 nullTerminatorPos);
337MCAPI
void PushCircularReference(
338 ::std::unordered_map<::BlockPos, ::RedstoneTorchCapacitor*>& relatedTorches,
344MCAPI
bool ReadJpegFile(
::Core::Path const& fileName,
int readMode);
346MCAPI
int ReadJpegSections(
::Core::File& infile,
int readMode);
348MCAPI
void ResetJpgfile();
351MCAPI ::std::string StringFromMaterialType(::MaterialType
const& materialType);
353MCAPI ::std::string
const& StringFromPackType(::PackType value);
356MCAPI ::edu::Role StringToADRole(::std::string
const& str);
358MCFOLD uint StringToNameId(::std::string
const& name);
361MCAPI ::SharedTypes::Legacy::UseAnimation UseAnimationFromString(::std::string
const& str);
364MCAPI int64 WndProc(::HWND__* hwnd, uint uMsg, uint64 wParam, int64 lParam);
366MCAPI ::Bedrock::Result<::XUser*> XUserGetDefaultHandle_Blocking();
368MCAPI ::Bedrock::Threading::Async<::ContentCatalogQueryData::Done> _addCatalogItemsFromSearch(
371 ::std::shared_ptr<::ContentCatalogQueryData> request
375MCAPI
void _addEnvironmentSubfilter(
376 ::std::string
const& legacyPredicate,
377 ::FilterGroup::CollectionType type,
378 ::std::string
const& filterName,
379 ::SharedTypes::Legacy::FilterSubject subject,
381 ::ActorFilterGroup::Processing process
384MCAPI
void _addLegacyFilterDefinition(
385 ::std::string
const& legacyPredicate,
386 ::FilterGroup::CollectionType type,
387 ::std::string
const& filterName,
388 ::SharedTypes::Legacy::FilterSubject subject,
390 ::ActorFilterGroup::Processing process
394MCAPI ::ShadowRenderingParameters::ShadowMap _calculateCascade(
399 ::glm::mat4x4
const& playerView,
400 ::glm::vec3
const& viewPos,
401 ::glm::vec3
const& up,
402 ::glm::mat4x4
const& worldToLight,
403 ::glm::mat4x4
const& lightToWorld,
404 ::glm::vec3
const& playerPosition,
405 float maxWorldTexelSnappingPosition,
407 float maxShadowFrustumRadius,
415MCAPI ::glm::vec3 _clampShadowAngle(::glm::vec3
const& lightDir, ::glm::vec3
const& up,
float shadowClampAngle);
418MCAPI ::std::unique_ptr<::ListTag> _createBlockStateEnum(
::BlockState const& state);
420MCAPI uint _facingToVineDirection(uchar facing);
423MCAPI
int _findNextIndex(::std::vector<::std::shared_ptr<::UIControl>>& tabControls,
int originIndex,
bool right);
425MCAPI
void _forEachObject(
430MCFOLD ::std::vector<::BlockPos> _generateChunkStartPositions(
::AABB const& area);
432MCAPI ::std::vector<int>
const _getRenderDistanceLevels(
int& defaultDistanceIdx,
bool isVR);
435MCAPI ::ScatterParamsMolangVariableIndices& _getScatterParamsMolangVariableIndices();
438MCAPI
void _handleFetchedImageResponseData(
439 ::std::shared_ptr<::ContentCatalogQueryData> request,
441 ::std::unique_ptr<::PackManifest> manifestPtr,
446MCAPI
bool _haveSameScrollSection(::std::weak_ptr<::UIControl>
const& a, ::std::weak_ptr<::UIControl>
const& b);
451MCAPI ::Bedrock::Threading::Async<::ContentCatalogQueryData::Done>
452_loadAllCatalogItems(::std::shared_ptr<::ContentCatalogQueryData> request);
455MCAPI ::Block
const* _loadLayerBlock(
::Json::Value const& layer);
457MCAPI ::std::optional<::BlockPos> _locateBiome(
458 ::std::function<
bool(
::Biome const&)>
const& predicate,
465MCAPI ::std::optional<::std::vector<::BlockLayer>>
468MCAPI ::std::optional<::std::vector<::BlockLayer>>
471MCAPI ::std::optional<::std::vector<::BlockLayer>>
474MCAPI ::std::optional<::std::vector<::BlockLayer>>
478MCAPI ::glm::vec3 _quantizeLightDirection(
float angle,
float perpendicularAngle,
int step);
483MCAPI ::std::unique_ptr<::ListTag> _saveBlockList(::std::vector<::BlockType const*>
const& blockList);
486MCAPI
void _searchBlockByCameraCenter(
496MCAPI
bool _searchBlockByFreeFormPick(
507_snapToTexel(::glm::vec3
const& position, ::glm::mat4x4
const& matrixW2L, ::glm::mat4x4
const& matrixL2W);
509MCAPI
bool _stringLessThan(::std::string
const& str1, ::std::string
const& str2);
516MCAPI ::Destination addExpressionOrConstantResources(
517 ::std::vector<float>& constantBuffer,
518 ::std::vector<::ExpressionNode>& expressionBuffer,
520 char const* defaultExpression,
524MCAPI
void applyAnimations(
527 ::std::vector<::glm::mat4x4>& boneList,
529 ::gsl::span<::mce::framebuilder::RenderBatchActorInstanceDescription const> actorDescriptions
534MCAPI
void bakeDataDrivenRenderer(
535 ::std::weak_ptr<::DataDrivenModel> weakModelPtr,
540MCAPI ushort bakeGeneratedDraws(
543 ::std::vector<::std::string>
const& materialRegex,
544 ::std::vector<::std::string>
const& partVisibilityRegex,
548MCAPI ::BakedRenderControllerResults bakeRenderController(
554MCAPI ::ResourceBakingResult bakeResourceOffsets(
565MCAPI
char const* blockSlotToString(::BlockSlot slot);
567MCAPI ::KeyOrNameResult
568buildActorDisplayName(::ActorType actorType, ::std::string
const& nameTag,
::Actor const* actor);
571MCAPI
void calculateTileLighting(
581MCAPI
void checkComponent(
584 ::CircuitComponentType typeId,
593MCAPI
bool checkMinMaxClientVer(
::Json::Value const& documentObject,
bool pascalCase);
595MCAPI
bool checkMinMaxClientVer(::std::string
const& minClientVersion, ::std::string
const& maxClientVersion);
598MCAPI
bool checkTypeFilter(
604MCAPI
void clearBakedTextures(
614MCAPI ::TorchFacing convertTorchDirection(::Facing::Name facing);
619MCAPI ::std::unique_ptr<::ResponseVerifier> createMutsResponseVerifier(
620 ::std::string responseField,
621 ::std::string payloadField,
622 ::std::string publicKey,
623 ::std::function<int64()> getTime,
624 ::std::function<::std::string()> createRequestId
627MCAPI ::ExprToken createTokenFromUIDefVal(
::Json::Value const& resVal);
633MCAPI ::Bedrock::NonOwnerPointer<::WorkerPool> createWorkerPool(
634 ::std::string_view name,
636 ::std::shared_ptr<::Bedrock::WorkerPoolHandleInterface>& destHandle
640MCAPI ::std::unique_ptr<::IWorldTransferHandler> createWorldTransferHandler();
642MCAPI ::UIDefType defTypeFromString(::std::string
const& str);
644MCAPI ::std::string discoveryEnvironmentToString(::DiscoveryEnvironment
const& environment);
646MCAPI ::std::string dlcCheckerResultToString(::DlcCheckResult result);
648MCAPI
void emplaceMatchedBoneIndex(
649 ::std::string
const& boneName,
651 ::std::vector<::std::string>
const& regexArray,
652 ::std::vector<::std::vector<uint64>>& indices
655MCAPI
void executeOnPrimaryUserStorageArea(
656 ::std::function<
void(::std::shared_ptr<::Core::FileStorageArea>)> onSuccess,
657 ::std::function<
void()> onFailure
661MCAPI ::srtp_err_status_t external_crypto_init();
663MCAPI ::srtp_err_status_t external_hmac_alloc(
::srtp_auth_t** a,
int key_len,
int out_len);
665MCAPI ::srtp_err_status_t external_hmac_compute(
void*, uchar
const*,
int,
int tag_len, uchar* result);
667MCAPI ::srtp_err_status_t external_hmac_dealloc(
::srtp_auth_t* a);
669MCAPI ::srtp_err_status_t external_hmac_init(
void* state, uchar
const* key,
int key_len);
671MCFOLD ::srtp_err_status_t external_hmac_start(
void*);
673MCFOLD ::srtp_err_status_t external_hmac_update(
void*, uchar
const*,
int);
676MCAPI ::std::optional<::ExtractedDataDataDrivenModel>
677extractModelData(
::HashedString const& name, ::std::shared_ptr<::DataDrivenRenderer> rendererPtr);
687MCAPI
void fillLangValue(
688 ::std::string
const& jsonFieldStr,
689 ::std::string
const& langCode,
690 ::std::string
const& modifiedCode,
694 ::std::unordered_map<::std::string, ::std::string>& locDictionary
697MCAPI
void fillPackIdentityListFromJson(
698 ::std::vector<::PackIdVersion>& packIdentityListToFill,
702MCAPI
void findInvalidControls(
704 ::std::vector<::std::string>& foundInvalidControls,
706 ::std::string
const& fileName
710MCAPI ::std::optional<::FlatWorldPresetID> flatWorldPresetIDFromString(::std::string
const& str);
713MCAPI ::std::string_view flatWorldPresetIDToString(::FlatWorldPresetID
id);
720MCAPI ::std::tuple<::std::string, ::std::unique_ptr<::StructurePoolElement>> from(
722 ::Bedrock::NotNullNonOwnerPtr<::IStructureTemplateManager> structureManager,
727MCAPI ::std::tuple<::std::string, ::std::unique_ptr<::StructurePoolElement>> from(
729 ::Bedrock::NotNullNonOwnerPtr<::IStructureTemplateManager> structureManager,
734MCAPI ::std::tuple<::std::string, ::std::unique_ptr<::StructurePoolElement>> from(
738 ::Bedrock::NotNullNonOwnerPtr<::IStructureTemplateManager> structures,
743MCAPI
int fseek(
::Core::File& file, int64 offset,
int origin);
747MCAPI uint64 fwrite(
void const*
buffer, uint64 size, uint64 count,
::Core::File& file);
750MCAPI
void gameplayValueGeneration(
761MCAPI ::std::string gatherTypeStrings(::std::vector<::Json::ValueType>
const& types);
764MCAPI ::ResourceOffset generateExpressionOffset(
766 ::ExpressionOp expectedOperator,
767 ::std::vector<::ExpressionNode>& outputExpressionList
773MCAPI ::std::_Vector_const_iterator<::std::_Vector_val<::std::_Simple_types<::DateRange>>>
const
774getActiveDateRange(::std::vector<::DateRange>
const& dateRangesToSearch,
::DateManager const& dateManager);
777MCAPI ::ActorHealCause getActorHealCause(::AttributeBuffType buffType);
781getAnchorPointFromDirectionAndAnchor(::GameTip::ArrowDirection direction, ::GameTip::ArrowAnchor anchor);
785MCAPI ::std::string getCPUName();
789MCAPI ::std::shared_ptr<::UIControl> getControlBreadthFirst(
::UIControl* scope, ::std::string name);
791MCAPI ::std::shared_ptr<::UIControl> getControlFromAncestors(
::UIControl* scope, ::std::string name);
793MCAPI
float getControlVariableValue(
::UIControl& control, ::LayoutVariableType type);
795MCAPI
void getControlsInternal(
796 ::std::vector<::std::shared_ptr<::UIControl>>& result,
797 ::std::function<
bool(
::UIControl const&)> predicate,
802MCAPI ::std::string getDiscoveryServiceURL(::DiscoveryEnvironment environment);
805MCAPI ::Json::Value
const& getDisplayProperties(
::Json::Value const& resultObject,
bool pascalCase);
808MCAPI ::std::string
const getEdition();
813MCAPI
void getFirstControlInternal(
814 ::std::shared_ptr<::UIControl>& result,
815 ::std::function<
bool(
::UIControl const&)>
const& predicate,
819MCAPI
void getFirstVisibleControlInternal(
820 ::std::shared_ptr<::UIControl>& result,
821 ::std::function<
bool(
::UIControl const&)>
const& predicate,
826MCAPI ::std::unordered_map<::FlatWorldPresetID, ::FlatWorldPreset>
const& getFlatWorldPresets();
828MCAPI ::I18n& getI18n();
831MCAPI ::std::vector<::PackIdVersion> getJsonPackIdVersion(
::Json::Value const& objectArray);
834MCAPI ::std::string getJsonTypeString(::Json::ValueType
const& type);
836MCAPI ::std::unordered_map<int, ::std::string>
const& getPackParseErrorTypeEventMapAccess();
838MCAPI ::std::unordered_map<int, ::std::string>
const& getPackParseErrorTypeLOCMapAccess();
840MCAPI ::Scripting::Result<
847MCAPI ::Core::Result getPrimaryUserStorageArea(::std::shared_ptr<::Core::FileStorageArea>& sptStorageArea);
851MCAPI ::std::string getScreenshotTextureFileSystemFromBag(
861MCAPI ::SubChunk::SubChunkState getSubChunkState(
::LevelChunk& levelChunk,
short absoluteIndex);
863MCAPI
void getVisibleControlsInternal(::std::function<
void(
::UIControl&)>
const& action,
::UIControl& control);
866MCAPI ::AllWorkerConfigurations getWorkerConfiguration(uint highPowerCores, uint totalCores);
868MCAPI
bool isChunkAtStage(::std::weak_ptr<::LevelChunk> lcwp, ::ChunkState stateToCheck);
870MCAPI
int itemVarientFromString(::std::string
const& str);
872MCAPI ::std::string join(::std::string prefix, ::std::string_view chunkKey);
874MCAPI ::std::string join(::std::string_view prefix, ::LevelChunkTag tag);
876MCAPI ::std::string join(::std::string_view prefix, ::LevelChunkTag tag, uint i);
879MCAPI ::glm::vec3 lerpCoefficients(
float normalizedDensityIndex, ::gsl::span<::glm::vec3 const> coefficientData);
881MCAPI ::std::string makeGuestDisplayName(::std::string
const& hostName, ::SubClientId subclientId);
884MCAPI ::mce::UUID makeGuestUUID(
::mce::UUID const& hostUuid, ::SubClientId subclientId);
886MCAPI ::mce::UUID makePlayerUUIDForXUID(::std::string
const& xuid);
889MCAPI ::std::shared_ptr<::Bedrock::Services::IDiscoveryService>
894MCAPI
void mergeControls(
899 ::std::unordered_map<::std::string, ::std::string>
const& topLevelNames,
900 ::std::string
const& fileName,
904MCAPI
int nvFPrintf(::_iobuf*,
char const*, ...);
906MCAPI
int nvSWprintf(
wchar_t*, uint64,
wchar_t const*, ...);
908MCAPI
int nvSprintf(
char*, uint64,
char const*, ...);
910MCAPI ::std::ostream& operator<<(::std::ostream& os, ::cg::TextureSetLayerType
const& type);
912MCAPI ::std::string pascalCaseConverter(::std::string
const& inString,
bool pascalCase);
914MCAPI ::ActorAttachableDerivitiveData processActorAttachables(
917 bool lessThanOrEqualToVersion_1_16_210
920MCAPI ::ActorDerivitiveData processActors(
925 ::std::vector<::mce::framebuilder::RenderBatchActorInstanceDescription>& actorDescriptions,
929MCAPI ::DataDrivenRendererDerivitiveData processDataDrivenRenderers(
940MCAPI
void renderAttachables(
948MCAPI ::mce::framebuilder::FrameBuilder* renderDragonFrameBuilder();
953MCAPI
void renderMapChunk(
962MCAPI
void renderTempComponents(
970MCAPI
void reportParseError(::std::string
const& fileName,
::Json::Reader& reader);
972MCAPI
void separateEntityStreams(
982MCAPI
bool setBlockStates(
984 ::std::vector<::BlockStateCommandParam>
const& blockStates,
989MCAPI ::ui::DirtyFlag setControlVariableValue(
991 ::LayoutVariableType type,
997MCAPI
void setRegexIndexByBoneIndex(
998 ::std::string
const& boneName,
1000 ::std::vector<::std::string>
const& regexArray,
1001 ::std::vector<ushort>& indices
1004MCAPI
void setupAttachables(
1013MCAPI
bool shouldRenderAnyAttachables(
1014 bool modelAttachablesAreEnabled,
1016 bool lessThanOrEqualToVersion_1_16_210,
1021MCAPI ::Scripting::Result<
1024spawnSimulatedPlayer(
1027 ::std::string
const& name,
1032MCAPI ::DiscoveryEnvironment stringToDiscoveryEnvironment(::std::string
const& str);
1036MCAPI
void submitActors(
1042MCAPI
bool supportsDataDrivenRenderer(
1049MCAPI ::TerrainVariation terrainVariationFromString(::std::string_view terrainVariation);
1061MCAPI ::std::string toString(::NetworkConnectionType connectionType);
1064MCAPI ::std::string toString(::AgentActionType type);
1067MCAPI ::std::optional<uint> tryCreateDataDrivenV2Resource(
1069 ::std::shared_ptr<::DataDrivenRenderer>
const& render,
1074MCAPI ::std::optional<::std::locale> tryGetLocaleFromName(::std::string
const& localeName);
1077MCAPI
void updateLevelSettingsConsideringPlayerIntents(
1078 ::Bedrock::NotNullNonOwnerPtr<::ILevel> level,
1079 ::Bedrock::NotNullNonOwnerPtr<::IAppPlatform> appPlatform,
1080 ::Bedrock::NotNullNonOwnerPtr<::Social::MultiplayerServiceManager>
const&,
1081 bool isNxAdhocMultiplayer,
1082 ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager> userManager,
1083 ::Bedrock::NotNullNonOwnerPtr<::TrialManager> trialManager,
1084 bool hasAllValidCrossPlatformSkin
1089MCAPI ::http_wstring utf16_from_utf8(::http_string
const& utf8);
1091MCAPI ::http_wstring utf16_from_utf8(
char const* utf8);
1093MCAPI ::http_wstring utf16_from_utf8(
char const* utf8, uint64 size);
1095MCAPI ::http_string utf8_from_utf16(::http_wstring
const& utf16);
1097MCAPI ::http_string utf8_from_utf16(
wchar_t const* utf16, uint64 size);
1101MCAPI
void visitTreeInternal(
1103 ::std::function<
bool(
::UIControl&,
int,
bool)> visitor,
1105 bool ancestorVisible
1112MCAPI ::std::vector<::HudElement>
const& ALL_HUD_ELEMENTS();
1114MCAPI ::std::unordered_map<
1115 ::glTF::Accessor::Type,
1118 ::std::equal_to<::glTF::Accessor::Type>>
const&
1119AccessorTypeEnumMap();
1122MCAPI ::std::array<::LayoutVariableType, 11>
const& AllLayoutVariableTypes();
1125MCAPI ::HashedString
const& BLAST_FURNACE_TAG();
1127MCAPI ::HashedString
const& CAMPFIRE_TAG();
1129MCAPI ::std::string_view
const& CEREAL_DOCUMENTATION_TAG();
1131MCAPI ::std::string_view
const& CEREAL_HELP_PROPERTY();
1133MCAPI ::std::string_view
const& CEREAL_JSON_SCHEMA_PROPERTY();
1136MCAPI ::std::chrono::seconds
const& CLUBS_CACHE_DURATION_FAILED();
1138MCAPI ::std::chrono::seconds
const& CLUBS_CACHE_DURATION_SUCCEEDED();
1141MCAPI ::std::unordered_map<::ContainerEnumName, ::std::string>& ContainerCollectionNameMap();
1144MCAPI ::std::string
const& DEFAULT_DRIVE_CONTENTS_PATH();
1146MCAPI ::std::unordered_map<::std::string_view, ::EncyclopediaTopicIndex>
const& EncyclopediaTopicIndexMap();
1148MCAPI ::std::string
const& FEATURED_SKIN_PACK_COLLECTION_INDEX();
1150MCAPI ::std::string
const& FEATURED_SKIN_PACK_COLLECTION_NAME();
1153MCAPI ::HashedString
const& FURNACE_TAG();
1155MCAPI ::std::array<::std::pair<::HudElement, ::std::string>, 13>
const& HUD_ELEMENTS_TO_STRINGS();
1158MCAPI ::std::unordered_map<::std::string_view, ::HowToPlayTopicIndex>
const& HowToPlayTopicIndexMap();
1160MCAPI ::std::string
const& ICON_OVERLAY_FACTORY();
1163MCAPI ::GatheringServerInfo
const& INVALID_GATHERING_SERVER_INFO();
1165MCAPI ::ThirdPartyInfo
const& INVALID_THIRD_PARTY_INFO();
1167MCAPI ::std::unordered_map<
1168 ::glTF::Image::ImageMimeType,
1171 ::std::equal_to<::glTF::Image::ImageMimeType>>
const&
1172ImageMimeTypeEnumMap();
1174MCAPI ::MCRESULT
const& MCRESULT_ChatMuted();
1176MCAPI ::MCRESULT
const& MCRESULT_CommandNotFound();
1178MCAPI ::MCRESULT
const& MCRESULT_CommandRequestInitiated();
1180MCAPI ::MCRESULT
const& MCRESULT_CommandStepFail();
1182MCAPI ::MCRESULT
const& MCRESULT_CommandsDisabled();
1184MCAPI ::MCRESULT
const& MCRESULT_EncryptionRequired();
1186MCAPI ::MCRESULT
const& MCRESULT_ExecutionFail();
1188MCAPI ::MCRESULT
const& MCRESULT_FailedToParseCommand();
1190MCAPI ::MCRESULT
const& MCRESULT_InvalidCommandContext();
1192MCAPI ::MCRESULT
const& MCRESULT_InvalidCommandOrigin();
1194MCAPI ::MCRESULT
const& MCRESULT_MalformedRequest();
1196MCAPI ::MCRESULT
const& MCRESULT_Success();
1198MCAPI ::MCRESULT
const& MCRESULT_TooManyPendingRequests();
1200MCAPI ::SemVersionConstant
const& MIN_ENGINE_VERSION_MINIMUM_V2();
1202MCAPI ::std::unordered_map<
1203 ::glTF::Material::AlphaMode,
1206 ::std::equal_to<::glTF::Material::AlphaMode>>
const&
1207MaterialAlphaModeEnumMap();
1209MCAPI ::std::bitset<38>
const& PLAYER_ACTION_MOVEMENT_BITSET();
1211MCAPI ::std::bitset<38>
const& PLAYER_ACTION_MOVEMENT_FLYING_ATTRIBUTE_BITSET();
1213MCAPI ::std::bitset<38>
const& PLAYER_ACTION_MOVEMENT_SPEED_ATTRIBUTE_BITSET();
1216MCAPI ::std::string
const& SKIN_PACK_COLLECTION_INDEX_DEP();
1218MCAPI ::std::string
const& SKIN_PACK_COLLECTION_NAME_DEP();
1221MCAPI ::HashedString
const& SMOKER_TAG();
1223MCAPI ::HashedString
const& SOUL_CAMPFIRE_TAG();
1225MCAPI ::std::unordered_map<
1226 ::TextProcessingEventOrigin,
1229 ::std::equal_to<::TextProcessingEventOrigin>>
const&
1230TextProcessingEventOriginEnumMap();
1232MCAPI ::std::array<::HashedString, 17>
const& VanillaStructureFeatureTypes();
1234MCAPI ::std::unordered_map<::std::string, ::ActorFilterGroup::LegacyMapping>& _environmentSubfilters();
1236MCAPI ::std::unordered_map<::std::string, ::ActorFilterGroup::LegacyMapping>& _legacyPredicates();
1239MCAPI ::std::unordered_map<int, ::std::string>
const& autoUpdateModeLabels();
1241MCAPI ::mce::Camera& camera();
1243MCAPI ::std::unordered_map<int, ::std::string>
const& chatDurationLabels();
1245MCAPI ::std::unordered_map<int, ::std::string>
const& chunkMapModeLabels();
1247MCAPI ::std::unordered_map<int, ::std::string>
const& cloudQualityLabels();
1249MCAPI ::std::unordered_map<int, ::std::string>
const& contentLogGUILevelLables();
1251MCAPI ::std::unordered_map<int, ::std::string>
const& debugHudLabels();
1253MCAPI ::std::unordered_map<int, ::std::string>
const& devConnectionQualityLabels();
1255MCAPI ::std::unordered_map<int, ::std::string>
const& devEducationServicesEnvironmentLabels();
1257MCAPI ::std::unordered_map<int, ::std::string>
const& devMarketplaceRotationSpeedMultiplierLabels();
1259MCAPI ::std::unordered_map<int, ::std::string>
const& devTimeZoneTypeLabels();
1261MCAPI ::std::unordered_map<int, ::std::string>
const& devWindowsStoreLabels();
1263MCAPI ::std::unordered_map<int, ::std::string>
const& deviceInfoMemoryTierLabels();
1265MCAPI ::std::unordered_map<int, ::std::string>
const& difficultyLabels();
1268MCAPI ::std::unordered_map<int, ::std::string>
const& discoveryEnvironmentLabels();
1270MCAPI ::std::unordered_map<::std::string, ::DiscoveryEnvironment>
const& discoveryEnvironmentStrings();
1272MCAPI ::std::unordered_map<::DiscoveryEnvironment, ::std::string>
const& discoveryEnvironments();
1274MCAPI ::std::add_lvalue_reference_t<uint[]> englishCharacterFrequencies();
1277MCAPI ::std::unordered_map<int, ::std::string>
const& exposureTechniqueLabels();
1281MCAPI ::std::vector<::std::string>& gAreaFilters();
1284MCAPI ::SubChunkDelayedDeleter<::SubChunkStorage<::Biome>>& gBiomeChunkGC();
1286MCAPI ::SubChunkDelayedDeleter<::SubChunkStorage<::Block>>& gBlockStorageGC();
1288MCAPI ::InternalTaskGroup& gInternalTaskGroup();
1290MCAPI ::SubChunkDelayedDeleter<::SubChunkBrightnessStorage>& gLightStorageGC();
1293MCAPI ::std::add_lvalue_reference_t<uchar[]> gMinecraftLogoImage();
1297MCAPI ::std::vector<::std::string>& gPriorityFilters();
1301MCAPI
double& gTotalRealWorldTime();
1303MCAPI
double& gTotalRealWorldTimeDelta();
1305MCAPI ::MainGameCore::WinMain*& gWinMainInstance();
1309MCAPI ::std::add_lvalue_reference_t<
void* (*)(uint64, uint)> g_memAllocFunc();
1311MCAPI ::std::add_lvalue_reference_t<void (*)(
void*, uint)> g_memFreeFunc();
1313MCAPI ::HCTraceImplArea& g_traceHTTPCLIENT();
1315MCAPI ::HCTraceImplArea& g_traceWEBSOCKET();
1319MCAPI ::HCTraceImplArea& g_traceXAL();
1321MCAPI ::HCTraceImplArea& g_traceXAL_TELEMETRY();
1323MCAPI ::HCTraceImplArea& g_traceXSAPI();
1325MCAPI ::std::unordered_map<int, ::std::string>
const& gameModeLabels();
1327MCAPI ::std::unordered_map<int, ::std::string>
const& graphicsApiLabels();
1329MCAPI ::std::unordered_map<int, ::std::string>
const& graphicsModeLabels();
1331MCAPI ::std::unordered_map<int, ::std::string>
const& graphicsQualityPresetModeLabels();
1333MCAPI ::std::unordered_map<int, ::std::string>
const& interactionModelLabels();
1335MCAPI ::std::unordered_map<int, ::std::string>
const& joystickVisibilityOptionLabels();
1337MCAPI ::EducationServicesEnvironment& mCachedServicesEnvironment();
1339MCAPI ::std::unordered_map<int, ::std::string>
const& nethernetLoggingVerbosityLabels();
1341MCAPI ::std::unordered_map<int, ::std::string>
const& networkLoggingVerbosityLabels();
1343MCAPI ::std::unordered_map<int, ::std::string>
const& newPlayerFlowV3ABCTestGroupLabels();
1345MCAPI ::std::unordered_map<int, ::std::string>
const& newPlayerPathTutorialModeABTestGroupLabels();
1347MCAPI ::std::unordered_map<int, ::std::string>
const& partyInviteReceivedFilterLabels();
1349MCAPI ::std::unordered_map<int, ::std::string>
const& partyInviteSendPrivilegesLabels();
1351MCAPI ::std::unordered_map<int, ::std::string>
const& partyPrivacyLabels();
1353MCAPI ::std::unordered_map<::std::string, int>
const& permissionsNameValuePairs();
1355MCAPI ::std::unordered_map<int, ::std::string>
const& permissionsValueLabelPairs();
1357MCAPI ::std::unordered_map<int, ::std::string>
const& permissionsValueTexturePairs();
1359MCAPI ::std::unordered_map<int, ::std::string>
const& pointLightLODingQualityLabels();
1361MCAPI ::std::unordered_map<int, ::std::string>
const& pointLightShadowQualityLabels();
1363MCAPI ::std::unordered_map<int, ::std::string>
const& realmsEnvironmentLabels();
1365MCAPI ::std::unordered_map<int, ::std::string>
const& realmsGameModeLabels();
1367MCAPI ::std::unordered_map<int, ::std::string>
const& realmsSkuLabels();
1369MCAPI ::std::unordered_map<int, ::std::string>
const& reflectionQualityLabels();
1371MCAPI ::std::variant<::XAsyncBlock, ::XUser*>& sDefaultUser();
1375MCAPI
bool& s_AsyncLibEnablePumpingWait();
1377MCAPI ::std::atomic<uint>& s_AsyncLibGlobalStateCount();
1381MCAPI ::std::unordered_map<int, ::std::string>
const& scriptDebuggerAttachModeLabels();
1383MCAPI ::std::unordered_map<int, ::std::string>
const& shadowQualityLabels();
1385MCAPI ::std::unordered_map<int, ::std::string>
const& sneakOptionLabels();
1387MCAPI ::std::unordered_map<int, ::std::string>
const& splitScreenLabels();
1389MCAPI ::std::unordered_map<int, ::std::string>
const& startupStatisticsLabels();
1391MCAPI ::__m128i& stbir__s16_32768();
1393MCAPI ::__m128i& stbir__s32_32768();
1395MCAPI ::std::unordered_map<int, ::std::string>
const& storageLocationLabels();
1397MCAPI ::std::unordered_map<int, ::std::string>
const& sunsettingTierLabels();
1399MCAPI ::std::unordered_map<int, ::std::string>
const& suspendedConnectionBehaviorLabels();
1401MCAPI ::std::unordered_map<int, ::std::string>
const& thirdPersonLabels();
1403MCAPI ::std::unordered_map<int, ::std::string>
const& toastsDurationLabels();
1405MCAPI ::std::unordered_map<int, ::std::string>
const& tonemapTechniqueLabels();
1407MCAPI ::std::unordered_map<int, ::std::string>
const& topButtonScaleOptionLabels();
1409MCAPI ::std::unordered_map<int, ::std::string>
const& typefaceLabels();
1411MCAPI ::std::unordered_map<int, ::std::string>
const& uiProfileLabels();
1413MCAPI ::std::unordered_map<int, ::std::string>
const& upscalingModeLabels();
1415MCAPI ::std::unordered_map<int, ::std::string>
const& volumetricFogQualityLabels();
1417MCAPI ::std::unordered_map<int, ::std::string>
const& vsyncLabels();
1419MCAPI ::std::add_lvalue_reference_t<int (*)(
void*)> winrt_to_hresult_handler();
1421MCAPI ::std::unordered_map<int, ::std::string>
const& xboxEnvironmentLabels();
Definition ActorOwnerComponent.h:10
Definition BaseActorRenderContext.h:5
Definition IDiscoveryService.h:16
Definition StaticOptimizedString.h:10
Definition WorkerPoolHandleInterface.h:15
Definition BiomeArea.h:11
Definition BlockSource.h:71
Definition BlockStateCommandParam.h:16
Definition BlockState.h:13
Definition BlockType.h:84
Definition BoundingBox.h:13
Definition BribeableComponent.h:13
Definition CircuitComponentList.h:14
Definition CircuitSceneGraph.h:18
Definition CircuitTrackingInfo.h:14
Definition CommandOutput.h:20
Definition FileStorageArea.h:32
Definition DataDrivenGeometry.h:5
Definition DataDrivenModel.h:5
Definition DataDrivenRenderer.h:5
Definition DateManager.h:14
Definition DefinitionTrigger.h:15
Definition Dimension.h:86
Definition ExpressionNode.h:34
Definition FeatureRegistry.h:19
Definition GatheringServerInfo.h:5
Definition HashedString.h:5
Definition HitResult.h:17
Definition IClientInstance.h:5
Definition IFileAccess.h:15
Definition IStructureTemplateManager.h:16
Definition InternalTaskGroup.h:18
Definition ItemInstance.h:15
Definition ItemStack.h:26
Definition JigsawStructureRegistry.h:22
Definition LevelChunk.h:79
Definition LevelData.h:52
Definition LocalPlayer.h:5
Definition PackManifest.h:37
Definition PackReport.h:16
Definition ParticleEffectComponentRegistry.h:7
Definition RakPeerInterface.h:32
Definition RecipeIngredient.h:17
Definition RedstoneTorchCapacitor.h:19
Definition ResponseVerifier.h:10
Definition ScriptSimulatedPlayer.h:36
Definition ScriptPlayer.h:55
Definition ScriptStat.h:10
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:7
Definition SearchQuery.h:5
Definition SemVersionConstant.h:8
Definition IUserManager.h:34
Definition MultiplayerServiceManager.h:7
Definition StoreDataDrivenScreenController.h:5
Definition StructurePoolElement.h:39
Definition SubChunkBrightnessStorage.h:5
Definition Tessellator.h:5
Definition ThirdPartyInfo.h:5
Definition TraceState.h:5
Definition TrialManager.h:5
Definition UIPropertyBag.h:5
Definition WorkerPool.h:19
Definition WorldSeedModel.h:5
Definition function_ref.h:60
Definition _HeaderOutputPredefine.h:241
Definition http_stl_allocator.h:6
Definition FrameBuilder.h:7
Definition AccessorTypeEnumHasher.h:5
Definition ActorAttachableDerivitiveData.h:5
Definition ActorDefinitionIdentifier.h:15
Definition ActorDerivitiveData.h:5
Definition AllWorkerConfigurations.h:5
Definition AnimationData.h:5
Definition AttachablesPreprocessingContext.h:5
Definition BakedDataDrivenRenderDataInfrequentAccess.h:5
Definition BakedRenderControllerResults.h:5
Definition DiscoveryConfig.h:7
Definition BlockLayer.h:10
Definition BlockMaterialInstance.h:17
Definition CloudConfiguration.h:5
Definition CommonLocTextPair.h:5
Definition ContentCatalogQueryData.h:5
Definition DataDrivenRendererDerivitiveData.h:5
Definition DataDrivenRendererPreprocessingContext.h:5
Definition DiggerBlockTypeInfo.h:9
Definition DisconnectionErrorStringOverrides.h:5
Definition DurableSearchResults.h:5
Definition FinalRenderingData.h:5
Definition FlatWorldLayer.h:8
Definition FlatWorldPreset.h:15
Definition FrameAllocationCount.h:5
Definition HCTraceImplArea.h:5
Definition IWorldTransferHandler.h:5
Definition ImageMimeTypeEnumHasher.h:5
Definition KeyOrNameResult.h:5
Definition KineticDamageSettings.h:10
Definition MapItemSavedData.h:43
Definition MaterialAlphaModeEnumHasher.h:5
Definition ModificationOperation.h:5
Definition PackIdVersion.h:10
Definition ProcessedDataDrivenRenderers.h:5
Definition RakPeerConfiguration.h:7
Definition RealmsWorldInfo.h:5
Definition RenderControllerResources.h:5
Definition RequestedRenderEntries.h:5
Definition ResourceBakingResult.h:5
Definition ResourceOffset.h:5
Definition ScatterParamsMolangVariableIndices.h:8
Definition ScriptPlayerSkinData.h:17
Definition ScriptDimensionLocation.h:16
Definition ScriptInvalidActorError.h:18
Definition EngineError.h:15
Definition InvalidArgumentError.h:17
Definition SentryEnvelopePayloadDebugMetadataSourcemapImage.h:10
Definition SentryEnvelopePayloadStacktraceFrame.h:5
Definition EmptyPoolElement.h:7
Definition SinglePoolElement.h:12
Definition TextProcessingEventOriginEnumHasher.h:5
Definition WorkerConfiguration.h:8
Definition WorldTemplateInfo.h:12
Definition XAsyncBlock.h:10
Definition ReflectionCtx.h:11
Definition PerCascadeRenderingParameters.h:7
Definition RenderBatchActorInstanceDescription.h:7
Definition ShadowRange.h:7
Definition srtp_auth_t.h:5