Skip to content
LeviMC
English
AutoLightDark
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/HowToPlayTopicIndex.h"
9#include "mc/client/gui/UIDefType.h"
10#include "mc/client/gui/UIOperation.h"
11#include "mc/client/gui/screens/ControlCollectionFlag.h"
12#include "mc/client/gui/screens/LayoutVariableType.h"
13#include "mc/client/renderer/actor/v2/Destination.h"
14#include "mc/client/renderer/game/ShadowRenderingParameters.h"
15#include "mc/client/renderer/game/TerrainVariation.h"
16#include "mc/client/resources/ContentCatalogQueryData.h"
17#include "mc/client/services/download/DlcCheckResult.h"
18#include "mc/client/services/download/IMarketplacePackDownloader.h"
19#include "mc/client/services/download/InitiatorCategory.h"
20#include "mc/client/services/download/ProcessState.h"
21#include "mc/client/services/requests/payment/ReceiptFulfillment.h"
22#include "mc/client/store/iap/OfferCategory.h"
23#include "mc/client/store/iap/ProductType.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/utility/NonOwnerPointer.h"
31#include "mc/deps/core_graphics/MipMapSupport.h"
32#include "mc/deps/core_graphics/TextureSetLayerType.h"
33#include "mc/deps/ecs/Optional.h"
34#include "mc/deps/ecs/ViewT.h"
35#include "mc/deps/ecs/strict/EntityModifier.h"
36#include "mc/deps/json/ValueType.h"
37#include "mc/deps/profiler/ThreadFrameType.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/events/TextProcessingEventOrigin.h"
42#include "mc/external/cgltf/cgltf_component_type.h"
43#include "mc/external/cgltf/cgltf_result.h"
44#include "mc/external/cgltf/cgltf_type.h"
45#include "mc/external/lib_http_client/http_stl_allocator.h"
46#include "mc/external/libsrtp/srtp_err_status_t.h"
47#include "mc/external/mimalloc/mi_delayed_e.h"
48#include "mc/molang/MolangVersion.h"
49#include "mc/network/packet/AgentActionType.h"
50#include "mc/network/packet/TextPacketType.h"
51#include "mc/options/DiscoveryEnvironment.h"
52#include "mc/options/option_types/OptionID.h"
53#include "mc/platform/brstd/copyable_function.h"
54#include "mc/platform/brstd/function_ref.h"
55#include "mc/platform/brstd/move_only_function.h"
56#include "mc/resources/AssetWorkItemFactory.h"
57#include "mc/util/HudElement.h"
58#include "mc/util/json_util/JsonSchemaObjectNode.h"
59#include "mc/util/molang/ExpressionOp.h"
60#include "mc/world/ContainerID.h"
61#include "mc/world/actor/ActorFilterGroup.h"
62#include "mc/world/actor/ActorType.h"
63#include "mc/world/actor/ActorTypeNamespaceRules.h"
64#include "mc/world/actor/item/MinecartType.h"
65#include "mc/world/containers/ContainerEnumName.h"
66#include "mc/world/filters/FilterGroup.h"
67#include "mc/world/filters/FilterOperator.h"
68#include "mc/world/level/chunk/ChunkState.h"
69#include "mc/world/level/chunk/LevelChunkTag.h"
70#include "mc/world/level/chunk/SubChunk.h"
71#include "mc/world/level/chunk/SubChunkDelayedDeleter.h"
72#include "mc/world/level/chunk/SubChunkStorage.h"
73#include "mc/world/level/levelgen/flat/FlatWorldPresetID.h"
74#include "mc/world/level/storage/loot/functions/SpecificEnchantFunction.h"
75#include "mc/world/redstone/circuit/components/CircuitComponentType.h"
76
77// auto generated forward declare list
78// clang-format off
79class AABB;
80class Actor;
85class Biome;
86class Block;
87class BlockPos;
88class BlockSource;
89class BlockType;
97class CompoundTag;
99class DanceComponent;
100class DataLoadHelper;
101class DebuggerStat;
103class EntityContext;
104class ExplodeComponent;
105class ExpressionNode;
106class HashedString;
107class HopperComponent;
108class I18n;
109class IAppPlatform;
111class IFileAccess;
112class ILevel;
117class ItemInstance;
118class ItemRegistryRef;
119class ItemStack;
122class LevelChunk;
123class LevelData;
126class ListTag;
127class Matrix;
129class PackInstance;
130class Player;
131class PoolAliasBinding;
132class Recipe;
133class RecipeIngredient;
136class SemVersion;
137class ShapedRecipe;
138class ShapelessRecipe;
142class TextPacket;
143class ThirdPartyInfo;
145class TrimDataPacket;
148class Vec2;
149class Vec3;
150class WorkerPool;
151struct AABBShapeComponent;
157struct AgentCapabilities;
158struct AirSpeedComponent;
160struct AnyWorkItem;
161struct BlockLayer;
162struct BossComponent;
169struct DimensionType;
171struct FlatWorldLayer;
172struct FlatWorldPreset;
175struct HCTraceImplArea;
178struct IteratePackResult;
180struct KeyOrNameResult;
184struct MCRESULT;
185struct MapSample;
187struct MobFlagComponent;
189struct MobTravelComponent;
194struct PackIdVersion;
195struct PackMaps;
196struct ParseJsonResult;
197struct PlayerComponent;
205struct SubBBsComponent;
207struct TimerComponent;
208struct TradeItem;
210struct VehicleComponent;
215struct WorldTemplateInfo;
216struct XAsyncBlock;
217struct cgltf_anisotropy;
218struct cgltf_attribute;
219struct cgltf_data;
221struct cgltf_dispersion;
222struct cgltf_extension;
223struct cgltf_file_options;
224struct cgltf_iridescence;
227struct cgltf_texture_view;
228struct srtp_auth_t;
229namespace Bedrock { class StaticOptimizedString; }
230namespace Bedrock { class WorkerPoolHandleInterface; }
231namespace Bedrock::Http { class DispatcherInterface; }
232namespace Bedrock::Services { class IDiscoveryService; }
233namespace Bedrock::Services { struct DiscoveryConfig; }
234namespace Core { class File; }
235namespace Core { class FileStorageArea; }
236namespace Core { class Path; }
237namespace Core { class PathView; }
238namespace Json { class Value; }
239namespace JsonUtil { class EmptyClass; }
240namespace Puv { class Input; }
241namespace Puv { class Logger; }
242namespace RakNet { class RakPeerInterface; }
243namespace RakNet { struct RakPeerConfiguration; }
244namespace Scripting { class ModuleBindingBuilder; }
245namespace SharedTypes::Legacy { struct ComponentItemData; }
246namespace SharedTypes::v1_21_20::PoolAliases { struct Direct; }
247namespace SharedTypes::v1_21_20::PoolAliases { struct Random; }
248namespace SharedTypes::v1_21_30 { struct TradeGroup; }
249namespace SharedTypes::v1_21_30 { struct TradeItem; }
250namespace SharedTypes::v1_21_30 { struct TradeItemList; }
251namespace SharedTypes::v1_21_90 { struct CameraPresetFile; }
252namespace Social::Events { class Event; }
253namespace cereal { struct ReflectionCtx; }
254namespace cohtml { class Binder; }
255namespace mce { class Color; }
256namespace mce { class UUID; }
257class TraceState;
258struct HC_CALL;
260class ExprToken;
261class IClientInstance;
262class IOptionRegistry;
263class OptionRegistry;
264class SearchQuery;
265class TrialManager;
266class UIControl;
267class UIPropertyBag;
268class WorldSeedModel;
270struct CloudConfiguration;
271struct CommonLocTextPair;
279struct ProductSku;
280struct Purchase;
281struct RealmsWorldInfo;
282struct ResourceOffset;
283struct SkinPackMeta;
284struct cgltf_options;
285struct jsmn_parser;
286struct mi_block_s;
287struct mi_commit_mask_s;
288struct mi_heap_s;
289struct mi_memid_s;
290struct mi_os_mem_config_s;
291struct mi_os_tld_s;
292struct mi_page_queue_s;
293struct mi_page_s;
294struct mi_process_info_s;
295struct mi_random_cxt_s;
296struct mi_segment_s;
297struct mi_segments_tld_s;
298struct mi_stat_count_s;
299struct mi_stat_counter_s;
300struct mi_stats_s;
301namespace MainGameCore { class WinMain; }
302namespace ParticleSystem { class ParticleEffectComponentRegistry; }
303namespace Social { class IUserManager; }
304namespace Social { class MultiplayerServiceManager; }
305namespace mce { struct BufferResourceService; }
306namespace mce::framebuilder { class FrameBuilder; }
307namespace mce::framebuilder { struct PerCascadeRenderingParameters; }
308namespace mce::framebuilder { struct ShadowRange; }
309// clang-format on
310
311// functions
312// NOLINTBEGIN
313MCAPI void BedrockLogOut(uint const _priority, char const* pszFormat, ...);
314
315#ifdef LL_PLAT_C
316MCNAPI void CoherentBind(::cohtml::Binder* binder, ::Vec3* data);
317
318MCNAPI void CoherentBind(::cohtml::Binder* binder, ::FlatWorldLayer* layer);
319
320MCNAPI void CoherentBind(
321 ::cohtml::Binder* binder,
323);
324
325MCNAPI void CoherentBind(::cohtml::Binder* binder, ::FlatWorldPreset* options);
326
327MCNAPI void CoherentBind(::cohtml::Binder* binder, ::RealmsWorldInfo* realmsWorldInfo);
328
329MCNAPI void CoherentBind(::cohtml::Binder* binder, ::WorldSeedModel* seedTemplate);
330
331MCNAPI void CoherentBind(::cohtml::Binder* binder, ::WorldTemplateInfo* worldTemplateInfo);
332#endif
333
334MCNAPI ::SharedTypes::CreativeItemCategory CreativeItemCategoryFromString(::std::string const& str);
335
336#ifdef LL_PLAT_S
337MCNAPI void* DefaultMemAllocFunction(uint64 size, uint memoryType);
338
339MCNAPI void DefaultMemFreeFunction(void* pointer, uint memoryType);
340#endif
341
342#ifdef LL_PLAT_C
343MCNAPI long DoesLocalGameRuntimeDllExist(bool& exists);
344#endif
345
346#ifdef LL_PLAT_S
347MCNAPI bool DoesMockCallMatch(::HC_CALL const* mockCall, ::HC_CALL const* originalCall);
348#endif
349
350MCAPI ::HashedString const& EntityCanonicalName(::ActorType entityType);
351
352MCAPI ::ActorType EntityTypeFromString(::std::string const& str);
353
354MCNAPI ::std::string EntityTypeIdWithoutCategories(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
355
356MCNAPI ::std::string EntityTypeToFormattedLocString(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
357
358MCAPI ::std::string EntityTypeToLocString(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
359
360MCNAPI ::std::string EntityTypeToString(::ActorType entityType, ::ActorTypeNamespaceRules namespaceRule);
361
362MCNAPI void EntityTypeToStringAndNamespace(::ActorType entityType, ::std::string& nameOut, ::std::string& namespaceOut);
363
364MCNAPI double GetEngagementMetricsTimeSinceAppStart_DEPRECATED();
365
366MCNAPI ::std::map<::std::string, ::std::string> GetMobProperties(::Actor const* mob);
367
368#ifdef LL_PLAT_S
369MCNAPI ::TraceState& GetTraceState();
370#endif
371
372#ifdef LL_PLAT_C
373MCNAPI long InitializeGameRuntimeDll(uint64 flags, ::_INITIALIZE_OPTIONS* const options);
374#endif
375
376MCNAPI ::InventoryContentPacket InventoryContentPacketFromPlayerInventoryId(::ContainerID id, ::Player& player);
377
378#ifdef LL_PLAT_C
379MCNAPI long IsPackageFamilyNameInstalled(ushort const* familyName, bool& isInstalled);
380
381MCNAPI bool IsUseLocalServicesRegistryOverrideSet();
382
383MCNAPI long LoadGameRuntimeDll();
384
385MCNAPI auto LoadGetPackagesByPackageFamilyFn() -> int64 (*)();
386
387MCNAPI auto LoadRegGetValueWFn() -> int64 (*)();
388#endif
389
390#ifdef LL_PLAT_S
391MCNAPI ::std::optional<::LogLevel> LogLevelFromString(::std::string const& str);
392
393MCNAPI bool Mock_Internal_HCHttpCallPerformAsync(::HC_CALL* originalCall);
394
395MCNAPI long Mock_Internal_ReadRequestBodyIntoMemory(
396 ::HC_CALL* originalCall,
397 ::std::vector<uchar, ::http_stl_allocator<uchar>>* bodyBytes
398);
399#endif
400
401#ifdef LL_PLAT_C
402MCNAPI void NGXInvalidParameterHandler(
403 wchar_t const* expression,
404 wchar_t const* function,
405 wchar_t const* file,
406 uint line,
407 uint64 pReserved
408);
409
410MCNAPI bool NGXSafeInitializeLog(
411 wchar_t const* InPathToValidate,
412 wchar_t const* InFileName,
413 int MinimumLoggingLevel,
414 void (*logcallback)(char const*, ::NVSDK_NGX_Logging_Level, ::NVSDK_NGX_Feature),
415 bool DisableOtherLoggingSinks
416);
417#endif
418
419MCNAPI ::PackType PackTypeFromString(::std::string const& value);
420
421#ifdef LL_PLAT_C
422MCNAPI void PlatformBedrockLogOut(char const* buf, uint64 nullTerminatorPos);
423#endif
424
425#ifdef LL_PLAT_S
426MCNAPI void PlatformBedrockLogOut(uint const _priority, char const* buf, uint64 nullTerminatorPos);
427#endif
428
429MCNAPI void PushCircularReference(
430 ::std::unordered_map<::BlockPos, ::RedstoneTorchCapacitor*>& relatedTorches,
431 ::BlockPos const& pos,
432 ::std::queue<::RedstoneTorchCapacitor*, ::std::deque<::RedstoneTorchCapacitor*>>& list
433);
434
435#ifdef LL_PLAT_C
436MCNAPI bool ReadJpegFile(::Core::Path const& fileName, int readMode);
437
438MCNAPI bool ShouldUseDllLocalServices();
439
440MCNAPI long StringCchCatW(wchar_t* pszDest, uint64 cchDest, wchar_t const* pszSrc);
441
442MCNAPI long StringCchCopyW(wchar_t* pszDest, uint64 cchDest, wchar_t const* pszSrc);
443#endif
444
445MCNAPI ::std::string const& StringFromPackType(::PackType value);
446
447#ifdef LL_PLAT_C
448MCNAPI ::edu::Role StringToADRole(::std::string const& str);
449#endif
450
451MCNAPI uint SuperFastHashIncremental(char const* data, uint64 len, uint lastHash);
452
453MCNAPI ::SharedTypes::Legacy::UseAnimation UseAnimationFromString(::std::string const& str);
454
455#ifdef LL_PLAT_C
456MCNAPI HRESULT XalCleanupAsync(::XAsyncBlock* async);
457
458MCNAPI ::Bedrock::Threading::Async<::ContentCatalogQueryData::Done> _addCatalogItemsFromSearch(
459 ::SearchQuery const& query,
460 ::DurableSearchResults const& response,
461 ::std::shared_ptr<::ContentCatalogQueryData> request
462);
463#endif
464
465MCNAPI void _addEnvironmentSubfilter(
466 ::std::string const& legacyPredicate,
467 ::FilterGroup::CollectionType type,
468 ::std::string const& filterName,
469 ::SharedTypes::Legacy::FilterSubject subject,
470 ::FilterOperator op,
471 ::ActorFilterGroup::Processing process
472);
473
474MCNAPI void _addLegacyFilterDefinition(
475 ::std::string const& legacyPredicate,
476 ::FilterGroup::CollectionType type,
477 ::std::string const& filterName,
478 ::SharedTypes::Legacy::FilterSubject subject,
479 ::FilterOperator op,
480 ::ActorFilterGroup::Processing process
481);
482
483#ifdef LL_PLAT_C
484MCNAPI void _addToMessageHistory(::std::deque<::std::string>& messages, ::std::string const& message);
485
486MCNAPI ::std::string _appendToLocTable(
487 ::std::unordered_map<::std::string, ::std::string> const& dictionary,
488 ::std::string const& keyPrefix,
489 ::std::string const& keySuffix
490);
491
492MCNAPI ::ShadowRenderingParameters::ShadowMap _calculateCascade(
493 float fov,
494 float aspectRatio,
495 float resolution,
497 ::glm::mat4x4 const& playerView,
498 ::glm::vec3 const& viewPos,
499 ::glm::vec3 const& up,
500 ::glm::mat4x4 const& worldToLight,
501 ::glm::mat4x4 const& lightToWorld,
502 ::glm::vec3 const& playerPosition,
503 float maxWorldTexelSnappingPosition,
504 float const zNear,
505 float const maxShadowFrustumRadius,
507);
508#endif
509
510MCNAPI void _checkTickedActorsForOutOfWorld(::ActorOwnerComponent& actorOwnerComponent);
511
512#ifdef LL_PLAT_C
513MCNAPI bool _chunkSeesSkyDirectly(::BlockPos const& worldMin, ::BlockSource& region);
514
515MCNAPI ::glm::vec3 _clampShadowAngle(::glm::vec3 const& lightDir, ::glm::vec3 const& up, float shadowClampAngle);
516
517MCNAPI bool _clientHasMenuUI(::IClientInstance const* client);
518
519MCNAPI void _computeLookAtXYZMat(::Matrix& rotationMatrix, ::Vec3 const& lookAtDelta);
520
521MCNAPI bool _extractConstructionData(
522 ::CompoundTag const& tag,
523 ::ActorDefinitionIdentifier& outDefinition,
524 ::Vec3& outPosition,
525 ::Vec2& outRotation,
526 ::DataLoadHelper& dataLoadHelper,
527 ::DimensionHeightRange const& heightRange
528);
529#endif
530
531#ifdef LL_PLAT_S
532MCNAPI bool _extractConstructionData(
533 ::CompoundTag const& tag,
534 ::ActorDefinitionIdentifier& outDefinition,
535 ::Vec3& outPosition,
536 ::Vec2& outRotation,
537 ::DataLoadHelper& dataLoadHelper,
538 ::DimensionHeightRange const& heightRange
539);
540#endif
541
542MCNAPI void _fillCommonScriptPluginProperties(
544 ::ScriptPluginResult const& pluginResult,
545 bool isClient
546);
547
548#ifdef LL_PLAT_C
549MCNAPI void _forEachObject(
550 ::Json::Value& value,
551 ::brstd::function_ref<void(::Json::Value&, ::std::string_view, ::Json::Value&)> callback
552);
553
554MCNAPI ::std::vector<::BlockPos> _generateChunkStartPositions(::AABB const& area);
555
556MCNAPI ::std::vector<::std::string> _getPlatfromLegacyTranserPackIdList();
557
558MCNAPI ::cg::MipMapSupport _globalMipMapSupport();
559
560MCNAPI bool _haveSameScrollSection(::std::weak_ptr<::UIControl> const& a, ::std::weak_ptr<::UIControl> const& b);
561
562MCNAPI bool _isCoinBundleSku(::ProductSku const& sku);
563
564MCNAPI bool _isLegacyDurableSku(::ProductSku const& sku);
565#endif
566
567MCNAPI ::Block const* _loadLayerBlock(::Json::Value const& layer);
568
569#ifdef LL_PLAT_C
570MCNAPI void _mi_abandoned_collect(::mi_heap_s* heap, bool force, ::mi_segments_tld_s* tld);
571
572MCNAPI void _mi_abandoned_reclaim_all(::mi_heap_s* heap, ::mi_segments_tld_s* tld);
573
574MCNAPI void* _mi_arena_alloc_aligned(
575 uint64 size,
576 uint64 alignment,
577 uint64 align_offset,
578 bool commit,
579 bool allow_large,
580 int req_arena_id,
581 ::mi_memid_s* memid,
582 ::mi_os_tld_s* tld
583);
584
585MCNAPI void _mi_arena_collect(bool force_purge, ::mi_stats_s* stats);
586
587MCNAPI void _mi_arena_free(void* p, uint64 size, uint64 committed_size, ::mi_memid_s memid, ::mi_stats_s* stats);
588
589MCNAPI bool _mi_arena_memid_is_suitable(::mi_memid_s memid, int request_arena_id);
590
591MCNAPI void _mi_arena_unsafe_destroy_all(::mi_stats_s* stats);
592
593MCNAPI bool
594_mi_bitmap_claim(::std::atomic<uint64>* bitmap, uint64 bitmap_fields, uint64 count, uint64 bitmap_idx, bool* any_zero);
595
596MCNAPI bool _mi_bitmap_claim_across(
597 ::std::atomic<uint64>* bitmap,
598 uint64 bitmap_fields,
599 uint64 count,
600 uint64 bitmap_idx,
601 bool* pany_zero
602);
603
604MCNAPI bool
605_mi_bitmap_is_claimed_across(::std::atomic<uint64>* bitmap, uint64 bitmap_fields, uint64 count, uint64 bitmap_idx);
606
607MCNAPI bool _mi_bitmap_try_claim(::std::atomic<uint64>* bitmap, uint64 bitmap_fields, uint64 count, uint64 bitmap_idx);
608
609MCNAPI bool
610_mi_bitmap_try_find_claim_field(::std::atomic<uint64>* bitmap, uint64 idx, uint64 count, uint64* bitmap_idx);
611
612MCNAPI bool _mi_bitmap_try_find_from_claim_across(
613 ::std::atomic<uint64>* bitmap,
614 uint64 bitmap_fields,
615 uint64 start_field_idx,
616 uint64 count,
617 uint64* bitmap_idx
618);
619
620MCNAPI bool _mi_bitmap_unclaim(::std::atomic<uint64>* bitmap, uint64 bitmap_fields, uint64 count, uint64 bitmap_idx);
621
622MCNAPI bool
623_mi_bitmap_unclaim_across(::std::atomic<uint64>* bitmap, uint64 bitmap_fields, uint64 count, uint64 bitmap_idx);
624
625MCNAPI int64 _mi_clock_end(int64 start);
626
627MCNAPI int64 _mi_clock_now();
628
629MCNAPI int64 _mi_clock_start();
630
631MCNAPI uint64 _mi_commit_mask_committed_size(::mi_commit_mask_s const* cm, uint64 total);
632
633MCNAPI uint64 _mi_current_thread_count();
634
635MCNAPI void _mi_deferred_free(::mi_heap_s* heap, bool force);
636
637MCNAPI void _mi_error_message(int err, char const* fmt, ...);
638
639MCNAPI void _mi_fprintf(void (*out)(char const*, void*), void* arg, char const* fmt, ...);
640
641MCNAPI void _mi_fputs(void (*out)(char const*, void*), void* arg, char const* prefix, char const* message);
642
643MCNAPI bool _mi_free_delayed_block(::mi_block_s* block);
644
645MCNAPI void _mi_free_generic(::mi_segment_s const* segment, ::mi_page_s* page, bool is_local, void* p);
646
647MCNAPI void _mi_heap_collect_abandon(::mi_heap_s* heap);
648
649MCNAPI void _mi_heap_collect_retired(::mi_heap_s* heap, bool force);
650
651MCNAPI void _mi_heap_delayed_free_all(::mi_heap_s* heap);
652
653MCNAPI bool _mi_heap_delayed_free_partial(::mi_heap_s* heap);
654
655MCNAPI void _mi_heap_destroy_pages(::mi_heap_s* heap);
656
657MCNAPI void* _mi_heap_malloc_zero(::mi_heap_s* heap, uint64 size, bool zero);
658
659MCNAPI void* _mi_heap_malloc_zero_ex(::mi_heap_s* heap, uint64 size, bool zero, uint64 huge_alignment);
660
661MCNAPI bool _mi_heap_memid_is_suitable(::mi_heap_s* heap, ::mi_memid_s memid);
662
663MCNAPI uint64 _mi_heap_random_next(::mi_heap_s* heap);
664
665MCNAPI void _mi_heap_set_default_direct(::mi_heap_s* heap);
666
667MCNAPI void _mi_heap_unsafe_destroy_all();
668
669MCNAPI bool _mi_is_main_thread();
670
671MCNAPI void* _mi_malloc_generic(::mi_heap_s* heap, uint64 size, bool zero, uint64 huge_alignment);
672
673MCNAPI void _mi_options_init();
674
675MCNAPI void* _mi_os_alloc(uint64 size, ::mi_memid_s* memid, ::mi_stats_s* tld_stats);
676
677MCNAPI void* _mi_os_alloc_aligned(
678 uint64 size,
679 uint64 alignment,
680 bool commit,
681 bool allow_large,
682 ::mi_memid_s* memid,
683 ::mi_stats_s* tld_stats
684);
685
686MCNAPI void* _mi_os_alloc_aligned_at_offset(
687 uint64 size,
688 uint64 alignment,
689 uint64 offset,
690 bool commit,
691 bool allow_large,
692 ::mi_memid_s* memid,
693 ::mi_stats_s* tld_stats
694);
695
696MCNAPI void* _mi_os_alloc_huge_os_pages(
697 uint64 pages,
698 int numa_node,
699 int64 max_msecs,
700 uint64* pages_reserved,
701 uint64* psize,
702 ::mi_memid_s* memid
703);
704
705MCNAPI bool _mi_os_commit(void* addr, uint64 size, bool* is_zero, ::mi_stats_s* tld_stats);
706
707MCNAPI void _mi_os_free(void* p, uint64 size, ::mi_memid_s memid, ::mi_stats_s* tld_stats);
708
709MCNAPI void _mi_os_free_ex(void* addr, uint64 size, bool still_committed, ::mi_memid_s memid, ::mi_stats_s* tld_stats);
710
711MCNAPI void* _mi_os_get_aligned_hint(uint64 try_alignment, uint64 size);
712
713MCNAPI uint64 _mi_os_good_alloc_size(uint64 size);
714
715MCNAPI bool _mi_os_has_overcommit();
716
717MCNAPI bool _mi_os_has_virtual_reserve();
718
719MCNAPI void _mi_os_init();
720
721MCNAPI uint64 _mi_os_large_page_size();
722
723MCNAPI uint64 _mi_os_numa_node_count_get();
724
725MCNAPI int _mi_os_numa_node_get(::mi_os_tld_s* tld);
726
727MCNAPI uint64 _mi_os_page_size();
728
729MCNAPI bool _mi_os_purge(void* p, uint64 size, ::mi_stats_s* stats);
730
731MCNAPI bool _mi_os_purge_ex(void* p, uint64 size, bool allow_reset, ::mi_stats_s* stats);
732
733MCNAPI uint64 _mi_os_random_weak(uint64 extra_seed);
734
735MCNAPI bool _mi_os_reset(void* addr, uint64 size, ::mi_stats_s* stats);
736
737MCNAPI bool _mi_os_use_large_page(uint64 size, uint64 alignment);
738
739MCNAPI void _mi_page_abandon(::mi_page_s* page, ::mi_page_queue_s* pq);
740
741MCNAPI void _mi_page_free(::mi_page_s* page, ::mi_page_queue_s* pq, bool force);
742
743MCNAPI void _mi_page_free_collect(::mi_page_s* page, bool force);
744
745MCNAPI void* _mi_page_malloc(::mi_heap_s* heap, ::mi_page_s* page, uint64 size, bool zero);
746
747MCNAPI ::mi_block_s* _mi_page_ptr_unalign(::mi_segment_s const* segment, ::mi_page_s const* page, void const* p);
748
749MCNAPI uint64 _mi_page_queue_append(::mi_heap_s* heap, ::mi_page_queue_s* pq, ::mi_page_queue_s* append);
750
751MCNAPI void _mi_page_reclaim(::mi_heap_s* heap, ::mi_page_s* page);
752
753MCNAPI void _mi_page_retire(::mi_page_s* page);
754
755MCNAPI bool _mi_page_try_use_delayed_free(::mi_page_s* page, ::mi_delayed_e delay, bool override_never);
756
757MCNAPI void _mi_page_unfull(::mi_page_s* page);
758
759MCNAPI void _mi_page_use_delayed_free(::mi_page_s* page, ::mi_delayed_e delay, bool override_never);
760
761MCNAPI bool _mi_preloading();
762
763MCNAPI int _mi_prim_alloc(
764 uint64 size,
765 uint64 try_alignment,
766 bool commit,
767 bool allow_large,
768 bool* is_large,
769 bool* is_zero,
770 void** addr
771);
772
773MCNAPI int _mi_prim_alloc_huge_os_pages(void* hint_addr, uint64 size, int numa_node, bool* is_zero, void** addr);
774
775MCNAPI int64 _mi_prim_clock_now();
776
777MCNAPI int _mi_prim_commit(void* addr, uint64 size, bool* is_zero);
778
779MCNAPI int _mi_prim_decommit(void* addr, uint64 size, bool* needs_recommit);
780
781MCNAPI int _mi_prim_free(void* addr, uint64 size);
782
783MCNAPI bool _mi_prim_getenv(char const* name, char* result, uint64 result_size);
784
785MCNAPI void _mi_prim_mem_init(::mi_os_mem_config_s* config);
786
787MCNAPI uint64 _mi_prim_numa_node();
788
789MCNAPI uint64 _mi_prim_numa_node_count();
790
791MCNAPI void _mi_prim_out_stderr(char const* msg);
792
793MCNAPI void _mi_prim_process_info(::mi_process_info_s* pinfo);
794
795MCNAPI bool _mi_prim_random_buf(void* buf, uint64 buf_len);
796
797MCNAPI int _mi_prim_reset(void* addr, uint64 size);
798
799MCNAPI void _mi_prim_thread_associate_default_heap(::mi_heap_s* heap);
800
801MCNAPI void _mi_prim_thread_done_auto_done();
802
803MCNAPI void _mi_prim_thread_init_auto_done();
804
805MCNAPI void _mi_random_init(::mi_random_cxt_s* ctx);
806
807MCNAPI void _mi_random_init_weak(::mi_random_cxt_s* ctx);
808
809MCNAPI uint64 _mi_random_next(::mi_random_cxt_s* ctx);
810
811MCNAPI void _mi_random_reinit_if_weak(::mi_random_cxt_s* ctx);
812
813MCNAPI void _mi_segment_huge_page_reset(::mi_segment_s* segment, ::mi_page_s* page, ::mi_block_s* block);
814
815MCNAPI void _mi_segment_map_allocated_at(::mi_segment_s const* segment);
816
817MCNAPI void _mi_segment_map_freed_at(::mi_segment_s const* segment);
818
819MCNAPI void _mi_segment_page_abandon(::mi_page_s* page, ::mi_segments_tld_s* tld);
820
821MCNAPI ::mi_page_s* _mi_segment_page_alloc(
822 ::mi_heap_s* heap,
823 uint64 block_size,
824 uint64 page_alignment,
826 ::mi_os_tld_s* os_tld
827);
828
829MCNAPI void _mi_segment_page_free(::mi_page_s* page, bool force, ::mi_segments_tld_s* tld);
830
831MCNAPI uchar* _mi_segment_page_start(::mi_segment_s const* segment, ::mi_page_s const* page, uint64* page_size);
832
833MCNAPI void _mi_segment_thread_collect(::mi_segments_tld_s* tld);
834
835MCNAPI void _mi_stat_counter_increase(::mi_stat_counter_s* stat, uint64 amount);
836
837MCNAPI void _mi_stat_decrease(::mi_stat_count_s* stat, uint64 amount);
838
839MCNAPI void _mi_stat_increase(::mi_stat_count_s* stat, uint64 amount);
840
841MCNAPI void _mi_stats_done(::mi_stats_s* stats);
842
843MCNAPI uint64 _mi_strlen(char const* s);
844
845MCNAPI void _mi_thread_data_collect();
846
847MCNAPI void _mi_thread_done(::mi_heap_s* heap);
848
849MCNAPI uint64 _mi_thread_id();
850
851MCNAPI void _mi_verbose_message(char const* fmt, ...);
852
853MCNAPI void _mi_warning_message(char const* fmt, ...);
854#endif
855
856MCNAPI bool _parseEnchantInfo(::Json::Value& enchants, ::SpecificEnchantFunction::EnchantInfo& info);
857
858MCNAPI ::std::optional<::std::vector<::BlockLayer>>
859_parseLayersV3(::Json::Value const& root, ::LevelData const& levelData);
860
861#ifdef LL_PLAT_C
862MCNAPI ::glm::vec3 _quantizeLightDirection(float angle, float perpendicularAngle, int step);
863#endif
864
865MCNAPI ::std::string _resultItemName(::Recipe const& recipe);
866
867MCNAPI void _runActorLegacyTick(
868 ::EntityContext& entity,
869 ::ActorOwnerComponent& actorOwnerComponent,
870 ::ActorTickNeededComponent& actorTickNeededComponent
871);
872
873MCNAPI void _runActorLimitedLifetimeTick(::ActorOwnerComponent& actorOwnerComponent);
874
875MCNAPI void _runGlobalActorLegacyTick(::ActorOwnerComponent& actorOwnerComponent);
876
877MCNAPI ::std::unique_ptr<::ListTag> _saveBlockList(::std::vector<::BlockType const*> const& blockList);
878
879#ifdef LL_PLAT_C
880MCNAPI void _saveToOptions(::std::deque<::std::string>& messages, ::IOptionRegistry& options, ::OptionID optionId);
881#endif
882
883MCNAPI bool _spawnMinecart(
884 ::MinecartType type,
885 ::Actor* spawningActor,
886 ::BlockSource& region,
887 ::Vec3 const& pos,
888 ::ItemStack const& item
889);
890
891#ifdef LL_PLAT_C
892MCNAPI bool _stringLessThan(::std::string const& str1, ::std::string const& str2);
893#endif
894
895MCNAPI void _tickAbilitiesComponent(
896 ::ActorOwnerComponent& actorOwnerComponent,
897 ::PlayerComponent& playerComponent,
898 ::AgentCapabilities& capabilities
899);
900
901MCNAPI void _tickBalloonComponent(::ActorOwnerComponent& actorOwnerComponent, ::BalloonComponent& balloonComponent);
902
903MCNAPI void _tickBodyControlComponent(
904 ::ActorOwnerComponent& actorOwnerComponent,
905 ::BodyControlComponent& bodyControlComponent,
906 ::ActorRotationComponent& actorRotationComponent,
907 ::MobBodyRotationComponent& mobBodyRotationComponent,
908 ::ActorHeadRotationComponent& actorHeadRotationComponent
909);
910
911MCNAPI void
912_tickBoostableComponent(::ActorOwnerComponent& actorOwnerComponent, ::BoostableComponent& boostableComponent);
913
914MCNAPI void _tickBossComponent(
915 ::ActorOwnerComponent& actorOwnerComponent,
916 ::BossComponent& bossComponent,
918);
919
920MCNAPI void
921_tickBreedableComponent(::ActorOwnerComponent& actorOwnerComponent, ::BreedableComponent& breedableComponent);
922
923#ifdef LL_PLAT_C
924MCNAPI void _tickBubbleColumnState(::EntityContext& entity, ::ActorOwnerComponent& actorOwnerComponent);
925#endif
926
927MCNAPI void _tickBurnsInDaylightComponent(
928 ::ActorOwnerComponent& actorOwnerComponent,
929 ::BurnsInDaylightComponent const& burnsInDaylightComponent
930);
931
932MCNAPI void _tickComponent(::ActorOwnerComponent& actorOwnerComponent, ::CommandBlockComponent& commandBlockComponent);
933
934MCNAPI void _tickDamageOverTimeComponent(
935 ::ActorOwnerComponent& actorOwnerComponent,
936 ::DamageOverTimeComponent& damageOverTimeComponent
937);
938
939MCNAPI void _tickDanceComponent(
940 ::ActorOwnerComponent& actorOwnerComponent,
941 ::DanceComponent& danceComponent,
942 ::StateVectorComponent const& stateVectorComponent
943);
944
945MCNAPI void _tickEnvironmentSensorComponent(::ActorOwnerComponent& actorOwnerComponent);
946
947MCAPI void _tickExplodeComponent(::ActorOwnerComponent& actorOwnerComponent, ::ExplodeComponent& explodeComponent);
948
949MCNAPI void _tickHurtOnConditionComponent(::ActorOwnerComponent& actorOwnerComponent);
950
951MCNAPI void _tickInsomniaComponent(::ActorOwnerComponent& actorOwnerComponent, ::InsomniaComponent& insomniaComponent);
952
953MCNAPI void _tickTeleportComponent(::ActorOwnerComponent& actorOwnerComponent, ::TeleportComponent& teleportComponent);
954
955MCNAPI void _tickTimerComponent(::ActorOwnerComponent& actorOwnerComponent, ::TimerComponent& timerComponent);
956
957MCNAPI void _tickTimerComponent(
958 ::ActorOwnerComponent& actorOwnerComponent,
959 ::HopperComponent& hopperComponent,
960 ::StateVectorComponent const& stateVectorComponent
961);
962
963MCNAPI void _tickTransformationComponent(
964 ::ActorOwnerComponent& actorOwnerComponent,
965 ::TransformationComponent& transformationComponent
966);
967
968#ifdef LL_PLAT_C
969MCNAPI ::OfferCategory _tryDetermineOfferCategory(::ProductSku const& sku);
970
971MCNAPI ::ProductType _tryDetermineProductType(::ProductSku const& sku);
972
973MCNAPI void _updateFramePacing(::std::shared_ptr<::OptionRegistry> const& Options);
974
975MCNAPI void _validateControlNamesRecursive(
976 ::Json::Value const& control,
977 ::std::string const& namePath,
978 ::std::vector<::std::string>& invalidControlNames
979);
980
981MCNAPI ::Destination addExpressionOrConstantResources(
982 ::std::vector<float>& constantBuffer,
983 ::std::vector<::ExpressionNode>& expressionBuffer,
984 ::ExpressionNode const& expr,
985 char const* defaultExpression,
986 float defaultValue
987);
988
989MCNAPI void addToCollection(
990 ::std::vector<::std::shared_ptr<::UIControl>>& controls,
991 ::UIControl& control,
992 ::ControlCollectionFlag flag
993);
994
995MCNAPI void addToCollectionSortedByZOrder(
996 ::std::vector<::std::shared_ptr<::UIControl>>& controls,
997 ::UIControl& control,
998 ::ControlCollectionFlag flag
999);
1000#endif
1001
1002MCNAPI void addToFillQueue(
1003 ::CircuitSceneGraph& graph,
1004 ::CircuitComponentList& powerAssociationMap,
1005 ::BaseCircuitComponent* newComponent,
1007 ::BlockPos const& newPos,
1008 uchar face,
1009 ::std::queue<::CircuitTrackingInfo, ::std::deque<::CircuitTrackingInfo>>& positions
1010);
1011
1012#ifdef LL_PLAT_C
1013MCNAPI ushort bakeGeneratedDraws(
1014 ::ExtractedDataDataDrivenModel const& extractedData,
1015 uint geoIdx,
1016 ::std::vector<::std::string> const& materialRegex,
1017 ::std::vector<::std::string> const& partVisibilityRegex,
1019);
1020
1021MCNAPI ::BakedRenderControllerResults bakeRenderController(
1022 ::ExtractedDataDataDrivenModel const& extractedData,
1023 ::ExtractedRenderController const& renderController,
1025);
1026#endif
1027
1028MCNAPI void bindCreativeItemCategoryType(::cereal::ReflectionCtx& ctx);
1029
1030MCNAPI void bindModuleToDDUI(::Scripting::ModuleBindingBuilder& moduleBuilder);
1031
1032MCNAPI ::KeyOrNameResult
1033buildActorDisplayName(::ActorType actorType, ::std::string const& nameTag, ::Actor const* actor);
1034
1035MCNAPI void buildItemsSchema(
1036 ::std::shared_ptr<
1038 ::SemVersion const& version
1039);
1040
1041#ifdef LL_PLAT_C
1042MCNAPI void* cgltf_default_alloc(void* user, uint64 size);
1043
1044MCNAPI ::cgltf_result cgltf_default_file_read(
1045 ::cgltf_memory_options const* memory_options,
1046 ::cgltf_file_options const* file_options,
1047 char const* path,
1048 uint64* size,
1049 void** data
1050);
1051
1052MCNAPI void cgltf_default_file_release(
1053 ::cgltf_memory_options const* memory_options,
1054 ::cgltf_file_options const* file_options,
1055 void* data
1056);
1057
1058MCNAPI void cgltf_default_free(void* user, void* ptr);
1059
1060MCNAPI int cgltf_element_read_float(
1061 uchar const* element,
1062 ::cgltf_type type,
1063 ::cgltf_component_type component_type,
1064 int normalized,
1065 float* out,
1066 uint64 element_size
1067);
1068
1069MCNAPI void cgltf_free(::cgltf_data* data);
1070
1071MCNAPI int cgltf_json_strcmp(::jsmntok_t const* tok, uchar const* json_chunk, char const* str);
1072
1073MCNAPI ::cgltf_result
1074cgltf_parse_json(::cgltf_options* options, uchar const* json_chunk, uint64 size, ::cgltf_data** out_data);
1075
1076MCNAPI int cgltf_parse_json_anisotropy(
1077 ::cgltf_options* options,
1078 ::jsmntok_t const* tokens,
1079 int i,
1080 uchar const* json_chunk,
1081 ::cgltf_anisotropy* out_anisotropy
1082);
1083
1084MCNAPI int cgltf_parse_json_attribute_list(
1085 ::cgltf_options* options,
1086 ::jsmntok_t const* tokens,
1087 int i,
1088 uchar const* json_chunk,
1089 ::cgltf_attribute** out_attributes,
1090 uint64* out_attributes_count
1091);
1092
1093MCNAPI int cgltf_parse_json_cameras(
1094 ::cgltf_options* options,
1095 ::jsmntok_t const* tokens,
1096 int i,
1097 uchar const* json_chunk,
1098 ::cgltf_data* out_data
1099);
1100
1101MCNAPI int cgltf_parse_json_diffuse_transmission(
1102 ::cgltf_options* options,
1103 ::jsmntok_t const* tokens,
1104 int i,
1105 uchar const* json_chunk,
1106 ::cgltf_diffuse_transmission* out_diff_transmission
1107);
1108
1109MCNAPI int cgltf_parse_json_dispersion(
1110 ::jsmntok_t const* tokens,
1111 int i,
1112 uchar const* json_chunk,
1113 ::cgltf_dispersion* out_dispersion
1114);
1115
1116MCNAPI int cgltf_parse_json_iridescence(
1117 ::cgltf_options* options,
1118 ::jsmntok_t const* tokens,
1119 int i,
1120 uchar const* json_chunk,
1121 ::cgltf_iridescence* out_iridescence
1122);
1123
1124MCNAPI int cgltf_parse_json_lights(
1125 ::cgltf_options* options,
1126 ::jsmntok_t const* tokens,
1127 int i,
1128 uchar const* json_chunk,
1129 ::cgltf_data* out_data
1130);
1131
1132MCNAPI int cgltf_parse_json_material_mapping_data(
1133 ::cgltf_options* options,
1134 ::jsmntok_t const* tokens,
1135 int i,
1136 uchar const* json_chunk,
1137 ::cgltf_material_mapping* out_mappings,
1138 uint64* offset
1139);
1140
1141MCNAPI int cgltf_parse_json_root(
1142 ::cgltf_options* options,
1143 ::jsmntok_t const* tokens,
1144 int i,
1145 uchar const* json_chunk,
1146 ::cgltf_data* out_data
1147);
1148
1149MCNAPI int cgltf_parse_json_string_array(
1150 ::cgltf_options* options,
1151 ::jsmntok_t const* tokens,
1152 int i,
1153 uchar const* json_chunk,
1154 char*** out_array,
1155 uint64* out_size
1156);
1157
1158MCNAPI int cgltf_parse_json_texture_view(
1159 ::cgltf_options* options,
1160 ::jsmntok_t const* tokens,
1161 int i,
1162 uchar const* json_chunk,
1163 ::cgltf_texture_view* out_texture_view
1164);
1165
1166MCNAPI int cgltf_parse_json_unprocessed_extension(
1167 ::cgltf_options* options,
1168 ::jsmntok_t const* tokens,
1169 int i,
1170 uchar const* json_chunk,
1171 ::cgltf_extension* out_extension
1172);
1173
1174MCNAPI int cgltf_parse_json_variants(
1175 ::cgltf_options* options,
1176 ::jsmntok_t const* tokens,
1177 int i,
1178 uchar const* json_chunk,
1179 ::cgltf_data* out_data
1180);
1181
1182MCNAPI int cgltf_skip_json(::jsmntok_t const* tokens, int i);
1183#endif
1184
1185MCNAPI void checkAndAddConvertedVariantFilter(
1186 ::Json::Value& anyOfFilter,
1187 ::std::string const biomeName,
1188 ::std::string const& targetBiome,
1189 int targetVariant
1190);
1191
1192MCNAPI void checkComponent(
1193 ::CircuitSceneGraph& graph,
1194 ::CircuitComponentList& powerAssociationMap,
1195 ::CircuitComponentType typeId,
1196 uchar id,
1197 ::BlockPos const& otherPos,
1199 ::std::queue<::CircuitTrackingInfo, ::std::deque<::CircuitTrackingInfo>>& positions,
1200 bool goingDown
1201);
1202
1203#ifdef LL_PLAT_C
1204MCNAPI bool checkMinMaxClientVer(::Json::Value const& documentObject, bool pascalCase);
1205
1206MCNAPI bool checkMinMaxClientVer(::std::string const& minClientVersion, ::std::string const& maxClientVersion);
1207#endif
1208
1209MCNAPI void convertBiomesFilterToGenericFilter(::Json::Value& tradeItem);
1210
1211#ifdef LL_PLAT_C
1212MCNAPI ::std::unique_ptr<::RakNet::RakPeerInterface, void (*)(::RakNet::RakPeerInterface*)>
1213createDefaultUniqueRakPeer();
1214#endif
1215
1216MCNAPI ::AssetWorkItemFactory<
1219createIteratePackWorkItem(
1220 ::PackInstance const& pack,
1221 uint packIndex,
1222 ::Core::Path path,
1223 ::Core::Path extension,
1224 ::std::vector<uint> advancePackLayers,
1225 uint batchSize
1226);
1227
1228#ifdef LL_PLAT_S
1229MCNAPI ::std::unordered_map<int, ::std::string> createPackParseErrorTypeEventMap();
1230#endif
1231
1232#ifdef LL_PLAT_C
1233MCNAPI ::std::unordered_map<int, ::std::string> createPackParseErrorTypeEventMap();
1234#endif
1235
1236#ifdef LL_PLAT_S
1237MCNAPI ::std::unordered_map<int, ::std::string> createPackParseErrorTypeLOCMap();
1238#endif
1239
1240#ifdef LL_PLAT_C
1241MCNAPI ::std::unordered_map<int, ::std::string> createPackParseErrorTypeLOCMap();
1242#endif
1243
1244#ifdef LL_PLAT_S
1245MCNAPI ::std::unordered_map<::PackType, ::std::string> createPackTypeToStringMap();
1246#endif
1247
1248#ifdef LL_PLAT_C
1249MCNAPI ::std::unordered_map<::PackType, ::std::string> createPackTypeToStringMap();
1250#endif
1251
1252MCNAPI ::AssetWorkItemFactory<
1255createParseJsonFileWorkItem(::IteratePackResult packFile);
1256
1257#ifdef LL_PLAT_S
1258MCNAPI ::std::unordered_map<::std::string, ::PackType> createStringToPackTypeMap();
1259#endif
1260
1261#ifdef LL_PLAT_C
1262MCNAPI ::std::unordered_map<::std::string, ::PackType> createStringToPackTypeMap();
1263
1264MCNAPI ::ExprToken createTokenFromUIDefVal(::Json::Value const& resVal);
1265#endif
1266
1267MCNAPI ::std::unique_ptr<::RakNet::RakPeerInterface, void (*)(::RakNet::RakPeerInterface*)>
1268createUniqueRakPeer(::RakNet::RakPeerConfiguration const& config);
1269
1270MCNAPI ::Bedrock::NonOwnerPointer<::WorkerPool> createWorkerPool(
1271 ::std::string_view name,
1272 ::Core::Profile::ThreadFrameType frameType,
1273 ::WorkerConfiguration const& config,
1274 ::std::shared_ptr<::Bedrock::WorkerPoolHandleInterface>& destHandle
1275);
1276
1277#ifdef LL_PLAT_C
1278MCNAPI ::UIDefType defTypeFromString(::std::string const& str);
1279
1280MCNAPI ::std::string discoveryEnvironmentToString(::DiscoveryEnvironment const& environment);
1281
1282MCNAPI ::std::string dlcCheckerResultToString(::DlcCheckResult result);
1283#endif
1284
1285MCNAPI void doHorsePreTravelSystem(
1287 ::Optional<::VehicleComponent> vehicleComponent,
1288 ::ActorDataFlagComponent const& synchedActorDataComponent,
1289 ::AirSpeedComponent& airSpeed,
1293);
1294
1295MCNAPI void doLavaMoveSystem(
1296 ::StrictEntityContext const&,
1297 ::Optional<::NavigationComponent const> navigationComponent,
1298 ::AABBShapeComponent const& aabbShapeComponent,
1299 ::ActorRotationComponent const& actorRotationComponent,
1300 ::ActorDataFlagComponent const& synchedActorDataComponent,
1301 ::FallDistanceComponent& fallDistanceComponent,
1302 ::MobTravelComponent& mobTravelComponent,
1303 ::StateVectorComponent& stateVectorComponent,
1304 ::Optional<::CanStandOnPowderSnowComponent const> canStandOnPowderSnowComponent,
1305 ::Optional<::CanStandOnPowderSnowFromEquipmentComponent const> canStandOnPowderSnowFromEquipmentComponent,
1306 ::IConstBlockSource const& region
1307);
1308
1309MCNAPI void doPlayerMovementStatsEventSystem(
1311 ::ActorOwnerComponent& actorOwnerComponent,
1312 ::PlayerPreMobTravelComponent const& playerPreMobTravelComponent,
1313 ::StateVectorComponent const& stateVectorComponent
1314);
1315
1316MCNAPI void doResetMoveDirectionJumpPendingSystem(
1318 ::JumpPendingScaleComponent const& jumpPendingScaleComponent,
1319 ::ActorDataFlagComponent const& actorDataFlagComponent,
1320 ::ActorDataControllingSeatIndexComponent const& controllingSeatIndexComponent,
1321 ::VehicleComponent const& vehicleComponent,
1322 ::MobTravelComponent& mobTravelComponent
1323);
1324
1325MCNAPI void
1326doResetPositionModeSystem(::StrictEntityContext&, ::PlayerPositionModeComponent& playerPositionModeComponent);
1327
1328MCNAPI void doTeleportInterpolatorResetSystem(
1330 ::Optional<::MovementInterpolatorComponent> movementInterpolatorComponent,
1331 ::PlayerPositionModeComponent const& playerPositionModeComponent,
1332 ::FallDistanceComponent& fallDistanceComponent,
1333 ::StateVectorComponent& stateVectorComponent
1334);
1335
1336MCNAPI void doTeleportPositionModeEventSystem(
1338 ::ActorOwnerComponent& actorOwnerComponent,
1339 ::PlayerPositionModeComponent const& playerPositionModeComponent
1340);
1341
1342MCNAPI void doTickNavigationTravelSystem(
1344 ::ActorOwnerComponent& actorOwnerComponent,
1345 ::MobTravelComponent& mobTravelComponent,
1346 ::NavigationComponent& navigationComponent,
1348);
1349
1350MCNAPI void doTickTriggerJumpSystem(
1352 ::ActorDataFlagComponent const& actorDataFlagComponent,
1353 ::ActorDataControllingSeatIndexComponent const& controllingSeatIndexComponent,
1354 ::VehicleComponent const& vehicleComponent,
1355 ::AABBShapeComponent const& aabbShapeComponent,
1356 ::StateVectorComponent const& stateVectorComponent,
1357 ::JumpPendingScaleComponent const& jumpPendingScaleComponent,
1358 ::MovementAttributesComponent const& attributesComponent,
1359 ::Optional<::OnGroundFlagComponent const> onGroundFlagComponent,
1360 ::Optional<::DashActionComponent const> dashActionComponent,
1365 ::IConstBlockSource const& region
1366);
1367
1368#ifdef LL_PLAT_C
1369MCNAPI void doTrackTickingActors(
1371 ::LevelTickTrackingComponent& levelTickTrackingComponent,
1372 ::CurrentTickComponent const& currentTick
1373);
1374#endif
1375
1376MCNAPI void doTravelTypeSensingSystem(
1379 ::Optional<::WasInWaterFlagComponent const> wasInWaterFlagComponent,
1380 ::Optional<::OnGroundFlagComponent const> onGroundFlagComponent,
1381 ::Optional<::ImmuneToLavaDragComponent const> immuneToLavaDragComponent,
1382 ::AABBShapeComponent const& aabbShapeComponent,
1383 ::SubBBsComponent const& subBBsComponent,
1384 ::ActorDataFlagComponent const& synchedActorDataComponent,
1392 ::LiquidTravelFlagComponent> const& mod,
1393 ::IConstBlockSource const& region
1394);
1395
1396#ifdef LL_PLAT_C
1397MCNAPI void executeOnNearestStorageAreaForPath(
1398 ::Core::PathView path,
1399 ::brstd::function_ref<void(::std::shared_ptr<::Core::FileStorageArea>)> onSuccess,
1400 ::std::function<void()> onFailure
1401);
1402
1403MCNAPI void executeOnPrimaryUserStorageArea(
1404 ::std::function<void(::std::shared_ptr<::Core::FileStorageArea>)> onSuccess,
1405 ::std::function<void()> onFailure
1406);
1407#endif
1408
1409MCNAPI ::srtp_err_status_t external_crypto_init();
1410
1411MCNAPI ::srtp_err_status_t external_hmac_alloc(::srtp_auth_t** a, int key_len, int out_len);
1412
1413MCNAPI ::srtp_err_status_t external_hmac_compute(void*, uchar const*, int, int tag_len, uchar* result);
1414
1415MCNAPI ::srtp_err_status_t external_hmac_dealloc(::srtp_auth_t* a);
1416
1417MCNAPI ::srtp_err_status_t external_hmac_init(void* state, uchar const* key, int key_len);
1418
1419MCNAPI ::srtp_err_status_t external_hmac_start(void*);
1420
1421MCNAPI ::srtp_err_status_t external_hmac_update(void*, uchar const*, int);
1422
1423#ifdef LL_PLAT_C
1424MCNAPI ::std::optional<::ExtractedDataDataDrivenModel>
1425extractModelData(::HashedString const& name, ::std::shared_ptr<::DataDrivenRenderer> const rendererPtr);
1426
1427MCNAPI void fillLangValue(
1428 ::std::string const& jsonFieldStr,
1429 ::std::string const& langCode,
1430 ::std::string const& modifiedCode,
1431 ::Json::Value const& documentObject,
1432 bool const pascalCase,
1433 ::CommonLocTextPair& locTextPairToFill,
1434 ::std::unordered_map<::std::string, ::std::string>& locDictionary
1435);
1436
1437MCNAPI void fillPackIdentityListFromJson(
1438 ::std::vector<::PackIdVersion>& packIdentityListToFill,
1439 ::Json::Value const& packIdentitiesJsonArray
1440);
1441#endif
1442
1443MCNAPI ::std::optional<::FlatWorldPresetID> flatWorldPresetIDFromString(::std::string const& str);
1444
1445MCNAPI ::std::optional<::TradeItem> fromSharedTypes(
1447 ::ItemRegistryRef const itemRegistry,
1448 int defaultAux,
1449 bool usingUpcomingCreatorFeaturesExperiment
1450);
1451
1452MCNAPI int fseek(::Core::File& file, int64 offset, int origin);
1453
1454MCNAPI int64 ftell(::Core::File& file);
1455
1456MCNAPI ::std::string gatherTypeStrings(::std::vector<::Json::ValueType> const& types);
1457
1458#ifdef LL_PLAT_C
1459MCNAPI ::ResourceOffset generateExpressionOffset(
1460 ::ExpressionNode&& expression,
1461 ::ExpressionOp expectedOperator,
1462 ::std::vector<::ExpressionNode>& outputExpressionList
1463);
1464#endif
1465
1466MCNAPI ::Json::Value getBiomeFilteredChoice(
1467 int const auxValue,
1468 ::std::vector<::std::string> const& biomes,
1469 ::Json::Value const& originalItem
1470);
1471
1472#ifdef LL_PLAT_C
1473MCNAPI ::std::shared_ptr<::UIControl> getControlBreadthFirst(::UIControl* scope, ::std::string name);
1474
1475MCNAPI float getControlVariableValue(::UIControl& control, ::LayoutVariableType const type);
1476
1477MCNAPI void getControlsInternal(
1478 ::std::vector<::std::shared_ptr<::UIControl>>& result,
1479 ::std::function<bool(::UIControl const&)> predicate,
1480 ::UIControl& control
1481);
1482
1483MCNAPI ::Json::Value const& getDisplayProperties(::Json::Value const& resultObject, bool pascalCase);
1484
1485MCNAPI ::std::string const getEdition();
1486#endif
1487
1488MCNAPI ::Bedrock::FileType getFileType(::Core::PathView filePath, ::IFileAccess& fileAccess);
1489
1490#ifdef LL_PLAT_C
1491MCNAPI void getFirstControlInternal(
1492 ::std::shared_ptr<::UIControl>& result,
1493 ::std::function<bool(::UIControl const&)> const& predicate,
1494 ::UIControl& control
1495);
1496
1497MCNAPI void getFirstVisibleControlInternal(
1498 ::std::shared_ptr<::UIControl>& result,
1499 ::std::function<bool(::UIControl const&)> const& predicate,
1500 ::UIControl& control
1501);
1502#endif
1503
1504MCNAPI ::std::unordered_map<::FlatWorldPresetID, ::FlatWorldPreset> const& getFlatWorldPresets();
1505
1506MCFOLD ::I18n& getI18n();
1507
1508MCNAPI ::std::string getInvalidRespawnBlockMessage(::DimensionType const& dimension);
1509
1510#ifdef LL_PLAT_C
1511MCNAPI ::std::vector<::PackIdVersion> getJsonPackIdVersion(::Json::Value const& objectArray);
1512
1513MCNAPI ::std::string getJsonString(::std::string const& key, ::Json::Value const& object);
1514#endif
1515
1516MCNAPI ::std::unordered_set<::Block const*> const getNetherBlendBlocks();
1517
1518#ifdef LL_PLAT_C
1519MCNAPI ::std::string const& getOperationString(::UIOperation operation);
1520#endif
1521
1522MCNAPI ::std::unordered_set<::BlockType const*> const getOverworldBlendBlocks();
1523
1524MCNAPI ::PackMaps const& getPackMaps();
1525
1526#ifdef LL_PLAT_C
1527MCNAPI ::std::string getPersonaFullDetailCondition();
1528
1529MCNAPI void getPropertyValue(::std::string_view value, ::ExprToken& tok, ::UIPropertyBag* bag);
1530#endif
1531
1532MCNAPI int& getSampleCount(
1533 ::std::vector<::std::pair<::MapSample, int>>& samples,
1534 ::mce::Color const& sampledColor,
1535 ::Block const& sampledBlock
1536);
1537
1538#ifdef LL_PLAT_C
1539MCNAPI ::std::string getStringOrParsedTextObject(
1540 ::Json::Value const& value,
1541 ::std::function<::std::string(::std::string const&)> emoticonifyTextCallback
1542);
1543
1544MCNAPI ::SubChunk::SubChunkState getSubChunkState(::LevelChunk& levelChunk, short absoluteIndex);
1545
1546MCNAPI void getVisibleControlsInternal(::std::function<void(::UIControl&)> const& action, ::UIControl& control);
1547#endif
1548
1549MCNAPI void initBuildingBlocks();
1550
1551MCNAPI bool isChunkAtStage(::std::weak_ptr<::LevelChunk> lcwp, ::ChunkState stateToCheck);
1552
1553#ifdef LL_PLAT_C
1554MCNAPI bool isSkinPackExpiredRealms(::SkinPackMeta const& meta);
1555#endif
1556
1557MCNAPI ::std::string join(::std::string prefix, ::std::string_view chunkKey);
1558
1559MCNAPI ::std::string join(::std::string_view prefix, ::LevelChunkTag tag);
1560
1561#ifdef LL_PLAT_C
1562MCNAPI int jsmn_parse(::jsmn_parser* parser, char const* js, uint64 len, ::jsmntok_t* tokens, uint64 num_tokens);
1563#endif
1564
1565#ifdef LL_PLAT_S
1566MCNAPI ::std::string keyLookup(
1567 ::std::unordered_map<::std::string, ::std::vector<char> const> const& keyMap,
1568 ::std::string const& packIdentity
1569);
1570#endif
1571
1572#ifdef LL_PLAT_C
1573MCNAPI ::std::string keyLookup(
1574 ::std::unordered_map<::std::string, ::std::vector<char> const> const& keyMap,
1575 ::std::string const& packIdentity
1576);
1577
1578MCNAPI ::glm::vec3 makeAchromatopsiaXLinked(::glm::vec3 fragment);
1579#endif
1580
1581MCNAPI ::TextPacket makeAuthorMessage(
1582 ::TextPacketType t,
1583 ::std::string author,
1584 ::std::string message,
1585 bool localize,
1586 ::std::optional<::std::string> filtered,
1587 ::std::string xuid,
1588 ::std::string platformId
1589);
1590
1591#ifdef LL_PLAT_C
1592MCNAPI ::glm::vec3 makeCool(::glm::vec3 fragment);
1593
1594MCNAPI ::glm::vec3 makeDeuteranopia(::glm::vec3 fragment);
1595
1596MCNAPI ::glm::vec3 makeGrayscale(::glm::vec3 fragment);
1597#endif
1598
1599MCNAPI ::std::string makeGuestDisplayName(::std::string hostName, ::SubClientId subclientId);
1600
1601MCNAPI ::mce::UUID makeGuestUUID(::mce::UUID const& hostUuid, ::SubClientId subclientId);
1602
1603#ifdef LL_PLAT_C
1604MCNAPI ::glm::vec3 makeInverted(::glm::vec3 fragment);
1605#endif
1606
1607#ifdef LL_PLAT_S
1608MCNAPI ::TextPacket makeMessageOnly(
1609 ::TextPacketType t,
1610 ::std::string message,
1611 bool localize,
1612 ::std::optional<::std::string> filtered,
1613 ::std::string xuid,
1614 ::std::string platformId
1615);
1616#endif
1617
1618#ifdef LL_PLAT_C
1619MCNAPI ::TextPacket makeMessageOnly(
1620 ::TextPacketType t,
1621 ::std::string message,
1622 bool localize,
1623 ::std::optional<::std::string> filtered,
1624 ::std::string xuid,
1625 ::std::string platformId
1626);
1627#endif
1628
1629#ifdef LL_PLAT_S
1630MCNAPI ::TextPacket makeMessageParams(
1631 ::TextPacketType t,
1632 ::std::string message,
1633 ::std::vector<::std::string> params,
1634 bool localize,
1635 ::std::string xuid,
1636 ::std::string platformId
1637);
1638#endif
1639
1640#ifdef LL_PLAT_C
1641MCNAPI ::TextPacket makeMessageParams(
1642 ::TextPacketType t,
1643 ::std::string message,
1644 ::std::vector<::std::string> params,
1645 bool localize,
1646 ::std::string xuid,
1647 ::std::string platformId
1648);
1649
1650MCNAPI ::glm::vec3 makeProtanopia(::glm::vec3 fragment);
1651
1652MCNAPI ::DataDrivenRendererPool makeSeededFallbackPool(::std::weak_ptr<::mce::BufferResourceService> bufferService);
1653
1654MCNAPI ::glm::vec3 makeSepia(::glm::vec3 fragment);
1655#endif
1656
1657#ifdef LL_PLAT_S
1658MCNAPI ::std::shared_ptr<::Bedrock::Services::IDiscoveryService> makeServerDiscoveryService(
1659 ::Bedrock::Services::DiscoveryConfig const& discoveryConfig,
1660 ::std::shared_ptr<::Bedrock::Http::DispatcherInterface> dispatcher,
1661 ::Bedrock::NotNullNonOwnerPtr<::IMinecraftEventing> eventing
1662);
1663#endif
1664
1665#ifdef LL_PLAT_C
1666MCNAPI ::glm::vec3 makeTritanopia(::glm::vec3 fragment);
1667
1668MCNAPI ::glm::vec3 makeWarm(::glm::vec3 fragment);
1669
1670MCNAPI int nvFPrintf(::_iobuf* stream, char const* fmt, ...);
1671
1672MCNAPI int nvSWprintf(wchar_t* dst, uint64 dstLen, wchar_t const* fmt, ...);
1673
1674MCNAPI int nvSprintf(char* dst, uint64 dstLen, char const* fmt, ...);
1675
1676MCNAPI ::std::ostream& operator<<(::std::ostream& os, ::cg::TextureSetLayerType const& type);
1677#endif
1678
1679MCNAPI ::SharedTypes::v1_21_90::CameraPresetFile parseLegacy(
1680 ::Puv::Input const& input,
1681 ::Puv::Logger& logger,
1682 ::MolangVersion molangVersion,
1683 ::gsl::not_null<::cereal::ReflectionCtx const*> ctx,
1685);
1686
1687#ifdef LL_PLAT_C
1688MCNAPI ::std::string parseRawText(::Json::Value const& value);
1689#endif
1690
1691MCNAPI bool parseSingleTradeJson(::SharedTypes::v1_21_30::TradeItem& inoutTrade, ::Json::Value const& inputData);
1692
1693MCNAPI bool parseTradeChoicesJson(
1695 ::Json::Value& inputData,
1696 ::SemVersion const& format
1697);
1698
1699MCNAPI bool parseTradeGroupJson(
1700 ::Puv::Logger& logger,
1701 ::SharedTypes::v1_21_30::TradeGroup& inoutTradeGroup,
1702 ::Json::Value const& inputRootData,
1703 ::SemVersion const& format
1704);
1705
1706#ifdef LL_PLAT_C
1707MCNAPI ::std::string pascalCaseConverter(::std::string const& inString, bool pascalCase);
1708#endif
1709
1710MCNAPI ::TrimDataPacket
1711prepareFromRegistries(::TrimPatternRegistry const& patternRegistry, ::TrimMaterialRegistry const& materialRegistry);
1712
1713#ifdef LL_PLAT_C
1714MCNAPI void readUV(::glm::vec2& uv, ::Json::Value const& value);
1715
1716MCNAPI void receiptPrinter_Amazon(
1717 ::std::vector<::std::weak_ptr<::Purchase>> const& purchases,
1718 ::ReceiptFulfillment::ReceiptData const& receiptData
1719);
1720
1721MCNAPI void recursiveMerge(
1722 ::Json::Value& defRoot,
1723 ::Json::Value const& currDefRoot,
1724 ::std::string const& pathName,
1725 int treeLevel,
1726 ::std::multiset<::ModificationOperation, ::std::less<::ModificationOperation>>* modifications,
1727 int packIndex
1728);
1729
1730MCAPI void
1731registerBedrockEffectComponents(::ParticleSystem::ParticleEffectComponentRegistry& particleComponentRegistry);
1732
1733MCNAPI void removeFromCollection(
1734 ::std::vector<::std::shared_ptr<::UIControl>>& controls,
1735 ::std::map<::std::vector<::std::shared_ptr<::UIControl>>*, ::std::vector<::std::shared_ptr<::UIControl>>>&
1736 controlsToRemove,
1737 ::UIControl& control,
1738 ::ControlCollectionFlag flag
1739);
1740
1741MCAPI ::mce::framebuilder::FrameBuilder* renderDragonFrameBuilder();
1742
1743MCNAPI uchar* resample_row_1(uchar* out, uchar* in_near, uchar* in_far, int w, int hs);
1744
1745MCNAPI ::ui::DirtyFlag setControlVariableValue(
1746 ::UIControl& control,
1747 ::LayoutVariableType type,
1748 float inValue,
1749 float inMinValue,
1750 float inMaxValue
1751);
1752
1753MCNAPI void setProgressPercent(
1754 float progressPercent,
1755 ::std::function<void(float)> setValue,
1756 ::std::function<float()> getMin,
1757 ::std::function<float()> getMax
1758);
1759
1760MCNAPI bool shouldRenderAnyAttachables(
1761 bool modelAttachablesAreEnabled,
1762 ::Actor& actor,
1763 bool lessThanOrEqualToVersion_1_16_210,
1764 bool hideArmor
1765);
1766#endif
1767
1768#ifdef LL_PLAT_S
1769MCNAPI ::DiscoveryEnvironment stringToDiscoveryEnvironment(::std::string const& str);
1770#endif
1771
1772#ifdef LL_PLAT_C
1773MCNAPI ::InitiatorCategory stringToInitiatorCategory(::std::string const& initiatorCategoryString);
1774
1775MCNAPI ::ProcessState stringToProcessState(::std::string const& processStateString);
1776
1777MCNAPI ::TerrainVariation terrainVariationFromString(::std::string_view terrainVariation);
1778#endif
1779
1780MCNAPI ::ItemInstance toItemInstance(::RecipeIngredient const& ingredient);
1781
1782MCNAPI ::std::shared_ptr<::PoolAliasBinding> toPoolAlias(::SharedTypes::v1_21_20::PoolAliases::Direct const& direct);
1783
1784MCNAPI ::std::shared_ptr<::PoolAliasBinding> toPoolAlias(::SharedTypes::v1_21_20::PoolAliases::Random const& random);
1785
1786MCNAPI ::ShapedRecipePayload toShapedPayload(::ShapedRecipe const& recipe, bool includeUnlocking);
1787
1788MCNAPI ::ShapelessRecipePayload toShapelessPayload(::ShapelessRecipe const& recipe, bool includeUnlocking);
1789
1790MCNAPI ::std::string toString(::AgentActionType type);
1791
1792#ifdef LL_PLAT_C
1793MCNAPI ::std::optional<uint> tryCreateDataDrivenV2Resource(
1794 ::HashedString const& name,
1795 ::std::shared_ptr<::DataDrivenRenderer> const& render,
1797);
1798
1799MCNAPI void updateLevelSettingsConsideringPlayerIntents(
1800 ::Bedrock::NotNullNonOwnerPtr<::ILevel> level,
1801 ::Bedrock::NotNullNonOwnerPtr<::IAppPlatform> const appPlatform,
1802 ::Bedrock::NotNullNonOwnerPtr<::Social::MultiplayerServiceManager> const&,
1803 bool const isNxAdhocMultiplayer,
1804 ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager> const userManager,
1805 ::Bedrock::NotNullNonOwnerPtr<::TrialManager> const trialManager,
1806 bool const hasAllValidCrossPlatformSkin
1807);
1808#endif
1809
1810MCNAPI ::Json::Value upgradeTraderMaterialFunction(::Json::Value& tradeItem);
1811
1812#ifdef LL_PLAT_S
1813MCNAPI ::http_wstring utf16_from_utf8(::http_string const& utf8);
1814
1815MCNAPI ::http_wstring utf16_from_utf8(char const* utf8);
1816
1817MCNAPI ::http_wstring utf16_from_utf8(char const* utf8, uint64 size);
1818
1819MCNAPI ::http_string utf8_from_utf16(::http_wstring const& utf16);
1820
1821MCNAPI ::http_string utf8_from_utf16(wchar_t const* utf16, uint64 size);
1822#endif
1823
1824MCNAPI int64 utf8proc_decompose_char(int uc, int* dst, int64 bufsize, int options, int* last_boundclass);
1825
1826#ifdef LL_PLAT_C
1827MCNAPI ::std::vector<::std::string> validateControlNames(::Json::Value const& root);
1828
1829MCNAPI void visitTreeInternal(
1830 ::UIControl& control,
1831 ::std::function<bool(::UIControl&, int, bool)> visitor,
1832 int parentZOrder,
1833 bool ancestorVisible
1834);
1835#endif
1836// NOLINTEND
1837
1838// static variables
1839// NOLINTBEGIN
1840MCNAPI ::std::string_view const& ACTOR_DEFINITIONS_VERSION_TRACKER();
1841
1842MCNAPI ::std::vector<::HudElement> const& ALL_HUD_ELEMENTS();
1843
1844#ifdef LL_PLAT_C
1845MCNAPI ::std::array<::LayoutVariableType, 11> const& AllLayoutVariableTypes();
1846#endif
1847
1848MCNAPI ::HashedString const& BLAST_FURNACE_TAG();
1849
1850MCNAPI ::HashedString const& CAMPFIRE_TAG();
1851
1852MCNAPI ::std::string_view const& CEREAL_DOCUMENTATION_TAG();
1853
1854MCNAPI ::std::string_view const& CEREAL_JSON_SCHEMA_PROPERTY();
1855
1856MCNAPI ::std::string_view const& CEREAL_ROOT_SCHEMA_PROPERTY();
1857
1858MCNAPI ::std::unordered_map<::ContainerEnumName, ::std::string>& ContainerCollectionNameMap();
1859
1860#ifdef LL_PLAT_C
1861MCNAPI ::std::string const& DEFAULT_DRIVE_CONTENTS_PATH();
1862#endif
1863
1864MCNAPI ::HashedString const& FURNACE_TAG();
1865
1866#ifdef LL_PLAT_C
1867MCNAPI ushort const*& GAME_RUNTIME_DLL_NAME();
1868#endif
1869
1870MCNAPI ::std::array<::std::pair<::HudElement, ::std::string>, 13> const& HUD_ELEMENTS_TO_STRINGS();
1871
1872#ifdef LL_PLAT_C
1873MCNAPI ::std::unordered_map<::std::string_view, ::HowToPlayTopicIndex> const& HowToPlayTopicIndexMap();
1874
1875MCNAPI ::std::string const& ICON_OVERLAY_FACTORY();
1876
1877MCNAPI ::ThirdPartyInfo const& INVALID_THIRD_PARTY_INFO();
1878#endif
1879
1880MCNAPI ::MCRESULT const& MCRESULT_ChatMuted();
1881
1882MCNAPI ::MCRESULT const& MCRESULT_CommandNotFound();
1883
1884MCNAPI ::MCRESULT const& MCRESULT_CommandRequestInitiated();
1885
1886MCNAPI ::MCRESULT const& MCRESULT_CommandStepFail();
1887
1888MCAPI ::MCRESULT const& MCRESULT_CommandsDisabled();
1889
1890MCNAPI ::MCRESULT const& MCRESULT_EncryptionRequired();
1891
1892MCAPI ::MCRESULT const& MCRESULT_ExecutionFail();
1893
1894MCAPI ::MCRESULT const& MCRESULT_FailedToParseCommand();
1895
1896MCNAPI ::MCRESULT const& MCRESULT_InvalidCommandContext();
1897
1898MCNAPI ::MCRESULT const& MCRESULT_InvalidCommandOrigin();
1899
1900MCNAPI ::MCRESULT const& MCRESULT_MalformedRequest();
1901
1902MCAPI ::MCRESULT const& MCRESULT_Success();
1903
1904MCNAPI ::MCRESULT const& MCRESULT_TooManyPendingRequests();
1905
1906MCNAPI ::std::bitset<39> const& PLAYER_ACTION_MOVEMENT_BITSET();
1907
1908MCNAPI ::std::bitset<39> const& PLAYER_ACTION_MOVEMENT_FLYING_ATTRIBUTE_BITSET();
1909
1910MCNAPI ::std::bitset<39> const& PLAYER_ACTION_MOVEMENT_SPEED_ATTRIBUTE_BITSET();
1911
1912MCNAPI ::HashedString const& SMOKER_TAG();
1913
1914MCNAPI ::HashedString const& SOUL_CAMPFIRE_TAG();
1915
1916MCNAPI ::std::unordered_map<
1917 ::TextProcessingEventOrigin,
1918 ::std::string,
1920 ::std::equal_to<::TextProcessingEventOrigin>> const&
1921TextProcessingEventOriginEnumMap();
1922
1923MCNAPI uint const& UNINITIALIZED_BLOCK_NETWORKID();
1924
1925MCNAPI ::std::array<::HashedString, 25> const& VanillaStructureFeatureTypes();
1926
1927#ifdef LL_PLAT_C
1928MCNAPI bool& _mi_cpu_has_fsrm();
1929
1930MCNAPI ::std::add_lvalue_reference_t<void*[]> _mi_externs();
1931
1932MCNAPI ::mi_heap_s*& _mi_heap_default();
1933
1934MCNAPI ::mi_heap_s const& _mi_heap_empty();
1935
1936MCNAPI ::mi_heap_s& _mi_heap_main();
1937
1938MCNAPI ::std::atomic<uint64>& _mi_numa_node_count();
1939
1940MCNAPI ::mi_page_s const& _mi_page_empty();
1941
1942MCNAPI bool& _mi_process_is_initialized();
1943
1944MCNAPI ::mi_stats_s& _mi_stats_main();
1945
1946MCNAPI ::std::unordered_map<int, ::std::string> const& autoUpdateModeLabels();
1947
1948MCNAPI ::std::unordered_map<int, ::std::string> const& blockLightQualityLabels();
1949
1950MCNAPI ::std::unordered_map<int, ::std::string> const& chatDurationLabels();
1951
1952MCNAPI ::std::unordered_map<int, ::std::string> const& cloudQualityLabels();
1953
1954MCNAPI ::std::unordered_map<int, ::std::string> const& contentLogGUILevelLables();
1955
1956MCNAPI ::std::unordered_map<int, ::std::string> const& debugHudLabels();
1957
1958MCNAPI ::std::unordered_map<int, ::std::string> const& deviceInfoMemoryTierLabels();
1959
1960MCNAPI ::std::unordered_map<int, ::std::string> const& difficultyLabels();
1961
1962MCNAPI ::std::unordered_map<int, ::std::string> const& discoveryEnvironmentLabels();
1963#endif
1964
1965#ifdef LL_PLAT_S
1966MCNAPI ::std::unordered_map<::std::string, ::DiscoveryEnvironment> const& discoveryEnvironmentStrings();
1967#endif
1968
1969MCNAPI ::std::unordered_map<::DiscoveryEnvironment, ::std::string> const& discoveryEnvironments();
1970
1971MCNAPI ::std::add_lvalue_reference_t<uint[]> englishCharacterFrequencies();
1972
1973MCNAPI ::SubChunkDelayedDeleter<::SubChunkStorage<::Biome>>& gBiomeChunkGC();
1974
1975MCNAPI ::SubChunkDelayedDeleter<::SubChunkStorage<::Block>>& gBlockStorageGC();
1976
1977MCAPI ::InternalTaskGroup& gInternalTaskGroup();
1978
1979MCNAPI ::SubChunkDelayedDeleter<::SubChunkBrightnessStorage>& gLightStorageGC();
1980
1981#ifdef LL_PLAT_C
1982MCNAPI ::MainGameCore::WinMain*& gWinMainInstance();
1983
1984MCNAPI bool& g_forceDLSSFallback_Dx12();
1985#endif
1986
1987#ifdef LL_PLAT_S
1988MCNAPI ::std::add_lvalue_reference_t<void* (*)(uint64, uint)> g_memAllocFunc();
1989
1990MCNAPI ::std::add_lvalue_reference_t<void (*)(void*, uint)> g_memFreeFunc();
1991
1992MCNAPI ::HCTraceImplArea& g_traceHTTPCLIENT();
1993
1994MCNAPI ::HCTraceImplArea& g_traceWEBSOCKET();
1995#endif
1996
1997#ifdef LL_PLAT_C
1998MCNAPI ::std::unordered_map<int, ::std::string> const& gameModeLabels();
1999
2000MCNAPI ::std::unordered_map<int, ::std::string> const& graphicsModeLabels();
2001
2002MCNAPI ::std::unordered_map<int, ::std::string> const& graphicsQualityPresetModeLabels();
2003
2004MCNAPI ::std::unordered_map<int, ::std::string> const& joystickVisibilityOptionLabels();
2005
2006MCNAPI ::std::unordered_map<int, ::std::string> const& partyInviteReceivedFilterLabels();
2007
2008MCNAPI ::std::unordered_map<int, ::std::string> const& partyInviteSendPrivilegesLabels();
2009
2010MCNAPI ::std::unordered_map<int, ::std::string> const& partyPrivacyLabels();
2011
2012MCNAPI ::std::unordered_map<::std::string, int> const& permissionsNameValuePairs();
2013
2014MCNAPI ::std::unordered_map<int, ::std::string> const& permissionsValueLabelPairs();
2015
2016MCNAPI ::std::unordered_map<int, ::std::string> const& permissionsValueTexturePairs();
2017
2018MCNAPI ::std::unordered_map<int, ::std::string> const& playerWaypointsLabels();
2019#endif
2020
2021MCNAPI ::std::add_lvalue_reference_t<void* (*)(uint64, char const*, uint)> rakMalloc_Ex();
2022
2023MCNAPI ::std::add_lvalue_reference_t<void* (*)(void*, uint64, char const*, uint)> rakRealloc_Ex();
2024
2025#ifdef LL_PLAT_C
2026MCNAPI ::std::unordered_map<int, ::std::string> const& realmsGameModeLabels();
2027
2028MCNAPI ::std::unordered_map<int, ::std::string> const& reflectionQualityLabels();
2029#endif
2030
2031#ifdef LL_PLAT_S
2032MCNAPI bool& s_AsyncLibEnablePumpingWait();
2033
2034MCNAPI ::std::atomic<uint>& s_AsyncLibGlobalStateCount();
2035#endif
2036
2037#ifdef LL_PLAT_C
2038MCNAPI ::std::unordered_map<int, ::std::string> const& scriptDebuggerAttachModeLabels();
2039
2040MCNAPI ::std::unordered_map<int, ::std::string> const& shadowQualityLabels();
2041
2042MCNAPI ::std::unordered_map<int, ::std::string> const& sneakOptionLabels();
2043
2044MCNAPI ::std::unordered_map<int, ::std::string> const& splitScreenLabels();
2045
2046MCNAPI ::std::unordered_map<int, ::std::string> const& storageLocationLabels();
2047
2048MCNAPI ::std::unordered_map<int, ::std::string> const& subtitlePositionLabels();
2049
2050MCNAPI ::std::unordered_map<int, ::std::string> const& thirdPersonLabels();
2051
2052MCNAPI ::std::unordered_map<int, ::std::string> const& toastsDurationLabels();
2053
2054MCNAPI ::std::unordered_map<int, ::std::string> const& topButtonScaleOptionLabels();
2055
2056MCNAPI ::std::unordered_map<int, ::std::string> const& typefaceLabels();
2057
2058MCNAPI ::std::unordered_map<int, ::std::string> const& uiProfileLabels();
2059
2060MCNAPI ::std::unordered_map<int, ::std::string> const& upscalingModeLabels();
2061
2062MCNAPI ::std::unordered_map<int, ::std::string> const& volumetricFogQualityLabels();
2063
2064MCNAPI ::std::unordered_map<int, ::std::string> const& vsyncLabels();
2065
2066MCNAPI ::std::add_lvalue_reference_t<int (*)(void*)> winrt_to_hresult_handler();
2067#endif
2068// NOLINTEND
Definition AABB.h:18
Definition ActorOwnerComponent.h:10
Definition ActorTickNeededComponent.h:13
Definition Actor.h:116
Definition BalloonComponent.h:16
Definition BaseCircuitComponent.h:19
Definition DispatcherInterface.h:17
Definition NonOwnerPointer.h:9
Definition IDiscoveryService.h:15
Definition StaticOptimizedString.h:10
Definition WorkerPoolHandleInterface.h:15
Definition Biome.h:23
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition BlockType.h:79
Definition Block.h:42
Definition BodyControlComponent.h:10
Definition BoostableComponent.h:13
Definition BreedableComponent.h:21
Definition CircuitComponentList.h:14
Definition CircuitSceneGraph.h:18
Definition CircuitTrackingInfo.h:14
Definition CommandBlockComponent.h:17
Definition CompoundTag.h:18
Definition FileStorageArea.h:30
Definition File.h:20
Definition PathView.h:19
Definition Path.h:10
Definition DamageOverTimeComponent.h:5
Definition DanceComponent.h:10
Definition DataDrivenRenderer.h:5
Definition DataLoadHelper.h:20
Definition DebuggerStat.h:10
Definition DimensionHeightRange.h:5
Definition EntityContext.h:15
Definition EntityModifier.h:6
Definition ExplodeComponent.h:17
Definition ExprToken.h:5
Definition ExpressionNode.h:35
Definition HashedString.h:5
Definition HopperComponent.h:14
Definition I18n.h:19
Definition IAppPlatform.h:15
Definition IClientInstance.h:5
Definition IConstBlockSource.h:25
Definition IFileAccess.h:15
Definition ILevel.h:223
Definition IMinecraftEventing.h:152
Definition IOptionRegistry.h:5
Definition InsomniaComponent.h:12
Definition InternalTaskGroup.h:18
Definition InventoryContentPacket.h:19
Definition ItemInstance.h:15
Definition ItemRegistryRef.h:36
Definition ItemStack.h:26
Definition ItemUseInventoryTransaction.h:21
Definition ItemUseOnActorInventoryTransaction.h:20
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition Value.h:16
Definition LevelChunk.h:76
Definition LevelData.h:57
Definition LevelTickTrackingComponent.h:8
Definition LinkedAssetValidator.h:9
Definition ListTag.h:19
Definition WinMain.h:7
Definition Matrix.h:10
Definition NavigationComponent.h:18
Definition OptionRegistry.h:5
Definition Optional.h:8
Definition PackInstance.h:16
Definition ParticleEffectComponentRegistry.h:7
Definition Player.h:131
Definition PoolAliasBinding.h:10
Definition Input.h:18
Definition Logger.h:12
Definition RakPeerInterface.h:32
Definition RecipeIngredient.h:8
Definition Recipe.h:32
Definition RedstoneTorchCapacitor.h:19
Definition ScriptPluginResult.h:9
Definition ModuleBindingBuilder.h:22
Definition SearchQuery.h:5
Definition SemVersion.h:15
Definition ShapedRecipe.h:16
Definition ShapelessRecipe.h:16
Definition Event.h:18
Definition IUserManager.h:7
Definition MultiplayerServiceManager.h:7
Definition StrictEntityContext.h:8
Definition SubChunkBrightnessStorage.h:5
Definition TeleportComponent.h:15
Definition TextPacket.h:19
Definition ThirdPartyInfo.h:5
Definition TraceState.h:5
Definition TransformationComponent.h:10
Definition TrialManager.h:5
Definition TrimDataPacket.h:19
Definition TrimMaterialRegistry.h:13
Definition TrimPatternRegistry.h:14
Definition UIControl.h:5
Definition UIPropertyBag.h:5
Definition Vec2.h:5
Definition Vec3.h:10
Definition ViewT.h:6
Definition WorkerPool.h:22
Definition WorldSeedModel.h:5
Definition copyable_function.h:8
Definition function_ref.h:60
Definition move_only_function.h:9
Definition Binder.h:7
Definition http_stl_allocator.h:6
Definition Color.h:13
Definition UUID.h:8
Definition FrameBuilder.h:7
Definition AABBShapeComponent.h:9
Definition ActorDataControllingSeatIndexComponent.h:8
Definition ActorDataFlagComponent.h:9
Definition ActorDefinitionIdentifier.h:15
Definition ActorHeadRotationComponent.h:5
Definition ActorRotationComponent.h:8
Definition AgentCapabilities.h:5
Definition AirSpeedComponent.h:8
Definition AirTravelFlagComponent.h:5
Definition AnyWorkItem.h:14
Definition BakedRenderControllerResults.h:5
Definition DiscoveryConfig.h:7
Definition BlockLayer.h:10
Definition BossComponent.h:20
Definition BurnsInDaylightComponent.h:8
Definition CanStandOnPowderSnowComponent.h:5
Definition CanStandOnPowderSnowFromEquipmentComponent.h:5
Definition CloudConfiguration.h:5
Definition CommonLocTextPair.h:5
Definition ContentCatalogQueryData.h:5
Definition CurrentTickComponent.h:8
Definition DashActionComponent.h:5
Definition DashJumpFlagComponent.h:5
Definition DataDrivenRendererPool.h:5
Definition DataDrivenRendererPreprocessingContext.h:5
Definition DimensionType.h:5
Definition DurableSearchResults.h:5
Definition ExtractedDataDataDrivenModel.h:5
Definition ExtractedRenderController.h:5
Definition FallDistanceComponent.h:5
Definition FlatWorldLayer.h:8
Definition FlatWorldPreset.h:15
Definition GlidingTravelFlagComponent.h:5
Definition GroundTravelFlagComponent.h:5
Definition HCTraceImplArea.h:5
Definition HC_CALL.h:14
Definition HorseWasOnGroundPreTravelComponent.h:5
Definition IMarketplacePackDownloader.h:15
Definition ImmuneToLavaDragComponent.h:5
Definition IteratePackResult.h:5
Definition JumpPendingScaleComponent.h:8
Definition KeyOrNameResult.h:5
Definition KineticDamageSettings.h:15
Definition LavaTravelFlagComponent.h:5
Definition LiquidTravelFlagComponent.h:5
Definition MCRESULT.h:8
Definition MapSample.h:13
Definition MobBodyRotationComponent.h:5
Definition MobFlagComponent.h:5
Definition MobIsJumpingFlagComponent.h:5
Definition MobTravelComponent.h:8
Definition ModificationOperation.h:5
Definition MovementAbilitiesComponent.h:5
Definition MovementAttributesComponent.h:5
Definition MovementInterpolatorComponent.h:14
Definition OnGroundFlagComponent.h:5
Definition PackIdVersion.h:10
Definition PackMaps.h:5
Definition ParseJsonResult.h:5
Definition PlayerComponent.h:5
Definition PlayerFlyingTravelComponent.h:5
Definition PlayerPositionModeComponent.h:5
Definition PlayerPreMobTravelComponent.h:8
Definition PowerJumpFlagComponent.h:5
Definition RakPeerConfiguration.h:7
Definition RealmsWorldInfo.h:5
Definition ReceiptFulfillment.h:13
Definition ResourceOffset.h:5
Definition ShapedRecipePayload.h:17
Definition ShapelessRecipePayload.h:17
Definition ComponentItemData.h:18
Definition TradeGroup.h:12
Definition TradeItemList.h:12
Definition TradeItem.h:17
Definition CameraPresetFile.h:15
Definition SkinPackMeta.h:5
Definition SpecificEnchantFunction.h:27
Definition StateVectorComponent.h:8
Definition SubBBsComponent.h:10
Definition TextProcessingEventOriginEnumHasher.h:5
Definition TimerComponent.h:15
Definition TradeItem.h:13
Definition TriggerJumpRequestComponent.h:8
Definition VehicleComponent.h:10
Definition WasInLavaFlagComponent.h:5
Definition WasInWaterFlagComponent.h:5
Definition WaterTravelFlagComponent.h:5
Definition WorkerConfiguration.h:8
Definition WorldTemplateInfo.h:12
Definition XAsyncBlock.h:10
Definition ReflectionCtx.h:11
Definition cgltf_anisotropy.h:5
Definition cgltf_attribute.h:5
Definition cgltf_data.h:5
Definition cgltf_diffuse_transmission.h:5
Definition cgltf_dispersion.h:5
Definition cgltf_extension.h:5
Definition cgltf_file_options.h:5
Definition cgltf_iridescence.h:5
Definition cgltf_material_mapping.h:5
Definition cgltf_memory_options.h:5
Definition cgltf_options.h:5
Definition cgltf_texture_view.h:5
Definition context.h:5
Definition ctx.h:5
Definition jsmn_parser.h:5
Definition BufferResourceService.h:7
Definition PerCascadeRenderingParameters.h:7
Definition ShadowRange.h:7
Definition mi_block_s.h:5
Definition mi_commit_mask_s.h:5
Definition mi_heap_s.h:5
Definition mi_memid_s.h:5
Definition mi_os_mem_config_s.h:5
Definition mi_os_tld_s.h:5
Definition mi_page_queue_s.h:5
Definition mi_page_s.h:5
Definition mi_process_info_s.h:5
Definition mi_random_cxt_s.h:5
Definition mi_segment_s.h:5
Definition mi_segments_tld_s.h:5
Definition mi_stat_count_s.h:5
Definition mi_stat_counter_s.h:5
Definition mi_stats_s.h:5
Definition srtp_auth_t.h:5