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