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