LeviLamina
Loading...
Searching...
No Matches
Globals.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
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"
79
80// auto generated forward declare list
81// clang-format off
82class AABB;
83class Actor;
85class Biome;
86class BiomeArea;
87class Block;
88class BlockPos;
89class BlockSource;
90class BlockState;
92class BlockType;
93class BoundingBox;
98class CommandOutput;
99class DateManager;
101class Dimension;
102class ExpressionNode;
103class FeatureRegistry;
105class HashedString;
106class HitResult;
107class I18n;
108class IAppPlatform;
109class IFileAccess;
110class ILevel;
113class ItemInstance;
114class ItemStack;
116class LevelChunk;
117class LevelData;
118class ListTag;
119class PackManifest;
120class PackReport;
121class RecipeIngredient;
123class ResponseVerifier;
124class ScriptStat;
128class ThirdPartyInfo;
129class Vec3;
130class WorkerPool;
134struct BlockLayer;
137struct FlatWorldLayer;
138struct FlatWorldPreset;
139struct HCTraceImplArea;
141struct KeyOrNameResult;
143struct MCRESULT;
145struct PackIdVersion;
151struct WorldTemplateInfo;
152struct XAsyncBlock;
153struct srtp_auth_t;
154namespace Bedrock { class StaticOptimizedString; }
155namespace Bedrock { class WorkerPoolHandleInterface; }
156namespace Bedrock::Http { class Status; }
157namespace Bedrock::Services { class IDiscoveryService; }
158namespace Bedrock::Services { struct DiscoveryConfig; }
159namespace Core { class File; }
160namespace Core { class FileStorageArea; }
161namespace Core { class Path; }
162namespace Core { class PathView; }
163namespace Core { class Result; }
164namespace Json { class Reader; }
165namespace Json { class Value; }
166namespace RakNet { class RakPeerInterface; }
167namespace RakNet { struct RakPeerConfiguration; }
168namespace ScriptModuleGameTest { class ScriptSimulatedPlayer; }
169namespace ScriptModuleGameTest { struct ScriptPlayerSkinData; }
170namespace ScriptModuleMinecraft { class ScriptPlayer; }
171namespace ScriptModuleMinecraft { struct ScriptDimensionLocation; }
172namespace ScriptModuleMinecraft { struct ScriptInvalidActorError; }
173namespace Scripting { class WeakLifetimeScope; }
174namespace Scripting { struct EngineError; }
175namespace Scripting { struct InvalidArgumentError; }
176namespace SharedTypes::v1_21_20::JigsawStructureTemplatePool { struct EmptyPoolElement; }
177namespace SharedTypes::v1_21_20::JigsawStructureTemplatePool { struct SinglePoolElement; }
178namespace Social { class IUserManager; }
179namespace cereal { struct ReflectionCtx; }
180namespace mce { class UUID; }
181class TraceState;
182struct HC_CALL;
185class DataDrivenModel;
187class ExprToken;
188class IClientInstance;
189class LocalPlayer;
190class SearchQuery;
192class Tessellator;
193class TrialManager;
194class UIControl;
195class UIPropertyBag;
196class WorldSeedModel;
199struct AnimationData;
203struct CloudConfiguration;
204struct CommonLocTextPair;
208struct DateRange;
214struct FinalRenderingData;
222struct RealmsWorldInfo;
226struct ResourceOffset;
227struct SharedUniformPhase;
228namespace MainGameCore { class WinMain; }
229namespace ParticleSystem { class ParticleEffectComponentRegistry; }
230namespace Social { class MultiplayerServiceManager; }
231namespace cohtml { class Binder; }
232namespace mce { class Camera; }
233namespace mce::framebuilder { class FrameBuilder; }
234namespace mce::framebuilder { struct PerCascadeRenderingParameters; }
235namespace mce::framebuilder { struct RenderBatchActorInstanceDescription; }
236namespace mce::framebuilder { struct ShadowRange; }
237// clang-format on
238
239// functions
240// NOLINTBEGIN
241MCAPI void BedrockLogOut(uint, char const*, ...);
242
243#ifdef LL_PLAT_C
244MCAPI void CoherentBind(::cohtml::Binder* binder, ::Vec3* data);
245
246MCAPI void CoherentBind(::cohtml::Binder* binder, ::FlatWorldLayer* layer);
247
248MCAPI void CoherentBind(::cohtml::Binder* binder, ::FlatWorldPreset* options);
249
250MCAPI void CoherentBind(::cohtml::Binder* binder, ::RealmsWorldInfo* realmsWorldInfo);
251
252MCAPI void CoherentBind(::cohtml::Binder* binder, ::WorldSeedModel* seedTemplate);
253
254MCAPI void CoherentBind(::cohtml::Binder* binder, ::WorldTemplateInfo* worldTemplateInfo);
255#endif
256
257MCAPI ::CreativeItemCategory
258CreativeItemCategoryComprehensiveToRuntime(::SharedTypes::v1_21_110::ItemCategory::CreativeItemCategory category);
259
260MCAPI ::CreativeItemCategory CreativeItemCategoryFromString(::std::string const& str);
261
262#ifdef LL_PLAT_S
263MCAPI void* DefaultMemAllocFunction(uint64 size, uint memoryType);
264
265MCFOLD void DefaultMemFreeFunction(void* pointer, uint memoryType);
266#endif
267
268#ifdef LL_PLAT_C
269MCAPI void DiscardData();
270#endif
271
272#ifdef LL_PLAT_S
273MCAPI bool DoesMockCallMatch(::HC_CALL const* mockCall, ::HC_CALL const* originalCall);
274#endif
275
276MCAPI ::HashedString const& EntityCanonicalName(::ActorType entityType);
277
278MCAPI ::ActorType EntityTypeFromString(::std::string const& str);
279
280MCAPI ::std::string EntityTypeToFormattedLocString(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
281
282MCAPI ::std::string EntityTypeToLocString(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
283
284MCAPI ::std::string EntityTypeToString(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
285
286MCAPI void EntityTypeToStringAndNamespace(::ActorType entityType, ::std::string& nameOut, ::std::string& namespaceOut);
287
288MCAPI double GetEngagementMetricsTimeSinceAppStart_DEPRECATED();
289
290#ifdef LL_PLAT_S
291MCAPI ::TraceState& GetTraceState();
292#endif
293
294#ifdef LL_PLAT_C
295MCAPI long InitializeGameRuntimeDll(uint64 flags, ::_INITIALIZE_OPTIONS* const options);
296
297MCAPI long LoadGameRuntimeDll();
298#endif
299
300#ifdef LL_PLAT_S
301MCAPI ::std::optional<::LogLevel> LogLevelFromString(::std::string const& str);
302#endif
303
304MCAPI ::MaterialType MaterialTypeFromString(::std::string const& materialType);
305
306#ifdef LL_PLAT_S
307MCAPI bool Mock_Internal_HCHttpCallPerformAsync(::HC_CALL* originalCall);
308
309MCAPI long Mock_Internal_ReadRequestBodyIntoMemory(
310 ::HC_CALL* originalCall,
311 ::std::vector<uchar, ::http_stl_allocator<uchar>>* bodyBytes
312);
313#endif
314
315#ifdef LL_PLAT_C
316MCAPI void NGXInvalidParameterHandler(
317 wchar_t const* expression,
318 wchar_t const* function,
319 wchar_t const* file,
320 uint line,
321 uint64 pReserved
322);
323
324MCAPI bool NGXSafeInitializeLog(wchar_t const* InPathToValidate, wchar_t const* InFileName);
325#endif
326
327#ifdef LL_PLAT_S
328MCAPI ::std::optional<::NetherNet::LogSeverity> NetherNetLogSeverityFromString(::std::string const& str);
329#endif
330
331MCAPI ::PackType PackTypeFromString(::std::string const& value);
332
333#ifdef LL_PLAT_S
334MCAPI void PlatformBedrockLogOut(uint _priority, char const* buf, uint64 nullTerminatorPos);
335#endif
336
337MCAPI void PushCircularReference(
338 ::std::unordered_map<::BlockPos, ::RedstoneTorchCapacitor*>& relatedTorches,
339 ::BlockPos const& pos,
340 ::std::queue<::RedstoneTorchCapacitor*, ::std::deque<::RedstoneTorchCapacitor*>>& list
341);
342
343#ifdef LL_PLAT_C
344MCAPI bool ReadJpegFile(::Core::Path const& fileName, int readMode);
345
346MCAPI int ReadJpegSections(::Core::File& infile, int readMode);
347
348MCAPI void ResetJpgfile();
349#endif
350
351MCAPI ::std::string StringFromMaterialType(::MaterialType const& materialType);
352
353MCAPI ::std::string const& StringFromPackType(::PackType value);
354
355#ifdef LL_PLAT_C
356MCAPI ::edu::Role StringToADRole(::std::string const& str);
357
358MCFOLD uint StringToNameId(::std::string const& name);
359#endif
360
361MCAPI ::SharedTypes::Legacy::UseAnimation UseAnimationFromString(::std::string const& str);
362
363#ifdef LL_PLAT_C
364MCAPI int64 WndProc(::HWND__* hwnd, uint uMsg, uint64 wParam, int64 lParam);
365
366MCAPI ::Bedrock::Result<::XUser*> XUserGetDefaultHandle_Blocking();
367
368MCAPI ::Bedrock::Threading::Async<::ContentCatalogQueryData::Done> _addCatalogItemsFromSearch(
369 ::SearchQuery const& query,
370 ::DurableSearchResults const& response,
371 ::std::shared_ptr<::ContentCatalogQueryData> request
372);
373#endif
374
375MCAPI void _addEnvironmentSubfilter(
376 ::std::string const& legacyPredicate,
377 ::FilterGroup::CollectionType type,
378 ::std::string const& filterName,
379 ::SharedTypes::Legacy::FilterSubject subject,
380 ::FilterOperator op,
381 ::ActorFilterGroup::Processing process
382);
383
384MCAPI void _addLegacyFilterDefinition(
385 ::std::string const& legacyPredicate,
386 ::FilterGroup::CollectionType type,
387 ::std::string const& filterName,
388 ::SharedTypes::Legacy::FilterSubject subject,
389 ::FilterOperator op,
390 ::ActorFilterGroup::Processing process
391);
392
393#ifdef LL_PLAT_C
394MCAPI ::ShadowRenderingParameters::ShadowMap _calculateCascade(
395 float fov,
396 float aspectRatio,
397 float resolution,
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,
406 float zNear,
407 float maxShadowFrustumRadius,
409);
410#endif
411
412MCAPI void _checkTickedActorsForOutOfWorld(::ActorOwnerComponent& actorOwnerComponent);
413
414#ifdef LL_PLAT_C
415MCAPI ::glm::vec3 _clampShadowAngle(::glm::vec3 const& lightDir, ::glm::vec3 const& up, float shadowClampAngle);
416#endif
417
418MCAPI ::std::unique_ptr<::ListTag> _createBlockStateEnum(::BlockState const& state);
419
420MCAPI uint _facingToVineDirection(uchar facing);
421
422#ifdef LL_PLAT_C
423MCAPI int _findNextIndex(::std::vector<::std::shared_ptr<::UIControl>>& tabControls, int originIndex, bool right);
424
425MCAPI void _forEachObject(
426 ::Json::Value& value,
427 ::brstd::function_ref<void(::Json::Value&, ::std::string_view, ::Json::Value&)> callback
428);
429
430MCFOLD ::std::vector<::BlockPos> _generateChunkStartPositions(::AABB const& area);
431
432MCAPI ::std::vector<int> const _getRenderDistanceLevels(int& defaultDistanceIdx, bool isVR);
433#endif
434
435MCAPI ::ScatterParamsMolangVariableIndices& _getScatterParamsMolangVariableIndices();
436
437#ifdef LL_PLAT_C
438MCAPI void _handleFetchedImageResponseData(
439 ::std::shared_ptr<::ContentCatalogQueryData> request,
440 ::Core::Path const& iconPath,
441 ::std::unique_ptr<::PackManifest> manifestPtr,
442 ::Bedrock::Http::Status const& status,
443 uint64 fileSize
444);
445
446MCAPI bool _haveSameScrollSection(::std::weak_ptr<::UIControl> const& a, ::std::weak_ptr<::UIControl> const& b);
447
448MCAPI bool
449_isRenderingAttachableItem(::BaseActorRenderContext& renderContext, ::Actor& entity, ::ItemStack const& item);
450
451MCAPI ::Bedrock::Threading::Async<::ContentCatalogQueryData::Done>
452_loadAllCatalogItems(::std::shared_ptr<::ContentCatalogQueryData> request);
453#endif
454
455MCAPI ::Block const* _loadLayerBlock(::Json::Value const& layer);
456
457MCAPI ::std::optional<::BlockPos> _locateBiome(
458 ::std::function<bool(::Biome const&)> const& predicate,
459 ::BiomeArea const& biomeArea,
460 ::BlockPos worldCenter,
461 ::BoundingBox worldBounds,
462 uint resolution
463);
464
465MCAPI ::std::optional<::std::vector<::BlockLayer>>
466_parseLayersV3(::Json::Value const& root, ::LevelData const& levelData);
467
468MCAPI ::std::optional<::std::vector<::BlockLayer>>
469_parseLayersV4(::Json::Value const& root, ::LevelData const& levelData);
470
471MCAPI ::std::optional<::std::vector<::BlockLayer>>
472_parseLayersV5(::Json::Value const& root, ::LevelData const& levelData);
473
474MCAPI ::std::optional<::std::vector<::BlockLayer>>
475_parseLayersV6(::Json::Value const& root, ::LevelData const& levelData, ::WorldVersion worldVersion);
476
477#ifdef LL_PLAT_C
478MCAPI ::glm::vec3 _quantizeLightDirection(float angle, float perpendicularAngle, int step);
479
480MCAPI void _reflectCausticsParameters(::cereal::ReflectionCtx& ctx);
481#endif
482
483MCAPI ::std::unique_ptr<::ListTag> _saveBlockList(::std::vector<::BlockType const*> const& blockList);
484
485#ifdef LL_PLAT_C
486MCAPI void _searchBlockByCameraCenter(
487 ::Actor const& cameraEntity,
488 float a,
489 ::LocalPlayer& player,
490 ::Vec3& pickDirection,
491 float pickRange,
492 ::HitResult& hitResult,
493 ::HitResult& liquidHitResult
494);
495
496MCAPI bool _searchBlockByFreeFormPick(
497 ::IClientInstance& client,
498 ::mce::Camera const&,
499 float a,
500 ::Vec3& outSrc,
501 ::Vec3& outDir,
502 ::HitResult& hitResult,
503 ::HitResult& liquidHitResult
504);
505
506MCAPI ::glm::vec3
507_snapToTexel(::glm::vec3 const& position, ::glm::mat4x4 const& matrixW2L, ::glm::mat4x4 const& matrixL2W);
508
509MCAPI bool _stringLessThan(::std::string const& str1, ::std::string const& str2);
510#endif
511
512MCAPI void
513_tickBribeableComponent(::ActorOwnerComponent& actorOwnerComponent, ::BribeableComponent& bribeableComponent);
514
515#ifdef LL_PLAT_C
516MCAPI ::Destination addExpressionOrConstantResources(
517 ::std::vector<float>& constantBuffer,
518 ::std::vector<::ExpressionNode>& expressionBuffer,
519 ::ExpressionNode const& expr,
520 char const* defaultExpression,
521 float defaultValue
522);
523
524MCAPI void applyAnimations(
525 ::RequestedRenderEntries const& entries,
526 ::AnimationData const& animationData,
527 ::std::vector<::glm::mat4x4>& boneList,
528 ::BaseActorRenderContext& renderContext,
529 ::gsl::span<::mce::framebuilder::RenderBatchActorInstanceDescription const> actorDescriptions
530);
531
532MCAPI void bakeAttachable(::std::shared_ptr<::DataDrivenRenderer> renderer, ::AttachablesPreprocessingContext& ctx);
533
534MCAPI void bakeDataDrivenRenderer(
535 ::std::weak_ptr<::DataDrivenModel> weakModelPtr,
536 ::ExtractedDataDataDrivenModel const& extractedData,
538);
539
540MCAPI ushort bakeGeneratedDraws(
541 ::ExtractedDataDataDrivenModel const& extractedData,
542 uint geoIdx,
543 ::std::vector<::std::string> const& materialRegex,
544 ::std::vector<::std::string> const& partVisibilityRegex,
546);
547
548MCAPI ::BakedRenderControllerResults bakeRenderController(
549 ::ExtractedDataDataDrivenModel const& extractedData,
550 ::ExtractedRenderController const& renderController,
552);
553
554MCAPI ::ResourceBakingResult bakeResourceOffsets(
555 ::ExtractedDataDataDrivenModel const& extractedData,
556 ::ExtractedRenderController const& renderController,
557 ::RenderControllerResources& rcResources
558);
559#endif
560
561MCAPI void bindCreativeItemCategoryType(::cereal::ReflectionCtx& ctx);
562
563MCAPI void bindMaterialType(::cereal::ReflectionCtx& ctx);
564
565MCAPI char const* blockSlotToString(::BlockSlot slot);
566
567MCAPI ::KeyOrNameResult
568buildActorDisplayName(::ActorType actorType, ::std::string const& nameTag, ::Actor const* actor);
569
570#ifdef LL_PLAT_C
571MCAPI void calculateTileLighting(
572 ::GameplayRelatedRenderData const& worldData,
573 ::ActorDerivitiveData const& actorData,
574 ::DataDrivenRendererDerivitiveData const& dataDrivenRendererData,
575 ::RequestedRenderEntries const& entries,
576 ::ProcessedDataDrivenRenderers const& resources,
577 ::FinalRenderingData& finalRenderData
578);
579#endif
580
581MCAPI void checkComponent(
582 ::CircuitSceneGraph& graph,
583 ::CircuitComponentList& powerAssociationMap,
584 ::CircuitComponentType typeId,
585 uchar id,
586 ::BlockPos const& otherPos,
588 ::std::queue<::CircuitTrackingInfo, ::std::deque<::CircuitTrackingInfo>>& positions,
589 bool goingDown
590);
591
592#ifdef LL_PLAT_C
593MCAPI bool checkMinMaxClientVer(::Json::Value const& documentObject, bool pascalCase);
594
595MCAPI bool checkMinMaxClientVer(::std::string const& minClientVersion, ::std::string const& maxClientVersion);
596#endif
597
598MCAPI bool checkTypeFilter(
599 ::ActorDefinitionIdentifier const& entityIdentifier,
600 ::ActorDefinitionIdentifier const& identifierFilter
601);
602
603#ifdef LL_PLAT_C
604MCAPI void clearBakedTextures(
605 ::BakedDataDrivenRenderDataInfrequentAccess const& bakedInfrequentData,
607);
608#endif
609
610MCAPI void compoundBlockVolumeActionBindType(::cereal::ReflectionCtx& ctx);
611
612MCAPI void compoundBlockVolumePositionRelativityBindType(::cereal::ReflectionCtx& ctx);
613
614MCAPI ::TorchFacing convertTorchDirection(::Facing::Name facing);
615
616#ifdef LL_PLAT_C
617MCAPI ::std::unique_ptr<::RakNet::RakPeerInterface, void (*)(::RakNet::RakPeerInterface*)> createDefaultUniqueRakPeer();
618
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
625);
626
627MCAPI ::ExprToken createTokenFromUIDefVal(::Json::Value const& resVal);
628#endif
629
630MCAPI ::std::unique_ptr<::RakNet::RakPeerInterface, void (*)(::RakNet::RakPeerInterface*)>
631createUniqueRakPeer(::RakNet::RakPeerConfiguration const& config);
632
633MCAPI ::Bedrock::NonOwnerPointer<::WorkerPool> createWorkerPool(
634 ::std::string_view name,
635 ::WorkerConfiguration const& config,
636 ::std::shared_ptr<::Bedrock::WorkerPoolHandleInterface>& destHandle
637);
638
639#ifdef LL_PLAT_C
640MCAPI ::std::unique_ptr<::IWorldTransferHandler> createWorldTransferHandler();
641
642MCAPI ::UIDefType defTypeFromString(::std::string const& str);
643
644MCAPI ::std::string discoveryEnvironmentToString(::DiscoveryEnvironment const& environment);
645
646MCAPI ::std::string dlcCheckerResultToString(::DlcCheckResult result);
647
648MCAPI void emplaceMatchedBoneIndex(
649 ::std::string const& boneName,
650 uint64 boneIdx,
651 ::std::vector<::std::string> const& regexArray,
652 ::std::vector<::std::vector<uint64>>& indices
653);
654
655MCAPI void executeOnPrimaryUserStorageArea(
656 ::std::function<void(::std::shared_ptr<::Core::FileStorageArea>)> onSuccess,
657 ::std::function<void()> onFailure
658);
659#endif
660
661MCAPI ::srtp_err_status_t external_crypto_init();
662
663MCAPI ::srtp_err_status_t external_hmac_alloc(::srtp_auth_t** a, int key_len, int out_len);
664
665MCAPI ::srtp_err_status_t external_hmac_compute(void*, uchar const*, int, int tag_len, uchar* result);
666
667MCAPI ::srtp_err_status_t external_hmac_dealloc(::srtp_auth_t* a);
668
669MCAPI ::srtp_err_status_t external_hmac_init(void* state, uchar const* key, int key_len);
670
671MCFOLD ::srtp_err_status_t external_hmac_start(void*);
672
673MCFOLD ::srtp_err_status_t external_hmac_update(void*, uchar const*, int);
674
675#ifdef LL_PLAT_C
676MCAPI ::std::optional<::ExtractedDataDataDrivenModel>
677extractModelData(::HashedString const& name, ::std::shared_ptr<::DataDrivenRenderer> rendererPtr);
678
679MCAPI ::ExtractedSkeletonData extractSkeleton(::DataDrivenGeometry const& geo);
680#endif
681
682MCAPI int fclose(::Core::File& file);
683
684#ifdef LL_PLAT_C
685MCAPI int fgetc(::Core::File& infile);
686
687MCAPI void fillLangValue(
688 ::std::string const& jsonFieldStr,
689 ::std::string const& langCode,
690 ::std::string const& modifiedCode,
691 ::Json::Value const& documentObject,
692 bool pascalCase,
693 ::CommonLocTextPair& locTextPairToFill,
694 ::std::unordered_map<::std::string, ::std::string>& locDictionary
695);
696
697MCAPI void fillPackIdentityListFromJson(
698 ::std::vector<::PackIdVersion>& packIdentityListToFill,
699 ::Json::Value const& packIdentitiesJsonArray
700);
701
702MCAPI void findInvalidControls(
703 ::Json::Value& root,
704 ::std::vector<::std::string>& foundInvalidControls,
705 ::PackReport& packReport,
706 ::std::string const& fileName
707);
708#endif
709
710MCAPI ::std::optional<::FlatWorldPresetID> flatWorldPresetIDFromString(::std::string const& str);
711
712#ifdef LL_PLAT_C
713MCAPI ::std::string_view flatWorldPresetIDToString(::FlatWorldPresetID id);
714
715MCAPI int fputc(int c, ::Core::File& infile);
716#endif
717
718MCAPI uint64 fread(void* buffer, uint64 size, uint64 count, ::Core::File& file);
719
720MCAPI ::std::tuple<::std::string, ::std::unique_ptr<::StructurePoolElement>> from(
722 ::Bedrock::NotNullNonOwnerPtr<::IStructureTemplateManager> structureManager,
724 ::FeatureRegistry const&
725);
726
727MCAPI ::std::tuple<::std::string, ::std::unique_ptr<::StructurePoolElement>> from(
729 ::Bedrock::NotNullNonOwnerPtr<::IStructureTemplateManager> structureManager,
731 ::FeatureRegistry const&
732);
733
734MCAPI ::std::tuple<::std::string, ::std::unique_ptr<::StructurePoolElement>> from(
735 ::std::variant<
738 ::Bedrock::NotNullNonOwnerPtr<::IStructureTemplateManager> structures,
740 ::FeatureRegistry const& features
741);
742
743MCAPI int fseek(::Core::File& file, int64 offset, int origin);
744
745MCAPI int64 ftell(::Core::File& file);
746
747MCAPI uint64 fwrite(void const* buffer, uint64 size, uint64 count, ::Core::File& file);
748
749#ifdef LL_PLAT_C
750MCAPI void gameplayValueGeneration(
751 ::FrameAllocationCount const& counts,
752 ::ActorDerivitiveData const& actorData,
753 ::DataDrivenRendererDerivitiveData const& dataDrivenRendererData,
754 ::RequestedRenderEntries const& entries,
755 ::ProcessedDataDrivenRenderers const& resources,
756 ::FinalRenderingData& finalRenderData,
757 ::SharedUniformPhase& uniformPhase
758);
759#endif
760
761MCAPI ::std::string gatherTypeStrings(::std::vector<::Json::ValueType> const& types);
762
763#ifdef LL_PLAT_C
764MCAPI ::ResourceOffset generateExpressionOffset(
765 ::ExpressionNode&& expression,
766 ::ExpressionOp expectedOperator,
767 ::std::vector<::ExpressionNode>& outputExpressionList
768);
769
770MCAPI void
771generatePreviousTransformationStreams(::PreviousTransformationInput const&& in, ::PreviousTransformationOutput&& out);
772
773MCAPI ::std::_Vector_const_iterator<::std::_Vector_val<::std::_Simple_types<::DateRange>>> const
774getActiveDateRange(::std::vector<::DateRange> const& dateRangesToSearch, ::DateManager const& dateManager);
775#endif
776
777MCAPI ::ActorHealCause getActorHealCause(::AttributeBuffType buffType);
778
779#ifdef LL_PLAT_C
780MCAPI ::std::string
781getAnchorPointFromDirectionAndAnchor(::GameTip::ArrowDirection direction, ::GameTip::ArrowAnchor anchor);
782#endif
783
784#ifdef LL_PLAT_S
785MCAPI ::std::string getCPUName();
786#endif
787
788#ifdef LL_PLAT_C
789MCAPI ::std::shared_ptr<::UIControl> getControlBreadthFirst(::UIControl* scope, ::std::string name);
790
791MCAPI ::std::shared_ptr<::UIControl> getControlFromAncestors(::UIControl* scope, ::std::string name);
792
793MCAPI float getControlVariableValue(::UIControl& control, ::LayoutVariableType type);
794
795MCAPI void getControlsInternal(
796 ::std::vector<::std::shared_ptr<::UIControl>>& result,
797 ::std::function<bool(::UIControl const&)> predicate,
798 ::UIControl& control
799);
800#endif
801
802MCAPI ::std::string getDiscoveryServiceURL(::DiscoveryEnvironment environment);
803
804#ifdef LL_PLAT_C
805MCAPI ::Json::Value const& getDisplayProperties(::Json::Value const& resultObject, bool pascalCase);
806#endif
807
808MCAPI ::std::string const getEdition();
809
810MCAPI ::Bedrock::FileType getFileType(::Core::PathView filePath, ::IFileAccess& fileAccess);
811
812#ifdef LL_PLAT_C
813MCAPI void getFirstControlInternal(
814 ::std::shared_ptr<::UIControl>& result,
815 ::std::function<bool(::UIControl const&)> const& predicate,
816 ::UIControl& control
817);
818
819MCAPI void getFirstVisibleControlInternal(
820 ::std::shared_ptr<::UIControl>& result,
821 ::std::function<bool(::UIControl const&)> const& predicate,
822 ::UIControl& control
823);
824#endif
825
826MCAPI ::std::unordered_map<::FlatWorldPresetID, ::FlatWorldPreset> const& getFlatWorldPresets();
827
828MCAPI ::I18n& getI18n();
829
830#ifdef LL_PLAT_C
831MCAPI ::std::vector<::PackIdVersion> getJsonPackIdVersion(::Json::Value const& objectArray);
832#endif
833
834MCAPI ::std::string getJsonTypeString(::Json::ValueType const& type);
835
836MCAPI ::std::unordered_map<int, ::std::string> const& getPackParseErrorTypeEventMapAccess();
837
838MCAPI ::std::unordered_map<int, ::std::string> const& getPackParseErrorTypeLOCMapAccess();
839
840MCAPI ::Scripting::Result<
844getPlayerSkin(::ScriptModuleMinecraft::ScriptPlayer const& player);
845
846#ifdef LL_PLAT_C
847MCAPI ::Core::Result getPrimaryUserStorageArea(::std::shared_ptr<::Core::FileStorageArea>& sptStorageArea);
848
849MCAPI void getPropertyValue(::std::string_view value, ::ExprToken& tok, ::UIPropertyBag* bag);
850
851MCAPI ::std::string getScreenshotTextureFileSystemFromBag(
852 int index,
853 ::UIPropertyBag& bag,
854 int offset,
856);
857
858MCAPI ::std::string
859getScreenshotTextureFromBag(int index, ::UIPropertyBag& bag, int offset, ::StoreDataDrivenScreenController& controller);
860
861MCAPI ::SubChunk::SubChunkState getSubChunkState(::LevelChunk& levelChunk, short absoluteIndex);
862
863MCAPI void getVisibleControlsInternal(::std::function<void(::UIControl&)> const& action, ::UIControl& control);
864#endif
865
866MCAPI ::AllWorkerConfigurations getWorkerConfiguration(uint highPowerCores, uint totalCores);
867
868MCAPI bool isChunkAtStage(::std::weak_ptr<::LevelChunk> lcwp, ::ChunkState stateToCheck);
869
870MCAPI int itemVarientFromString(::std::string const& str);
871
872MCAPI ::std::string join(::std::string prefix, ::std::string_view chunkKey);
873
874MCAPI ::std::string join(::std::string_view prefix, ::LevelChunkTag tag);
875
876MCAPI ::std::string join(::std::string_view prefix, ::LevelChunkTag tag, uint i);
877
878#ifdef LL_PLAT_C
879MCAPI ::glm::vec3 lerpCoefficients(float normalizedDensityIndex, ::gsl::span<::glm::vec3 const> coefficientData);
880
881MCAPI ::std::string makeGuestDisplayName(::std::string const& hostName, ::SubClientId subclientId);
882#endif
883
884MCAPI ::mce::UUID makeGuestUUID(::mce::UUID const& hostUuid, ::SubClientId subclientId);
885
886MCAPI ::mce::UUID makePlayerUUIDForXUID(::std::string const& xuid);
887
888#ifdef LL_PLAT_S
889MCAPI ::std::shared_ptr<::Bedrock::Services::IDiscoveryService>
890makeServerDiscoveryService(::Bedrock::Services::DiscoveryConfig const& discoveryConfig);
891#endif
892
893#ifdef LL_PLAT_C
894MCAPI void mergeControls(
895 ::Json::Value& rootControl,
896 ::Json::Value const& control,
897 ::PackReport& packReport,
898 ::std::multiset<::ModificationOperation, ::std::less<::ModificationOperation>>& modifications,
899 ::std::unordered_map<::std::string, ::std::string> const& topLevelNames,
900 ::std::string const& fileName,
901 int packIndex
902);
903
904MCAPI int nvFPrintf(::_iobuf*, char const*, ...);
905
906MCAPI int nvSWprintf(wchar_t*, uint64, wchar_t const*, ...);
907
908MCAPI int nvSprintf(char*, uint64, char const*, ...);
909
910MCAPI ::std::ostream& operator<<(::std::ostream& os, ::cg::TextureSetLayerType const& type);
911
912MCAPI ::std::string pascalCaseConverter(::std::string const& inString, bool pascalCase);
913
914MCAPI ::ActorAttachableDerivitiveData processActorAttachables(
915 ::RequestedRenderEntries const& renderEntries,
916 ::ProcessedDataDrivenRenderers const& resources,
917 bool lessThanOrEqualToVersion_1_16_210
918);
919
920MCAPI ::ActorDerivitiveData processActors(
921 ::RequestedRenderEntries const& renderEntries,
922 ::BaseActorRenderContext const& entityContext,
923 ::Vec3 cameraTargetPos,
924 ::ProcessedDataDrivenRenderers const& resources,
925 ::std::vector<::mce::framebuilder::RenderBatchActorInstanceDescription>& actorDescriptions,
926 ::FrameAllocationCount& frameCount
927);
928
929MCAPI ::DataDrivenRendererDerivitiveData processDataDrivenRenderers(
930 ::RequestedRenderEntries const& renderEntries,
931 ::FrameAllocationCount const& frameCounts,
932 ::ProcessedDataDrivenRenderers const& resources,
934 ::AnimationData& animData
935);
936
937MCAPI void
938registerBedrockEffectComponents(::ParticleSystem::ParticleEffectComponentRegistry& particleComponentRegistry);
939
940MCAPI void renderAttachables(
941 ::RequestedRenderEntries const& renderEntries,
942 ::ActorAttachableDerivitiveData const& attachableData,
943 ::FinalRenderingData const& finalRenderingData,
944 ::BaseActorRenderContext& renderContext,
945 ::ProcessedDataDrivenRenderers const& resources
946);
947
948MCAPI ::mce::framebuilder::FrameBuilder* renderDragonFrameBuilder();
949
950MCAPI void renderLeash(::std::vector<::Actor*> const& leashedActors, ::BaseActorRenderContext& ctx);
951#endif
952
953MCAPI void renderMapChunk(
954 ::Dimension& dimension,
956 uint scale,
957 ::BlockPos const& origin,
959);
960
961#ifdef LL_PLAT_C
962MCAPI void renderTempComponents(
963 ::RequestedRenderEntries const& entries,
965 ::ProcessedDataDrivenRenderers const& resources,
966 ::AnimationData const& animationData,
967 ::FinalRenderingData const& finalRenderingData
968);
969
970MCAPI void reportParseError(::std::string const& fileName, ::Json::Reader& reader);
971
972MCAPI void separateEntityStreams(
973 ::DataDrivenRendererDerivitiveData const& dataDrivenRendererData,
974 ::RequestedRenderEntries const& entries,
975 ::FrameAllocationCount& frameCount,
976 ::ProcessedDataDrivenRenderers const& resources,
977 ::FinalRenderingData& finalRenderData,
978 ::AnimationData& animData
979);
980#endif
981
982MCAPI bool setBlockStates(
983 ::Block const** block,
984 ::std::vector<::BlockStateCommandParam> const& blockStates,
985 ::CommandOutput& output
986);
987
988#ifdef LL_PLAT_C
989MCAPI ::ui::DirtyFlag setControlVariableValue(
990 ::UIControl& control,
991 ::LayoutVariableType type,
992 float inValue,
993 float inMinValue,
994 float inMaxValue
995);
996
997MCAPI void setRegexIndexByBoneIndex(
998 ::std::string const& boneName,
999 uint64 boneIdx,
1000 ::std::vector<::std::string> const& regexArray,
1001 ::std::vector<ushort>& indices
1002);
1003
1004MCAPI void setupAttachables(
1005 ::RequestedRenderEntries const& renderEntries,
1006 ::ActorAttachableDerivitiveData const& attachableData,
1007 ::AnimationData const& animationData,
1008 ::ProcessedDataDrivenRenderers const& resources
1009);
1010
1011MCAPI bool shouldConnectToSideOrBelow(::BlockSource& region, ::BlockPos const& pos, ::Direction::Type dir);
1012
1013MCAPI bool shouldRenderAnyAttachables(
1014 bool modelAttachablesAreEnabled,
1015 ::Actor& actor,
1016 bool lessThanOrEqualToVersion_1_16_210,
1017 bool hideArmor
1018);
1019#endif
1020
1021MCAPI ::Scripting::Result<
1024spawnSimulatedPlayer(
1025 ::Scripting::WeakLifetimeScope const& scope,
1027 ::std::string const& name,
1028 ::GameType gameMode
1029);
1030
1031#ifdef LL_PLAT_S
1032MCAPI ::DiscoveryEnvironment stringToDiscoveryEnvironment(::std::string const& str);
1033#endif
1034
1035#ifdef LL_PLAT_C
1036MCAPI void submitActors(
1037 ::GameplayRelatedRenderData const& gameplayData,
1038 ::FinalRenderingData const& finalRenderingData,
1039 bool needAGFXStream
1040);
1041
1042MCAPI bool supportsDataDrivenRenderer(
1043 ::HashedString const& name,
1044 ::DataDrivenModel const& model,
1045 ::DataDrivenRenderer const& renderer,
1046 ::ExtractedDataDataDrivenModel const& modelData
1047);
1048
1049MCAPI ::TerrainVariation terrainVariationFromString(::std::string_view terrainVariation);
1050
1051MCAPI void tessellateThickWireBox(::BaseActorRenderContext& renderContext, ::Tessellator& t, ::AABB const& bb);
1052
1053MCAPI void tessellateWireBox(::Tessellator& tessellator, ::AABB const& bb);
1054#endif
1055
1056MCAPI ::ItemInstance toItemInstance(::RecipeIngredient const& ingredient);
1057
1058MCAPI ::leveldb::Status toLevelDbStatus(::Bedrock::Result<void>&& result);
1059
1060#ifdef LL_PLAT_C
1061MCAPI ::std::string toString(::NetworkConnectionType connectionType);
1062#endif
1063
1064MCAPI ::std::string toString(::AgentActionType type);
1065
1066#ifdef LL_PLAT_C
1067MCAPI ::std::optional<uint> tryCreateDataDrivenV2Resource(
1068 ::HashedString const& name,
1069 ::std::shared_ptr<::DataDrivenRenderer> const& render,
1071);
1072#endif
1073
1074MCAPI ::std::optional<::std::locale> tryGetLocaleFromName(::std::string const& localeName);
1075
1076#ifdef LL_PLAT_C
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
1085);
1086#endif
1087
1088#ifdef LL_PLAT_S
1089MCAPI ::http_wstring utf16_from_utf8(::http_string const& utf8);
1090
1091MCAPI ::http_wstring utf16_from_utf8(char const* utf8);
1092
1093MCAPI ::http_wstring utf16_from_utf8(char const* utf8, uint64 size);
1094
1095MCAPI ::http_string utf8_from_utf16(::http_wstring const& utf16);
1096
1097MCAPI ::http_string utf8_from_utf16(wchar_t const* utf16, uint64 size);
1098#endif
1099
1100#ifdef LL_PLAT_C
1101MCAPI void visitTreeInternal(
1102 ::UIControl& control,
1103 ::std::function<bool(::UIControl&, int, bool)> visitor,
1104 int parentZOrder,
1105 bool ancestorVisible
1106);
1107#endif
1108// NOLINTEND
1109
1110// static variables
1111// NOLINTBEGIN
1112MCAPI ::std::vector<::HudElement> const& ALL_HUD_ELEMENTS();
1113
1114MCAPI ::std::unordered_map<
1115 ::glTF::Accessor::Type,
1116 ::std::string,
1118 ::std::equal_to<::glTF::Accessor::Type>> const&
1119AccessorTypeEnumMap();
1120
1121#ifdef LL_PLAT_C
1122MCAPI ::std::array<::LayoutVariableType, 11> const& AllLayoutVariableTypes();
1123#endif
1124
1125MCAPI ::HashedString const& BLAST_FURNACE_TAG();
1126
1127MCAPI ::HashedString const& CAMPFIRE_TAG();
1128
1129MCAPI ::std::string_view const& CEREAL_DOCUMENTATION_TAG();
1130
1131MCAPI ::std::string_view const& CEREAL_HELP_PROPERTY();
1132
1133MCAPI ::std::string_view const& CEREAL_JSON_SCHEMA_PROPERTY();
1134
1135#ifdef LL_PLAT_C
1136MCAPI ::std::chrono::seconds const& CLUBS_CACHE_DURATION_FAILED();
1137
1138MCAPI ::std::chrono::seconds const& CLUBS_CACHE_DURATION_SUCCEEDED();
1139#endif
1140
1141MCAPI ::std::unordered_map<::ContainerEnumName, ::std::string>& ContainerCollectionNameMap();
1142
1143#ifdef LL_PLAT_C
1144MCAPI ::std::string const& DEFAULT_DRIVE_CONTENTS_PATH();
1145
1146MCAPI ::std::unordered_map<::std::string_view, ::EncyclopediaTopicIndex> const& EncyclopediaTopicIndexMap();
1147
1148MCAPI ::std::string const& FEATURED_SKIN_PACK_COLLECTION_INDEX();
1149
1150MCAPI ::std::string const& FEATURED_SKIN_PACK_COLLECTION_NAME();
1151#endif
1152
1153MCAPI ::HashedString const& FURNACE_TAG();
1154
1155MCAPI ::std::array<::std::pair<::HudElement, ::std::string>, 13> const& HUD_ELEMENTS_TO_STRINGS();
1156
1157#ifdef LL_PLAT_C
1158MCAPI ::std::unordered_map<::std::string_view, ::HowToPlayTopicIndex> const& HowToPlayTopicIndexMap();
1159
1160MCAPI ::std::string const& ICON_OVERLAY_FACTORY();
1161#endif
1162
1163MCAPI ::GatheringServerInfo const& INVALID_GATHERING_SERVER_INFO();
1164
1165MCAPI ::ThirdPartyInfo const& INVALID_THIRD_PARTY_INFO();
1166
1167MCAPI ::std::unordered_map<
1168 ::glTF::Image::ImageMimeType,
1169 ::std::string,
1171 ::std::equal_to<::glTF::Image::ImageMimeType>> const&
1172ImageMimeTypeEnumMap();
1173
1174MCAPI ::MCRESULT const& MCRESULT_ChatMuted();
1175
1176MCAPI ::MCRESULT const& MCRESULT_CommandNotFound();
1177
1178MCAPI ::MCRESULT const& MCRESULT_CommandRequestInitiated();
1179
1180MCAPI ::MCRESULT const& MCRESULT_CommandStepFail();
1181
1182MCAPI ::MCRESULT const& MCRESULT_CommandsDisabled();
1183
1184MCAPI ::MCRESULT const& MCRESULT_EncryptionRequired();
1185
1186MCAPI ::MCRESULT const& MCRESULT_ExecutionFail();
1187
1188MCAPI ::MCRESULT const& MCRESULT_FailedToParseCommand();
1189
1190MCAPI ::MCRESULT const& MCRESULT_InvalidCommandContext();
1191
1192MCAPI ::MCRESULT const& MCRESULT_InvalidCommandOrigin();
1193
1194MCAPI ::MCRESULT const& MCRESULT_MalformedRequest();
1195
1196MCAPI ::MCRESULT const& MCRESULT_Success();
1197
1198MCAPI ::MCRESULT const& MCRESULT_TooManyPendingRequests();
1199
1200MCAPI ::SemVersionConstant const& MIN_ENGINE_VERSION_MINIMUM_V2();
1201
1202MCAPI ::std::unordered_map<
1203 ::glTF::Material::AlphaMode,
1204 ::std::string,
1206 ::std::equal_to<::glTF::Material::AlphaMode>> const&
1207MaterialAlphaModeEnumMap();
1208
1209MCAPI ::std::bitset<38> const& PLAYER_ACTION_MOVEMENT_BITSET();
1210
1211MCAPI ::std::bitset<38> const& PLAYER_ACTION_MOVEMENT_FLYING_ATTRIBUTE_BITSET();
1212
1213MCAPI ::std::bitset<38> const& PLAYER_ACTION_MOVEMENT_SPEED_ATTRIBUTE_BITSET();
1214
1215#ifdef LL_PLAT_C
1216MCAPI ::std::string const& SKIN_PACK_COLLECTION_INDEX_DEP();
1217
1218MCAPI ::std::string const& SKIN_PACK_COLLECTION_NAME_DEP();
1219#endif
1220
1221MCAPI ::HashedString const& SMOKER_TAG();
1222
1223MCAPI ::HashedString const& SOUL_CAMPFIRE_TAG();
1224
1225MCAPI ::std::unordered_map<
1226 ::TextProcessingEventOrigin,
1227 ::std::string,
1229 ::std::equal_to<::TextProcessingEventOrigin>> const&
1230TextProcessingEventOriginEnumMap();
1231
1232MCAPI ::std::array<::HashedString, 17> const& VanillaStructureFeatureTypes();
1233
1234MCAPI ::std::unordered_map<::std::string, ::ActorFilterGroup::LegacyMapping>& _environmentSubfilters();
1235
1236MCAPI ::std::unordered_map<::std::string, ::ActorFilterGroup::LegacyMapping>& _legacyPredicates();
1237
1238#ifdef LL_PLAT_C
1239MCAPI ::std::unordered_map<int, ::std::string> const& autoUpdateModeLabels();
1240
1241MCAPI ::mce::Camera& camera();
1242
1243MCAPI ::std::unordered_map<int, ::std::string> const& chatDurationLabels();
1244
1245MCAPI ::std::unordered_map<int, ::std::string> const& chunkMapModeLabels();
1246
1247MCAPI ::std::unordered_map<int, ::std::string> const& cloudQualityLabels();
1248
1249MCAPI ::std::unordered_map<int, ::std::string> const& contentLogGUILevelLables();
1250
1251MCAPI ::std::unordered_map<int, ::std::string> const& debugHudLabels();
1252
1253MCAPI ::std::unordered_map<int, ::std::string> const& devConnectionQualityLabels();
1254
1255MCAPI ::std::unordered_map<int, ::std::string> const& devEducationServicesEnvironmentLabels();
1256
1257MCAPI ::std::unordered_map<int, ::std::string> const& devMarketplaceRotationSpeedMultiplierLabels();
1258
1259MCAPI ::std::unordered_map<int, ::std::string> const& devTimeZoneTypeLabels();
1260
1261MCAPI ::std::unordered_map<int, ::std::string> const& devWindowsStoreLabels();
1262
1263MCAPI ::std::unordered_map<int, ::std::string> const& deviceInfoMemoryTierLabels();
1264
1265MCAPI ::std::unordered_map<int, ::std::string> const& difficultyLabels();
1266#endif
1267
1268MCAPI ::std::unordered_map<int, ::std::string> const& discoveryEnvironmentLabels();
1269
1270MCAPI ::std::unordered_map<::std::string, ::DiscoveryEnvironment> const& discoveryEnvironmentStrings();
1271
1272MCAPI ::std::unordered_map<::DiscoveryEnvironment, ::std::string> const& discoveryEnvironments();
1273
1274MCAPI ::std::add_lvalue_reference_t<uint[]> englishCharacterFrequencies();
1275
1276#ifdef LL_PLAT_C
1277MCAPI ::std::unordered_map<int, ::std::string> const& exposureTechniqueLabels();
1278#endif
1279
1280#ifdef LL_PLAT_S
1281MCAPI ::std::vector<::std::string>& gAreaFilters();
1282#endif
1283
1284MCAPI ::SubChunkDelayedDeleter<::SubChunkStorage<::Biome>>& gBiomeChunkGC();
1285
1286MCAPI ::SubChunkDelayedDeleter<::SubChunkStorage<::Block>>& gBlockStorageGC();
1287
1288MCAPI ::InternalTaskGroup& gInternalTaskGroup();
1289
1290MCAPI ::SubChunkDelayedDeleter<::SubChunkBrightnessStorage>& gLightStorageGC();
1291
1292#ifdef LL_PLAT_C
1293MCAPI ::std::add_lvalue_reference_t<uchar[]> gMinecraftLogoImage();
1294#endif
1295
1296#ifdef LL_PLAT_S
1297MCAPI ::std::vector<::std::string>& gPriorityFilters();
1298#endif
1299
1300#ifdef LL_PLAT_C
1301MCAPI double& gTotalRealWorldTime();
1302
1303MCAPI double& gTotalRealWorldTimeDelta();
1304
1305MCAPI ::MainGameCore::WinMain*& gWinMainInstance();
1306#endif
1307
1308#ifdef LL_PLAT_S
1309MCAPI ::std::add_lvalue_reference_t<void* (*)(uint64, uint)> g_memAllocFunc();
1310
1311MCAPI ::std::add_lvalue_reference_t<void (*)(void*, uint)> g_memFreeFunc();
1312
1313MCAPI ::HCTraceImplArea& g_traceHTTPCLIENT();
1314
1315MCAPI ::HCTraceImplArea& g_traceWEBSOCKET();
1316#endif
1317
1318#ifdef LL_PLAT_C
1319MCAPI ::HCTraceImplArea& g_traceXAL();
1320
1321MCAPI ::HCTraceImplArea& g_traceXAL_TELEMETRY();
1322
1323MCAPI ::HCTraceImplArea& g_traceXSAPI();
1324
1325MCAPI ::std::unordered_map<int, ::std::string> const& gameModeLabels();
1326
1327MCAPI ::std::unordered_map<int, ::std::string> const& graphicsApiLabels();
1328
1329MCAPI ::std::unordered_map<int, ::std::string> const& graphicsModeLabels();
1330
1331MCAPI ::std::unordered_map<int, ::std::string> const& graphicsQualityPresetModeLabels();
1332
1333MCAPI ::std::unordered_map<int, ::std::string> const& interactionModelLabels();
1334
1335MCAPI ::std::unordered_map<int, ::std::string> const& joystickVisibilityOptionLabels();
1336
1337MCAPI ::EducationServicesEnvironment& mCachedServicesEnvironment();
1338
1339MCAPI ::std::unordered_map<int, ::std::string> const& nethernetLoggingVerbosityLabels();
1340
1341MCAPI ::std::unordered_map<int, ::std::string> const& networkLoggingVerbosityLabels();
1342
1343MCAPI ::std::unordered_map<int, ::std::string> const& newPlayerFlowV3ABCTestGroupLabels();
1344
1345MCAPI ::std::unordered_map<int, ::std::string> const& newPlayerPathTutorialModeABTestGroupLabels();
1346
1347MCAPI ::std::unordered_map<int, ::std::string> const& partyInviteReceivedFilterLabels();
1348
1349MCAPI ::std::unordered_map<int, ::std::string> const& partyInviteSendPrivilegesLabels();
1350
1351MCAPI ::std::unordered_map<int, ::std::string> const& partyPrivacyLabels();
1352
1353MCAPI ::std::unordered_map<::std::string, int> const& permissionsNameValuePairs();
1354
1355MCAPI ::std::unordered_map<int, ::std::string> const& permissionsValueLabelPairs();
1356
1357MCAPI ::std::unordered_map<int, ::std::string> const& permissionsValueTexturePairs();
1358
1359MCAPI ::std::unordered_map<int, ::std::string> const& pointLightLODingQualityLabels();
1360
1361MCAPI ::std::unordered_map<int, ::std::string> const& pointLightShadowQualityLabels();
1362
1363MCAPI ::std::unordered_map<int, ::std::string> const& realmsEnvironmentLabels();
1364
1365MCAPI ::std::unordered_map<int, ::std::string> const& realmsGameModeLabels();
1366
1367MCAPI ::std::unordered_map<int, ::std::string> const& realmsSkuLabels();
1368
1369MCAPI ::std::unordered_map<int, ::std::string> const& reflectionQualityLabels();
1370
1371MCAPI ::std::variant<::XAsyncBlock, ::XUser*>& sDefaultUser();
1372#endif
1373
1374#ifdef LL_PLAT_S
1375MCAPI bool& s_AsyncLibEnablePumpingWait();
1376
1377MCAPI ::std::atomic<uint>& s_AsyncLibGlobalStateCount();
1378#endif
1379
1380#ifdef LL_PLAT_C
1381MCAPI ::std::unordered_map<int, ::std::string> const& scriptDebuggerAttachModeLabels();
1382
1383MCAPI ::std::unordered_map<int, ::std::string> const& shadowQualityLabels();
1384
1385MCAPI ::std::unordered_map<int, ::std::string> const& sneakOptionLabels();
1386
1387MCAPI ::std::unordered_map<int, ::std::string> const& splitScreenLabels();
1388
1389MCAPI ::std::unordered_map<int, ::std::string> const& startupStatisticsLabels();
1390
1391MCAPI ::__m128i& stbir__s16_32768();
1392
1393MCAPI ::__m128i& stbir__s32_32768();
1394
1395MCAPI ::std::unordered_map<int, ::std::string> const& storageLocationLabels();
1396
1397MCAPI ::std::unordered_map<int, ::std::string> const& sunsettingTierLabels();
1398
1399MCAPI ::std::unordered_map<int, ::std::string> const& suspendedConnectionBehaviorLabels();
1400
1401MCAPI ::std::unordered_map<int, ::std::string> const& thirdPersonLabels();
1402
1403MCAPI ::std::unordered_map<int, ::std::string> const& toastsDurationLabels();
1404
1405MCAPI ::std::unordered_map<int, ::std::string> const& tonemapTechniqueLabels();
1406
1407MCAPI ::std::unordered_map<int, ::std::string> const& topButtonScaleOptionLabels();
1408
1409MCAPI ::std::unordered_map<int, ::std::string> const& typefaceLabels();
1410
1411MCAPI ::std::unordered_map<int, ::std::string> const& uiProfileLabels();
1412
1413MCAPI ::std::unordered_map<int, ::std::string> const& upscalingModeLabels();
1414
1415MCAPI ::std::unordered_map<int, ::std::string> const& volumetricFogQualityLabels();
1416
1417MCAPI ::std::unordered_map<int, ::std::string> const& vsyncLabels();
1418
1419MCAPI ::std::add_lvalue_reference_t<int (*)(void*)> winrt_to_hresult_handler();
1420
1421MCAPI ::std::unordered_map<int, ::std::string> const& xboxEnvironmentLabels();
1422#endif
1423// NOLINTEND
Definition AABB.h:18
Definition ActorOwnerComponent.h:10
Definition Actor.h:106
Definition BaseActorRenderContext.h:5
Definition Status.h:7
Definition Result.h:9
Definition IDiscoveryService.h:16
Definition StaticOptimizedString.h:10
Definition WorkerPoolHandleInterface.h:15
Definition BiomeArea.h:11
Definition Biome.h:23
Definition BlockPos.h:19
Definition BlockSource.h:71
Definition BlockStateCommandParam.h:16
Definition BlockState.h:13
Definition BlockType.h:84
Definition Block.h:43
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 File.h:22
Definition PathView.h:19
Definition Path.h:17
Definition Result.h:11
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 ExprToken.h:5
Definition ExpressionNode.h:34
Definition FeatureRegistry.h:19
Definition GatheringServerInfo.h:5
Definition HashedString.h:5
Definition HitResult.h:17
Definition I18n.h:19
Definition IAppPlatform.h:15
Definition IClientInstance.h:5
Definition IFileAccess.h:15
Definition ILevel.h:218
Definition IStructureTemplateManager.h:16
Definition InternalTaskGroup.h:18
Definition ItemInstance.h:15
Definition ItemStack.h:26
Definition JigsawStructureRegistry.h:22
Definition Reader.h:11
Definition Value.h:16
Definition LevelChunk.h:79
Definition LevelData.h:52
Definition ListTag.h:19
Definition LocalPlayer.h:5
Definition WinMain.h:7
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 UIControl.h:5
Definition UIPropertyBag.h:5
Definition Vec3.h:10
Definition WorkerPool.h:19
Definition WorldSeedModel.h:5
Definition function_ref.h:60
Definition _HeaderOutputPredefine.h:241
Definition Binder.h:7
Definition http_stl_allocator.h:6
Definition Camera.h:7
Definition UUID.h:7
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 DateRange.h:5
Definition DiggerBlockTypeInfo.h:9
Definition DisconnectionErrorStringOverrides.h:5
Definition DurableSearchResults.h:5
Definition ExtractedDataDataDrivenModel.h:5
Definition ExtractedRenderController.h:5
Definition ExtractedSkeletonData.h:5
Definition FinalRenderingData.h:5
Definition FlatWorldLayer.h:8
Definition FlatWorldPreset.h:15
Definition FrameAllocationCount.h:5
Definition GameplayRelatedRenderData.h:5
Definition HCTraceImplArea.h:5
Definition HC_CALL.h:14
Definition IWorldTransferHandler.h:5
Definition ImageMimeTypeEnumHasher.h:5
Definition KeyOrNameResult.h:5
Definition KineticDamageSettings.h:10
Definition MCRESULT.h:8
Definition MapItemSavedData.h:43
Definition MaterialAlphaModeEnumHasher.h:5
Definition ModificationOperation.h:5
Definition PackIdVersion.h:10
Definition PreviousTransformationInput.h:5
Definition PreviousTransformationOutput.h:5
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 SharedUniformPhase.h:5
Definition TextProcessingEventOriginEnumHasher.h:5
Definition WorkerConfiguration.h:8
Definition WorldTemplateInfo.h:12
Definition XAsyncBlock.h:10
Definition buffer.h:5
Definition ReflectionCtx.h:11
Definition context.h:5
Definition ctx.h:5
Definition PerCascadeRenderingParameters.h:7
Definition RenderBatchActorInstanceDescription.h:7
Definition ShadowRange.h:7
Definition srtp_auth_t.h:5