LeviLamina
Loading...
Searching...
No Matches
SharedConstants.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/codebuilder/ProtocolVersion.h"
7#include "mc/world/level/chunk/ActorDigestFormat.h"
8#include "mc/world/level/chunk/BlendVersion.h"
9#include "mc/world/level/chunk/LevelChunkFormat.h"
10#include "mc/world/level/chunk/SubChunkFormat.h"
11#include "mc/world/level/storage/StorageVersion.h"
12
13// auto generated forward declare list
14// clang-format off
15class GameVersion;
17// clang-format on
18
19namespace SharedConstants {
20// functions
21// NOLINTBEGIN
22#ifdef LL_PLAT_C
23MCAPI int getVersionCode();
24#endif
25// NOLINTEND
26
27// static variables
28// NOLINTBEGIN
29MCAPI ::CodeBuilder::ProtocolVersion const& CodeBuilderProtocolVersion();
30
31MCAPI ::ActorDigestFormat const& CurrentActorDigestFormat();
32
33MCAPI ::BlendVersion const& CurrentBlendVersion();
34
35MCAPI ::SemVersionConstant const& CurrentGameSemVersion();
36
37MCAPI ::LevelChunkFormat const& CurrentLevelChunkFormat();
38
39MCAPI ::StorageVersion const& CurrentStorageVersion();
40
41MCAPI ::SubChunkFormat const& CurrentSubChunkFormat();
42
43#ifdef LL_PLAT_C
44MCAPI bool const& DebugSettingsEnabled();
45
46MCAPI bool const& DevInitiallyMuteMusic();
47#endif
48
49MCAPI uint64 const& DeviceIdMaxLength();
50
51#ifdef LL_PLAT_C
52MCAPI int const& EduDiscoveryProtocolVersion();
53
54MCAPI bool const& IsAdvancedGraphicsEnabled();
55
56MCAPI bool const& IsAndroidPlatform();
57#endif
58
59MCAPI bool const& IsAnyBeta();
60
61#ifdef LL_PLAT_C
62MCAPI bool const& IsBeta();
63
64MCAPI bool const& IsCreatorEditorBuild();
65
66MCAPI bool const& IsDevBuild();
67
68MCAPI bool const& IsIosPlatform();
69
70MCAPI bool const& IsNxPlatform();
71
72MCAPI bool const& IsPS4Platform();
73
74MCAPI bool const& IsPS5Platform();
75
76MCAPI bool const& IsPlaytest();
77
78MCAPI bool const& IsPreviewApp();
79
80MCAPI bool const& IsSonyPlatform();
81
82MCAPI bool const& IsSupportingFramePacing();
83
84MCAPI bool const& IsUsingOptimizedFrameBuilder();
85
86MCAPI bool const& IsXboxPlatform();
87#endif
88
89MCAPI int const& MajorVersion();
90
91MCAPI ::std::add_lvalue_reference_t<char const[]> MajorVersionStringFormated();
92
93#ifdef LL_PLAT_C
94MCAPI int const& MaxChatLength();
95#endif
96
97MCAPI uint const& MinTickingChunksRadius();
98
99MCAPI ::GameVersion const& MinimumCompatibleGameVersionForLevelData();
100
101MCAPI int const& MinorVersion();
102
103MCAPI ::std::add_lvalue_reference_t<char const[]> MinorVersionStringFormated();
104
105MCAPI ushort const& NetworkDefaultGamePort();
106
107MCAPI ushort const& NetworkDefaultGamePortv6();
108
109MCAPI int const& NetworkDefaultMaxConnections();
110
111MCAPI ushort const& NetworkEphemeralPort();
112
113MCAPI int const& NetworkMaxPlayerCount();
114
115MCAPI int const& NetworkProtocolVersion();
116
117MCAPI int const& PatchVersion();
118
119MCAPI ::std::add_lvalue_reference_t<char const[]> PatchVersionStringFormated();
120
121MCAPI int const& RevisionVersion();
122
123#ifdef LL_PLAT_S
124MCAPI ::std::add_lvalue_reference_t<char const[]> RevisionVersionStringFormated();
125#endif
126
127#ifdef LL_PLAT_C
128MCAPI int const& StoreVersion();
129
130MCAPI bool const& TestInfraEnabled();
131
132MCAPI bool const& XboxLiveEnabled();
133#endif
134// NOLINTEND
135
136} // namespace SharedConstants
Definition GameVersion.h:10
Definition SemVersionConstant.h:8