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/network/NetworkFilter.h"
13#include "mc/client/renderer/ColorGraderConfig.h"
14#include "mc/client/renderer/LightingGroup.h"
15#include "mc/client/renderer/SkyboxConfig.h"
16#include "mc/client/renderer/UpscalingConfiguration.h"
17#include "mc/client/renderer/actor/v2/Destination.h"
18#include "mc/client/renderer/game/ShadowRenderingParameters.h"
19#include "mc/client/renderer/game/TerrainVariation.h"
20#include "mc/client/resources/ContentCatalogQueryData.h"
21#include "mc/client/services/download/DlcCheckResult.h"
22#include "mc/client/services/download/IMarketplacePackDownloader.h"
23#include "mc/client/tutorial/GameTip.h"
24#include "mc/common/SubClientId.h"
25#include "mc/deps/core/debug/log/LogLevel.h"
26#include "mc/deps/core/file/file_system/FileType.h"
27#include "mc/deps/core/resource/PackType.h"
28#include "mc/deps/core/sem_ver/SemVersionBase.h"
29#include "mc/deps/core/threading/Async.h"
30#include "mc/deps/core/threading/XAsyncBlock.h"
31#include "mc/deps/core/utility/NonOwnerPointer.h"
32#include "mc/deps/core_graphics/TextureSetLayerType.h"
33#include "mc/deps/json/ValueType.h"
34#include "mc/deps/nether_net/LogSeverity.h"
35#include "mc/deps/profiler/ThreadFrameType.h"
36#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
37#include "mc/deps/scripting/runtime/Result.h"
38#include "mc/deps/shared_types/item/CreativeItemCategory.h"
39#include "mc/deps/shared_types/legacy/FilterSubject.h"
40#include "mc/deps/shared_types/legacy/item/UseAnimation.h"
41#include "mc/deps/shared_types/v1_21_110/item/ItemCategory.h"
42#include "mc/events/TextProcessingEventOrigin.h"
43#include "mc/external/lib_http_client/http_stl_allocator.h"
44#include "mc/external/libsrtp/srtp_err_status_t.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/bitset.h"
50#include "mc/platform/brstd/function_ref.h"
51#include "mc/util/HudElement.h"
52#include "mc/util/gltf/Accessor.h"
53#include "mc/util/gltf/Image.h"
54#include "mc/util/gltf/Material.h"
55#include "mc/util/molang/ExpressionOp.h"
56#include "mc/world/Direction.h"
57#include "mc/world/actor/ActorFilterGroup.h"
58#include "mc/world/actor/ActorFlags.h"
59#include "mc/world/actor/ActorHealCause.h"
60#include "mc/world/actor/ActorType.h"
61#include "mc/world/actor/ActorTypeNamespaceRules.h"
62#include "mc/world/attribute/AttributeBuffType.h"
63#include "mc/world/containers/ContainerEnumName.h"
64#include "mc/world/filters/FilterGroup.h"
65#include "mc/world/filters/FilterOperator.h"
66#include "mc/world/level/GameType.h"
67#include "mc/world/level/WorldVersion.h"
68#include "mc/world/level/block/BlockSlot.h"
69#include "mc/world/level/chunk/ChunkState.h"
70#include "mc/world/level/chunk/LevelChunkTag.h"
71#include "mc/world/level/chunk/SubChunk.h"
72#include "mc/world/level/chunk/SubChunkDelayedDeleter.h"
73#include "mc/world/level/chunk/SubChunkStorage.h"
74#include "mc/world/level/levelgen/flat/FlatWorldPresetID.h"
75#include "mc/world/level/saveddata/maps/MapItemSavedData.h"
76#include "mc/world/redstone/circuit/components/CircuitComponentType.h"
146namespace Bedrock::Http {
class Status; }
149namespace Core {
class File; }
151namespace Core {
class Path; }
153namespace Core {
class Result; }
154namespace Json {
class Reader; }
155namespace Json {
class Value; }
169namespace cohtml {
class Binder; }
170namespace mce {
class UUID; }
224namespace ContentCard {
class ItemData; }
225namespace ContentCard {
class StyleDataGrid; }
226namespace MainGameCore {
class WinMain; }
230namespace mce {
class Camera; }
239MCAPI
void BedrockLogOut(uint,
char const*, ...);
244MCAPI
void CoherentBind(
258MCFOLD ::SharedTypes::CreativeItemCategory
259CreativeItemCategoryComprehensiveToRuntime(::SharedTypes::v1_21_110::ItemCategory::CreativeItemCategory category);
261MCAPI ::SharedTypes::CreativeItemCategory CreativeItemCategoryFromString(::std::string
const& str);
263MCAPI ::SharedTypes::v1_21_110::ItemCategory::CreativeItemCategory
264CreativeItemCategoryRuntimeToComprehensive(::SharedTypes::CreativeItemCategory category);
267MCAPI
void* DefaultMemAllocFunction(uint64 size, uint memoryType);
269MCAPI
void DefaultMemFreeFunction(
void* pointer, uint memoryType);
272MCFOLD
void DefaultOutOfMemoryHandler(
char const*,
long);
275MCAPI
bool DoesMockCallMatch(
::HC_CALL const* mockCall,
::HC_CALL const* originalCall);
278MCAPI ::HashedString
const& EntityCanonicalName(::ActorType entityType);
280MCAPI ::ActorType EntityTypeFromString(::std::string
const& str);
282MCAPI ::std::string EntityTypeIdWithoutCategories(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
284MCAPI ::std::string EntityTypeResolveAlias(::std::string
const& fromString, ::ActorTypeNamespaceRules namespaceRule);
286MCAPI ::std::string EntityTypeToFormattedLocString(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
288MCAPI ::std::string EntityTypeToLocString(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
290MCAPI ::std::string EntityTypeToString(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
292MCAPI
void EntityTypeToStringAndNamespace(::ActorType entityType, ::std::string& nameOut, ::std::string& namespaceOut);
294MCAPI
double GetEngagementMetricsTimeSinceAppStart_DEPRECATED();
299MCAPI ::TraceState& GetTraceState();
303MCAPI
long InitializeGameRuntimeDll(uint64 flags, ::_INITIALIZE_OPTIONS*
const options);
305MCAPI
long LoadGameRuntimeDll();
309MCAPI ::std::optional<::LogLevel> LogLevelFromString(::std::string
const& str);
311MCAPI
bool Mock_Internal_HCHttpCallPerformAsync(
::HC_CALL* originalCall);
313MCAPI
long Mock_Internal_ReadRequestBodyIntoMemory(
320MCAPI
void NGXInvalidParameterHandler(
321 wchar_t const* expression,
322 wchar_t const* function,
328MCAPI
bool NGXSafeInitializeLog(
wchar_t const* InPathToValidate,
wchar_t const* InFileName);
332MCAPI ::std::optional<::NetherNet::LogSeverity> NetherNetLogSeverityFromString(::std::string
const& str);
335MCAPI ::PackType PackTypeFromString(::std::string
const& value);
337MCAPI
void PlatformBedrockLogOut(uint buf,
char const* nullTerminatorPos, uint64);
339MCAPI
void PushCircularReference(
340 ::std::unordered_map<::BlockPos, ::RedstoneTorchCapacitor*>& relatedTorches,
345MCAPI
void RakSleep(uint ms);
348MCAPI
bool ReadJpegFile(
::Core::Path const& fileName,
int readMode);
350MCAPI
int ReadJpegSections(
::Core::File& infile,
int readMode);
353MCAPI ::std::string
const& StringFromPackType(::PackType value);
356MCAPI ::edu::Role StringToADRole(::std::string
const& str);
358MCAPI uint StringToNameId(::std::string
const& name);
361MCAPI uint SuperFastHashIncremental(
char const* data,
int len, uint lastHash);
364MCAPI
void UpdateLinksToStyleWithNavigateInPlace(::LinksToStyle& oldStyle, ::LinksToStyle
const& newStyle);
367MCAPI ::SharedTypes::Legacy::UseAnimation UseAnimationFromString(::std::string
const& str);
370MCAPI int64 WndProc(::HWND__* hwnd, uint uMsg, uint64 wParam, int64 lParam);
374MCAPI ::Bedrock::Result<::XUser*> XUserGetDefaultHandle_Blocking();
376MCAPI ::Bedrock::Threading::Async<::ContentCatalogQueryData::Done> _addCatalogItemsFromSearch(
379 ::std::shared_ptr<::ContentCatalogQueryData> request
383MCAPI
void _addEnvironmentSubfilter(
384 ::std::string
const& legacyPredicate,
385 ::FilterGroup::CollectionType type,
386 ::std::string
const& filterName,
387 ::SharedTypes::Legacy::FilterSubject subject,
389 ::ActorFilterGroup::Processing process
392MCAPI
void _addLegacyFilterDefinition(
393 ::std::string
const& legacyPredicate,
394 ::FilterGroup::CollectionType type,
395 ::std::string
const& filterName,
396 ::SharedTypes::Legacy::FilterSubject subject,
398 ::ActorFilterGroup::Processing process
402MCAPI ::ShadowRenderingParameters::ShadowMap _calculateCascade(
407 ::glm::mat4x4
const& playerView,
408 ::glm::vec3
const& viewPos,
409 ::glm::vec3
const& up,
410 ::glm::mat4x4
const& worldToLight,
411 ::glm::mat4x4
const& playerPosition,
412 ::glm::vec3
const& maxWorldTexelSnappingPosition,
414 float maxShadowFrustumRadius,
415 float renderingParameters,
423MCAPI ::glm::vec3 _clampShadowAngle(::glm::vec3
const& lightDir, ::glm::vec3
const& up,
float shadowClampAngle);
428MCAPI ::std::unique_ptr<::ListTag> _createBlockStateEnum(
::BlockState const& state);
431MCAPI
int _findNextIndex(::std::vector<::std::shared_ptr<::UIControl>>& tabControls,
int originIndex,
bool right);
433MCAPI
void _forEachObject(
438MCFOLD ::std::vector<::BlockPos> _generateChunkStartPositions(
::AABB const& area);
440MCAPI
int _getCurrentlySelectedToggleGroupIndex(::std::vector<::std::shared_ptr<::UIControl>>& tabControls);
442MCAPI ::std::vector<int>
const _getRenderDistanceLevels(
int& defaultDistanceIdx,
bool isVR);
444MCAPI
void _handleFetchedImageResponseData(
445 ::std::shared_ptr<::ContentCatalogQueryData> request,
447 ::std::unique_ptr<::PackManifest> manifestPtr,
456MCAPI
bool _haveSameScrollSection(::std::weak_ptr<::UIControl>
const& a, ::std::weak_ptr<::UIControl>
const& b);
461MCAPI ::Bedrock::Threading::Async<::ContentCatalogQueryData::Done>
462_loadAllCatalogItems(::std::shared_ptr<::ContentCatalogQueryData> request);
465MCAPI ::Block
const* _loadLayerBlock(
::Json::Value const& layer);
467MCAPI ::std::optional<::BlockPos> _locateBiome(
468 ::std::function<
bool(
::Biome const&)>
const& predicate,
475MCAPI ::std::optional<::std::vector<::BlockLayer>>
478MCAPI ::std::optional<::std::vector<::BlockLayer>>
481MCAPI ::std::optional<::std::vector<::BlockLayer>>
484MCAPI ::std::optional<::std::vector<::BlockLayer>>
488MCAPI ::glm::vec3 _quantizeLightDirection(
float angle,
float perpendicularAngle,
int step);
491MCAPI ::std::unique_ptr<::ListTag> _saveBlockList(::std::vector<::BlockType const*>
const& blockList);
494MCAPI
void _searchBlockByCameraCenter(
504MCAPI
bool _searchBlockByFreeFormPick(
514MCAPI
bool _stringLessThan(::std::string
const& str1, ::std::string
const& str2);
521MCAPI ::Destination addExpressionOrConstantResources(
522 ::std::vector<float>& constantBuffer,
523 ::std::vector<::ExpressionNode>& expressionBuffer,
525 char const* defaultExpression,
529MCAPI
void applyAnimations(
532 ::std::vector<::glm::mat4x4>& boneList,
534 ::gsl::span<::mce::framebuilder::RenderBatchActorInstanceDescription const> actorDescriptions
539MCAPI
void bakeDataDrivenRenderer(
540 ::std::weak_ptr<::DataDrivenModel> weakModelPtr,
545MCAPI ushort bakeGeneratedDraws(
548 ::std::vector<::std::string>
const& materialRegex,
549 ::std::vector<::std::string>
const& partVisibilityRegex,
553MCAPI ::BakedRenderControllerResults bakeRenderController(
559MCAPI ::ResourceBakingResult bakeResourceOffsets(
568MCAPI
void bindModuleToDDUI(
573MCAPI
char const* blockSlotToString(::BlockSlot slot);
575MCAPI ::KeyOrNameResult
576buildActorDisplayName(::ActorType actorType, ::std::string
const& nameTag,
::Actor const* actor);
579MCAPI
void calculateTileLighting(
589MCAPI
void checkComponent(
592 ::CircuitComponentType typeId,
601MCAPI
bool checkMinMaxClientVer(
::Json::Value const& documentObject,
bool pascalCase);
603MCAPI
bool checkMinMaxClientVer(::std::string
const& minClientVersion, ::std::string
const& maxClientVersion);
606MCAPI
bool checkTypeFilter(
612MCAPI
void clearBakedTextures(
625MCAPI ::std::unique_ptr<::ResponseVerifier> createMutsResponseVerifier(
626 ::std::string responseField,
627 ::std::string payloadField,
628 ::std::string publicKey,
629 ::std::function<int64()> getTime,
630 ::std::function<::std::string()> createRequestId
633MCAPI ::ExprToken createTokenFromUIDefVal(
::Json::Value const& resVal);
636MCAPI ::Bedrock::NonOwnerPointer<::WorkerPool> createWorkerPool(
637 ::std::string_view name,
638 ::Core::Profile::ThreadFrameType frameType,
640 ::std::shared_ptr<::Bedrock::WorkerPoolHandleInterface>& destHandle
644MCAPI ::UIDefType defTypeFromString(::std::string
const& str);
646MCAPI ::std::string discoveryEnvironmentToString(::DiscoveryEnvironment
const& environment);
648MCAPI ::std::string dlcCheckerResultToString(::DlcCheckResult result);
650MCAPI
void emplaceMatchedBoneIndex(
651 ::std::string
const& boneName,
653 ::std::vector<::std::string>
const& regexArray,
654 ::std::vector<::std::vector<uint64>>& indices
657MCAPI
void executeOnPrimaryUserStorageArea(
658 ::std::function<
void(::std::shared_ptr<::Core::FileStorageArea>)> onSuccess,
659 ::std::function<
void()> onFailure
663MCAPI ::srtp_err_status_t external_crypto_init();
665MCAPI ::srtp_err_status_t external_hmac_alloc(
::srtp_auth_t** a,
int key_len,
int out_len);
667MCAPI ::srtp_err_status_t external_hmac_compute(
void*, uchar
const*,
int,
int tag_len, uchar* result);
669MCAPI ::srtp_err_status_t external_hmac_dealloc(
::srtp_auth_t* a);
671MCAPI ::srtp_err_status_t external_hmac_init(
void* state, uchar
const* key,
int key_len);
673MCFOLD ::srtp_err_status_t external_hmac_start(
void*);
675MCFOLD ::srtp_err_status_t external_hmac_update(
void*, uchar
const*,
int);
678MCAPI ::std::optional<::ExtractedDataDataDrivenModel>
679extractModelData(
::HashedString const& rendererPtr, ::std::shared_ptr<::DataDrivenRenderer>);
683MCAPI
void fillLangValue(
684 ::std::string
const& jsonFieldStr,
685 ::std::string
const& langCode,
686 ::std::string
const& modifiedCode,
690 ::std::unordered_map<::std::string, ::std::string>& locDictionary
693MCAPI
void fillPackIdentityListFromJson(
694 ::std::vector<::PackIdVersion>& packIdentityListToFill,
698MCAPI
void findInvalidControls(
700 ::std::vector<::std::string>& foundInvalidControls,
702 ::std::string
const& fileName
706MCAPI ::AABB fixGeoFileAABBCoordinateSystem(
::AABB const& aabb);
708MCAPI ::std::optional<::FlatWorldPresetID> flatWorldPresetIDFromString(::std::string
const& str);
711MCAPI ::std::string_view flatWorldPresetIDToString(::FlatWorldPresetID
id);
714MCAPI
void forEachEntityType(
716 ::ActorTypeNamespaceRules namespaceRule
719MCAPI
int fseek(
::Core::File& file, int64 offset,
int origin);
724MCAPI
void gameplayValueGeneration(
735MCAPI ::std::string gatherTypeStrings(::std::vector<::Json::ValueType>
const& types);
738MCAPI ::ResourceOffset generateExpressionOffset(
740 ::ExpressionOp expectedOperator,
741 ::std::vector<::ExpressionNode>& outputExpressionList
744MCAPI
void generatePartVisibility(
748 ::std::vector<::PartVisibilityExpression>& partVisibilityExpressions
755MCAPI ::ActorHealCause getActorHealCause(::AttributeBuffType buffType);
759getAnchorPointFromDirectionAndAnchor(::GameTip::ArrowDirection direction, ::GameTip::ArrowAnchor anchor);
763MCAPI ::std::string getCPUName();
767MCAPI ::std::shared_ptr<::ContentCard::StyleDataGrid const>
770MCAPI ::ContentCard::ItemData
const*
773MCAPI ::std::shared_ptr<::UIControl> getControlBreadthFirst(
::UIControl* scope, ::std::string name);
775MCAPI ::std::shared_ptr<::UIControl> getControlFromAncestors(
::UIControl* scope, ::std::string name);
777MCAPI
float getControlVariableValue(
::UIControl& control, ::LayoutVariableType type);
779MCAPI
void getControlsInternal(
780 ::std::vector<::std::shared_ptr<::UIControl>>& result,
781 ::std::function<
bool(
::UIControl const&)> predicate,
786MCAPI ::std::string getDiscoveryServiceURL(::DiscoveryEnvironment environment);
789MCAPI ::Json::Value
const& getDisplayProperties(
::Json::Value const& resultObject,
bool pascalCase);
792MCAPI ::std::string
const getEdition();
797MCAPI
void getFirstControlInternal(
798 ::std::shared_ptr<::UIControl>& result,
799 ::std::function<
bool(
::UIControl const&)>
const& predicate,
803MCAPI
void getFirstVisibleControlInternal(
804 ::std::shared_ptr<::UIControl>& result,
805 ::std::function<
bool(
::UIControl const&)>
const& predicate,
810MCAPI ::FlatWorldPreset
const& getFlatWorldPresetWithID(::FlatWorldPresetID
id);
812MCAPI ::std::unordered_map<::FlatWorldPresetID, ::FlatWorldPreset>
const& getFlatWorldPresets();
814MCAPI ::I18n& getI18n();
816MCAPI ::std::string getInvalidRespawnBlockMessage(
::DimensionType const& dimension);
819MCAPI ::std::vector<::PackIdVersion> getJsonPackIdVersion(
::Json::Value const& objectArray);
822MCAPI ::brstd::bitset<130, uint64>
const& getMovementActorFlagsBitset();
825MCAPI ::NetworkFilter getNetworkFilterFromOptions(
::IOptionRegistry const& options);
828MCAPI ::PackMaps
const& getPackMaps();
830MCFOLD ::std::unordered_map<int, ::std::string>
const& getPackParseErrorTypeEventMapAccess();
832MCFOLD ::std::unordered_map<int, ::std::string>
const& getPackParseErrorTypeLOCMapAccess();
834MCAPI ::Scripting::Result<
841MCAPI ::Core::Result getPrimaryUserStorageArea(::std::shared_ptr<::Core::FileStorageArea>& sptStorageArea);
845MCAPI ::SubChunk::SubChunkState getSubChunkState(
::LevelChunk& levelChunk,
short absoluteIndex);
848MCFOLD int64 getUnixTime();
851MCAPI
void getVisibleControlsInternal(::std::function<
void(
::UIControl&)>
const& action,
::UIControl& control);
856MCAPI
bool isChunkAtStage(::std::weak_ptr<::LevelChunk> lcwp, ::ChunkState stateToCheck);
860isExpectedContentType(::std::string
const& contentType, ::std::vector<::std::string>
const& expectedContentTypes);
867MCAPI
int itemVarientFromString(::std::string
const& str);
869MCAPI ::std::string join(::std::string prefix, ::std::string_view chunkKey);
871MCAPI ::std::string join(::std::string_view prefix, ::LevelChunkTag tag);
873MCAPI ::ActorType lookupActualEntityType(::ActorType entityType);
875MCAPI ::std::string makeGuestDisplayName(::std::string
const& hostName, ::SubClientId subclientId);
877MCAPI ::mce::UUID makeGuestUUID(
::mce::UUID const& hostUuid, ::SubClientId subclientId);
879MCAPI ::mce::UUID makePlayerUUIDForXUID(::std::string
const& xuid);
882MCAPI ::std::shared_ptr<::Bedrock::Services::IDiscoveryService>
887MCAPI
void mergeControls(
892 ::std::unordered_map<::std::string, ::std::string>
const& topLevelNames,
893 ::std::string
const& fileName,
897MCAPI
int nvFPrintf(::_iobuf*,
char const*, ...);
899MCAPI
int nvSWprintf(
wchar_t*, uint64,
wchar_t const*, ...);
901MCAPI
int nvSprintf(
char*, uint64,
char const*, ...);
904MCAPI ::std::ostream& operator<<(::std::ostream& os, ::ActorFlags
const& flag);
909MCAPI ::std::ostream& operator<<(::std::ostream& os, ::cg::TextureSetLayerType
const& type);
911MCAPI ::std::string pascalCaseConverter(::std::string
const& inString,
bool pascalCase);
913MCAPI ::ActorAttachableDerivitiveData processActorAttachables(
916 bool lessThanOrEqualToVersion_1_16_210
919MCAPI ::ActorDerivitiveData processActors(
924 ::std::vector<::mce::framebuilder::RenderBatchActorInstanceDescription>& actorDescriptions,
928MCAPI ::DataDrivenRendererDerivitiveData processDataDrivenRenderers(
939MCAPI
void renderAttachables(
947MCAPI ::mce::framebuilder::FrameBuilder* renderDragonFrameBuilder();
952MCAPI
void renderMapChunk(
961MCAPI
void renderTempComponents(
969MCAPI
void reportParseError(::std::string
const& fileName,
::Json::Reader& reader);
971MCAPI
void separateEntityStreams(
980MCAPI ::ui::DirtyFlag setControlVariableValue(
982 ::LayoutVariableType type,
988MCAPI
void setRegexIndexByBoneIndex(
989 ::std::string
const& boneName,
991 ::std::vector<::std::string>
const& regexArray,
992 ::std::vector<ushort>& indices
995MCAPI
void setupAttachables(
1004MCAPI
bool shouldRenderAnyAttachables(
1005 bool modelAttachablesAreEnabled,
1007 bool lessThanOrEqualToVersion_1_16_210,
1012MCAPI ::Scripting::Result<
1015spawnSimulatedPlayer(
1018 ::std::string
const& name,
1023MCAPI ::DiscoveryEnvironment stringToDiscoveryEnvironment(::std::string
const& str);
1027MCAPI
char const* stringizeLayoutVariableType(::LayoutVariableType type);
1029MCAPI
void submitActors(
1035MCAPI
bool supportsDataDrivenRenderer(
1042MCAPI ::TerrainVariation terrainVariationFromString(::std::string_view terrainVariation);
1051MCAPI ::std::string toString(::AgentActionType type);
1054MCAPI ::std::optional<uint> tryCreateDataDrivenV2Resource(
1056 ::std::shared_ptr<::DataDrivenRenderer>
const& bakeCtx,
1060MCAPI
void updateLevelSettingsConsideringPlayerIntents(
1061 ::Bedrock::NotNullNonOwnerPtr<::ILevel> level,
1062 ::Bedrock::NotNullNonOwnerPtr<::IAppPlatform> appPlatform,
1063 ::Bedrock::NotNullNonOwnerPtr<::Social::MultiplayerServiceManager>
const& isNxAdhocMultiplayer,
1065 ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager> trialManager,
1066 ::Bedrock::NotNullNonOwnerPtr<::TrialManager> hasAllValidCrossPlatformSkin,
1072MCAPI ::http_wstring utf16_from_utf8(::http_string
const& utf8);
1074MCAPI ::http_wstring utf16_from_utf8(
char const* utf8);
1076MCAPI ::http_wstring utf16_from_utf8(
char const* utf8, uint64 size);
1078MCAPI ::http_string utf8_from_utf16(::http_wstring
const& utf16);
1080MCAPI ::http_string utf8_from_utf16(
wchar_t const* utf16, uint64 size);
1084MCAPI
bool verifyValidResultObject(
::Json::Value const& documentObject,
bool pascalCase);
1086MCAPI
void visitTreeInternal(
1088 ::std::function<
bool(
::UIControl&,
int,
bool)> visitor,
1090 bool ancestorVisible
1097MCAPI ::std::vector<::HudElement>
const& ALL_HUD_ELEMENTS();
1099MCAPI ::std::unordered_map<
1100 ::glTF::Accessor::Type,
1103 ::std::equal_to<::glTF::Accessor::Type>>
const&
1104AccessorTypeEnumMap();
1107MCAPI ::std::array<::LayoutVariableType, 11>
const& AllLayoutVariableTypes();
1110MCAPI ::HashedString
const& BLAST_FURNACE_TAG();
1112MCAPI ::HashedString
const& CAMPFIRE_TAG();
1114MCAPI ::std::string_view
const& CEREAL_DOCUMENTATION_TAG();
1116MCAPI ::std::string_view
const& CEREAL_JSON_SCHEMA_PROPERTY();
1118MCAPI ::std::unordered_map<::ContainerEnumName, ::std::string>& ContainerCollectionNameMap();
1121MCAPI ::std::string
const& DEFAULT_DRIVE_CONTENTS_PATH();
1123MCAPI
int const& DEFAULT_SEARCH_RESULTS_PER_REQUEST();
1125MCAPI ::std::unordered_map<::std::string_view, ::EncyclopediaTopicIndex>
const& EncyclopediaTopicIndexMap();
1127MCAPI ::std::string
const& FEATURED_SKIN_PACK_COLLECTION_INDEX();
1129MCAPI ::std::string
const& FEATURED_SKIN_PACK_COLLECTION_NAME();
1132MCAPI ::HashedString
const& FURNACE_TAG();
1134MCAPI ::std::array<::std::pair<::HudElement, ::std::string>, 13>
const& HUD_ELEMENTS_TO_STRINGS();
1137MCAPI ::std::unordered_map<::std::string_view, ::HowToPlayTopicIndex>
const& HowToPlayTopicIndexMap();
1139MCAPI ::std::string
const& ICON_OVERLAY_FACTORY();
1142MCAPI ::GatheringServerInfo
const& INVALID_GATHERING_SERVER_INFO();
1144MCAPI ::ThirdPartyInfo
const& INVALID_THIRD_PARTY_INFO();
1146MCAPI
char const*& IPV4_LOOPBACK();
1148MCAPI
char const*& IPV6_LOOPBACK();
1150MCAPI ::std::unordered_map<
1151 ::glTF::Image::ImageMimeType,
1154 ::std::equal_to<::glTF::Image::ImageMimeType>>
const&
1155ImageMimeTypeEnumMap();
1157MCAPI ::MCRESULT
const& MCRESULT_AllTargetsWillFail();
1159MCAPI ::MCRESULT
const& MCRESULT_ChatMuted();
1161MCAPI ::MCRESULT
const& MCRESULT_CommandExecIncomplete();
1163MCAPI ::MCRESULT
const& MCRESULT_CommandNotFound();
1165MCAPI ::MCRESULT
const& MCRESULT_CommandRequestInitiated();
1167MCAPI ::MCRESULT
const& MCRESULT_CommandStepDone();
1169MCAPI ::MCRESULT
const& MCRESULT_CommandStepFail();
1171MCAPI ::MCRESULT
const& MCRESULT_CommandVersionMismatch();
1173MCAPI ::MCRESULT
const& MCRESULT_CommandsDisabled();
1175MCAPI ::MCRESULT
const& MCRESULT_EncryptionRequired();
1177MCAPI ::MCRESULT
const& MCRESULT_ExecutionFail();
1179MCAPI ::MCRESULT
const& MCRESULT_ExpectedRequestMsg();
1181MCAPI ::MCRESULT
const& MCRESULT_FailWithoutFailMsg();
1183MCAPI ::MCRESULT
const& MCRESULT_FailedToParseCommand();
1185MCAPI ::MCRESULT
const& MCRESULT_InvalidCommandCall();
1187MCAPI ::MCRESULT
const& MCRESULT_InvalidCommandContext();
1189MCAPI ::MCRESULT
const& MCRESULT_InvalidCommandOrigin();
1191MCAPI ::MCRESULT
const& MCRESULT_InvalidOverloadSyntax();
1193MCAPI ::MCRESULT
const& MCRESULT_MalformedRequest();
1195MCAPI ::MCRESULT
const& MCRESULT_MustSpecifyVersion();
1197MCAPI ::MCRESULT
const& MCRESULT_NewCommandVersionAvailable();
1199MCAPI ::MCRESULT
const& MCRESULT_NoChatPermissions();
1201MCAPI ::MCRESULT
const& MCRESULT_NoTargetsFound();
1203MCAPI ::MCRESULT
const& MCRESULT_NotEnoughPermissions();
1205MCAPI ::MCRESULT
const& MCRESULT_Success();
1207MCAPI ::MCRESULT
const& MCRESULT_TooManyPendingRequests();
1209MCAPI ::MCRESULT
const& MCRESULT_VersionMismatch();
1211MCAPI ::SemVersionConstant
const& MIN_ENGINE_VERSION_MINIMUM_V2();
1213MCAPI ::std::unordered_map<
1214 ::glTF::Material::AlphaMode,
1217 ::std::equal_to<::glTF::Material::AlphaMode>>
const&
1218MaterialAlphaModeEnumMap();
1220MCAPI ::std::bitset<38>
const& PLAYER_ACTION_MOVEMENT_BITSET();
1222MCAPI ::std::bitset<38>
const& PLAYER_ACTION_MOVEMENT_FLYING_ATTRIBUTE_BITSET();
1224MCAPI ::std::bitset<38>
const& PLAYER_ACTION_MOVEMENT_SPEED_ATTRIBUTE_BITSET();
1227MCAPI ::std::string
const& SKIN_PACK_COLLECTION_INDEX_DEP();
1229MCAPI ::std::string
const& SKIN_PACK_COLLECTION_NAME_DEP();
1232MCAPI ::HashedString
const& SMOKER_TAG();
1234MCAPI ::HashedString
const& SOUL_CAMPFIRE_TAG();
1236MCAPI ::std::unordered_map<
1237 ::TextProcessingEventOrigin,
1240 ::std::equal_to<::TextProcessingEventOrigin>>
const&
1241TextProcessingEventOriginEnumMap();
1243MCAPI uint
const& UNINITIALIZED_BLOCK_NETWORKID();
1245MCAPI ::std::array<::HashedString, 17>
const& VanillaStructureFeatureTypes();
1247MCAPI ::std::unordered_map<::std::string, ::ActorFilterGroup::LegacyMapping>& _environmentSubfilters();
1249MCAPI ::std::unordered_map<::std::string, ::ActorFilterGroup::LegacyMapping>& _legacyPredicates();
1252MCAPI ::std::unordered_map<int, ::std::string>
const& autoUpdateModeLabels();
1254MCAPI
char const*& base64Map();
1256MCAPI ::mce::Camera& camera();
1258MCAPI ::std::unordered_map<int, ::std::string>
const& chatDurationLabels();
1260MCAPI ::std::unordered_map<int, ::std::string>
const& chunkMapModeLabels();
1262MCAPI ::std::unordered_map<int, ::std::string>
const& cloudQualityLabels();
1264MCAPI ::std::unordered_map<int, ::std::string>
const& contentLogGUILevelLables();
1266MCAPI ::std::unordered_map<int, ::std::string>
const& debugHudLabels();
1268MCAPI ::std::unordered_map<int, ::std::string>
const& devConnectionQualityLabels();
1270MCAPI ::std::unordered_map<int, ::std::string>
const& devEducationServicesEnvironmentLabels();
1272MCAPI ::std::unordered_map<int, ::std::string>
const& devMarketplaceRotationSpeedMultiplierLabels();
1274MCAPI ::std::unordered_map<int, ::std::string>
const& devTimeZoneTypeLabels();
1276MCAPI ::std::unordered_map<int, ::std::string>
const& devWindowsStoreLabels();
1278MCAPI ::std::unordered_map<int, ::std::string>
const& deviceInfoMemoryTierLabels();
1280MCAPI ::std::unordered_map<int, ::std::string>
const& difficultyLabels();
1283MCAPI ::std::unordered_map<int, ::std::string>
const& discoveryEnvironmentLabels();
1285MCAPI ::std::unordered_map<::std::string, ::DiscoveryEnvironment>
const& discoveryEnvironmentStrings();
1287MCAPI ::std::unordered_map<::DiscoveryEnvironment, ::std::string>
const& discoveryEnvironments();
1289MCAPI ::std::add_lvalue_reference_t<uint[]> englishCharacterFrequencies();
1292MCAPI ::std::unordered_map<int, ::std::string>
const& exposureTechniqueLabels();
1296MCAPI ::std::vector<::std::string>& gAreaFilters();
1299MCAPI ::SubChunkDelayedDeleter<::SubChunkStorage<::Biome>>& gBiomeChunkGC();
1301MCAPI ::SubChunkDelayedDeleter<::SubChunkStorage<::Block>>& gBlockStorageGC();
1303MCAPI ::InternalTaskGroup& gInternalTaskGroup();
1305MCAPI ::SubChunkDelayedDeleter<::SubChunkBrightnessStorage>& gLightStorageGC();
1308MCAPI ::std::add_lvalue_reference_t<uchar[]> gMinecraftLogoImage();
1312MCAPI ::std::vector<::std::string>& gPriorityFilters();
1316MCAPI
double& gTotalRealWorldTime();
1318MCAPI
double& gTotalRealWorldTimeDelta();
1320MCAPI ::MainGameCore::WinMain*& gWinMainInstance();
1324MCAPI ::std::add_lvalue_reference_t<
void* (*)(uint64, uint)> g_memAllocFunc();
1326MCAPI ::std::add_lvalue_reference_t<void (*)(
void*, uint)> g_memFreeFunc();
1328MCAPI ::HCTraceImplArea& g_traceHTTPCLIENT();
1330MCAPI ::HCTraceImplArea& g_traceWEBSOCKET();
1334MCAPI ::HCTraceImplArea& g_traceXAL();
1336MCAPI ::HCTraceImplArea& g_traceXAL_TELEMETRY();
1338MCAPI ::HCTraceImplArea& g_traceXSAPI();
1340MCAPI ::std::unordered_map<int, ::std::string>
const& gameModeLabels();
1342MCAPI
char const*& gamepad_disconnected_screen();
1344MCAPI ::std::unordered_map<int, ::std::string>
const& graphicsApiLabels();
1346MCAPI ::std::unordered_map<int, ::std::string>
const& graphicsModeLabels();
1348MCAPI ::std::unordered_map<int, ::std::string>
const& graphicsQualityPresetModeLabels();
1350MCAPI
char const*& hud_screen();
1352MCAPI
char const*& idle_route();
1354MCAPI ::std::unordered_map<int, ::std::string>
const& interactionModelLabels();
1356MCAPI ::std::unordered_map<int, ::std::string>
const& joystickVisibilityOptionLabels();
1358MCAPI ::EducationServicesEnvironment& mCachedServicesEnvironment();
1360MCAPI ::std::unordered_map<int, ::std::string>
const& nethernetLoggingVerbosityLabels();
1362MCAPI ::std::unordered_map<int, ::std::string>
const& networkLoggingVerbosityLabels();
1364MCAPI ::std::unordered_map<int, ::std::string>
const& newPlayerFlowV3ABCTestGroupLabels();
1366MCAPI ::std::unordered_map<int, ::std::string>
const& newPlayerPathTutorialModeABTestGroupLabels();
1369MCAPI ::std::add_lvalue_reference_t<void (*)(
char const*, long)> notifyOutOfMemory();
1372MCAPI ::std::unordered_map<int, ::std::string>
const& partyInviteReceivedFilterLabels();
1374MCAPI ::std::unordered_map<int, ::std::string>
const& partyInviteSendPrivilegesLabels();
1376MCAPI ::std::unordered_map<int, ::std::string>
const& partyPrivacyLabels();
1378MCAPI
char const*& pause_screen();
1380MCAPI ::std::unordered_map<::std::string, int>
const& permissionsNameValuePairs();
1382MCAPI ::std::unordered_map<int, ::std::string>
const& permissionsValueLabelPairs();
1384MCAPI ::std::unordered_map<int, ::std::string>
const& permissionsValueTexturePairs();
1386MCAPI ::std::unordered_map<int, ::std::string>
const& pointLightLODingQualityLabels();
1388MCAPI ::std::unordered_map<int, ::std::string>
const& pointLightShadowQualityLabels();
1391MCAPI ::std::add_lvalue_reference_t<void (*)(
void*,
char const*, uint)> rakFree_Ex();
1393MCAPI ::std::add_lvalue_reference_t<
void* (*)(uint64,
char const*, uint)> rakMalloc_Ex();
1395MCAPI ::std::add_lvalue_reference_t<
void* (*)(
void*, uint64,
char const*, uint)> rakRealloc_Ex();
1398MCAPI ::std::unordered_map<int, ::std::string>
const& realmsEnvironmentLabels();
1400MCAPI ::std::unordered_map<int, ::std::string>
const& realmsGameModeLabels();
1402MCAPI ::std::unordered_map<int, ::std::string>
const& realmsSkuLabels();
1404MCAPI ::std::unordered_map<int, ::std::string>
const& reflectionQualityLabels();
1406MCAPI ::std::variant<::XAsyncBlock, ::XUser*>& sDefaultUser();
1410MCAPI
bool& s_AsyncLibEnablePumpingWait();
1412MCAPI ::std::atomic<uint>& s_AsyncLibGlobalStateCount();
1416MCAPI ::std::unordered_map<int, ::std::string>
const& scriptDebuggerAttachModeLabels();
1418MCAPI ::std::unordered_map<int, ::std::string>
const& shadowQualityLabels();
1420MCAPI ::std::unordered_map<int, ::std::string>
const& sneakOptionLabels();
1422MCAPI ::std::unordered_map<int, ::std::string>
const& splitScreenLabels();
1424MCAPI ::std::unordered_map<int, ::std::string>
const& startupStatisticsLabels();
1426MCAPI ::__m128i& stbir__s16_32768();
1428MCAPI ::__m128i& stbir__s32_32768();
1430MCAPI ::std::unordered_map<int, ::std::string>
const& storageLocationLabels();
1432MCAPI ::std::unordered_map<int, ::std::string>
const& subtitlePositionLabels();
1434MCAPI ::std::unordered_map<int, ::std::string>
const& sunsettingTierLabels();
1436MCAPI ::std::unordered_map<int, ::std::string>
const& suspendedConnectionBehaviorLabels();
1438MCAPI ::std::unordered_map<int, ::std::string>
const& thirdPersonLabels();
1440MCAPI ::std::unordered_map<int, ::std::string>
const& toastsDurationLabels();
1442MCAPI ::std::unordered_map<int, ::std::string>
const& tonemapTechniqueLabels();
1444MCAPI ::std::unordered_map<int, ::std::string>
const& topButtonScaleOptionLabels();
1446MCAPI ::std::unordered_map<int, ::std::string>
const& typefaceLabels();
1448MCAPI ::std::unordered_map<int, ::std::string>
const& uiProfileLabels();
1450MCAPI ::std::unordered_map<int, ::std::string>
const& upscalingModeLabels();
1452MCAPI ::std::unordered_map<int, ::std::string>
const& volumetricFogQualityLabels();
1454MCAPI ::std::unordered_map<int, ::std::string>
const& vsyncLabels();
1456MCAPI ::std::add_lvalue_reference_t<int (*)(
void*)> winrt_to_hresult_handler();
1458MCAPI ::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:73
Definition BlockState.h:14
Definition BlockType.h:84
Definition BoundingBox.h:13
Definition BribeableComponent.h:17
Definition CircuitComponentList.h:14
Definition CircuitSceneGraph.h:19
Definition CircuitTrackingInfo.h:14
Definition FileStorageArea.h:31
Definition DataDrivenGeometry.h:5
Definition DataDrivenModel.h:5
Definition DataDrivenRenderer.h:5
Definition DefinitionTrigger.h:16
Definition Dimension.h:89
Definition ExpressionNode.h:36
Definition GatheringServerInfo.h:5
Definition HashedString.h:5
Definition HitResult.h:19
Definition IClientInstance.h:5
Definition IFileAccess.h:15
Definition IOptionRegistry.h:5
Definition InternalTaskGroup.h:18
Definition ItemInstance.h:15
Definition ItemStack.h:35
Definition LevelChunk.h:87
Definition LevelData.h:55
Definition LocalPlayer.h:5
Definition PackManifest.h:38
Definition PackReport.h:17
Definition ParticleEffectComponentRegistry.h:7
Definition PositionTrackingId.h:10
Definition RakPeerInterface.h:32
Definition RecipeIngredient.h:16
Definition RedstoneTorchCapacitor.h:19
Definition ResponseVerifier.h:10
Definition ScriptSimulatedPlayer.h:38
Definition ScriptPlayer.h:56
Definition ScriptServerNetworkHandlerReference.h:14
Definition ScriptStat.h:10
Definition ModuleBindingBuilder.h:31
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:14
Definition SearchQuery.h:5
Definition SemVersionConstant.h:8
Definition IUserManager.h:7
Definition MultiplayerServiceManager.h:7
Definition StoreDataDrivenScreenController.h:5
Definition SubChunkBrightnessStorage.h:5
Definition Tessellator.h:5
Definition ThirdPartyInfo.h:8
Definition TraceState.h:5
Definition TrialManager.h:5
Definition UIPropertyBag.h:5
Definition WorkerPool.h:20
Definition WorldSeedModel.h:5
Definition function_ref.h:60
Definition _HeaderOutputPredefine.h:309
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 AnimationData.h:5
Definition SkyWeatherParameters.h:7
Definition AttachablesPreprocessingContext.h:5
Definition BakedDataDrivenRenderDataInfrequentAccess.h:5
Definition BakedRenderControllerResults.h:5
Definition DiscoveryConfig.h:7
Definition BlockLayer.h:10
Definition CloudConfiguration.h:5
Definition CommonLocTextPair.h:5
Definition ContentCatalogQueryData.h:5
Definition DataDrivenRendererDerivitiveData.h:5
Definition DataDrivenRendererPreprocessingContext.h:5
Definition DimensionType.h:5
Definition DisconnectionErrorStringOverrides.h:5
Definition DisconnectionErrorTheme.h:5
Definition DurableSearchResults.h:5
Definition FinalRenderingData.h:5
Definition FlatWorldPreset.h:15
Definition FrameAllocationCount.h:5
Definition HCTraceImplArea.h:5
Definition IMarketplacePackDownloader.h:15
Definition ImageMimeTypeEnumHasher.h:5
Definition KeyOrNameResult.h:5
Definition KineticDamageSettings.h:11
Definition MapItemSavedData.h:42
Definition MaterialAlphaModeEnumHasher.h:5
Definition ModificationOperation.h:5
Definition PackIdVersion.h:10
Definition PartVisibilityExpression.h:5
Definition PointLightShadowConfiguration.h:5
Definition ProcessedDataDrivenRenderers.h:5
Definition SystemAddress.h:7
Definition RealmsWorldInfo.h:5
Definition RenderControllerResources.h:5
Definition RequestedRenderEntries.h:5
Definition ResourceBakingResult.h:5
Definition ResourceOffset.h:5
Definition ScriptPlayerSkinData.h:17
Definition ScriptDimensionLocation.h:18
Definition ScriptInvalidActorError.h:18
Definition EngineError.h:15
Definition InvalidArgumentError.h:17
Definition SentryEnvelopePayloadStacktraceFrame.h:10
Definition ShadowConfiguration.h:5
Definition BaseGoalDefinition.h:12
Definition TextProcessingEventOriginEnumHasher.h:5
Definition WorkerConfiguration.h:8
Definition WorldTemplateInfo.h:16
Definition ReflectionCtx.h:11
Definition PerCascadeRenderingParameters.h:7
Definition RenderBatchActorInstanceDescription.h:7
Definition ShadowRange.h:7
Definition srtp_auth_t.h:5