LeviLamina
Loading...
Searching...
No Matches
PropertiesSettings.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/config/ChatRestrictionLevel.h"
7#include "mc/deps/core/debug/log/LogLevel.h"
8#include "mc/deps/nether_net/LogSeverity.h"
9#include "mc/deps/nether_net/NetworkID.h"
10#include "mc/deps/shared_types/legacy/Difficulty.h"
11#include "mc/external/lib_http_client/HCTraceLevel.h"
12#include "mc/network/NetworkAddress.h"
13#include "mc/network/NetworkPermissions.h"
14#include "mc/network/NetworkSettingOptions.h"
15#include "mc/network/ServerPlayerJoinBehavior.h"
16#include "mc/network/TransportLayer.h"
17#include "mc/network/services/discovery/DiscoveryConfig.h"
18#include "mc/options/EducationServicesEnvironment.h"
19#include "mc/scripting/ScriptSettings.h"
20#include "mc/server/commands/CommandPermissionLevel.h"
21#include "mc/server/commands/PlayerPermissionLevel.h"
22#include "mc/server/config/server_configuration/ServerConfigurationJoinInfo.h"
23#include "mc/world/actor/player/PlayerMovementSettings.h"
24#include "mc/world/level/GameType.h"
25#include "mc/world/level/GeneratorType.h"
26
27// auto generated forward declare list
28// clang-format off
29struct MappedPorts;
30// clang-format on
31
32struct PropertiesSettings {
33public:
34 // PropertiesSettings inner types declare
35 // clang-format off
36 struct TelemetrySettings;
37 // clang-format on
38
39 // PropertiesSettings inner types define
40 struct TelemetrySettings {
41 public:
42 // member variables
43 // NOLINTBEGIN
46 // NOLINTEND
47
48 public:
49 // prevent constructor by default
50 TelemetrySettings& operator=(TelemetrySettings const&);
51 TelemetrySettings(TelemetrySettings const&);
52 TelemetrySettings();
53 };
54
55public:
56 // member variables
57 // NOLINTBEGIN
58 ::ll::TypedStorage<8, 32, ::std::string> mLevelSeed;
59 ::ll::TypedStorage<8, 32, ::std::string> mLevelName;
60 ::ll::TypedStorage<4, 4, ::GeneratorType> mGeneratorType;
61 ::ll::TypedStorage<8, 32, ::std::string> mServerName;
62 ::ll::TypedStorage<2, 2, ushort> mServerPort;
63 ::ll::TypedStorage<2, 2, ushort> mServerPortv6;
64 ::ll::TypedStorage<4, 4, int> mMaxPlayers;
65 ::ll::TypedStorage<1, 1, ::CommandPermissionLevel> mOpPermissionLevel;
66 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::Difficulty> mDifficulty;
67 ::ll::TypedStorage<8, 32, ::std::string> mServerType;
68 ::ll::TypedStorage<4, 4, ::GameType> mGameType;
69 ::ll::TypedStorage<8, 32, ::std::string> mLanguage;
70 ::ll::TypedStorage<4, 4, uint> mMaxThreads;
71 ::ll::TypedStorage<4, 4, int> mServerTickRange;
72 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mExtraTrustedKeys;
73 ::ll::TypedStorage<1, 1, bool> mUseAllowList;
74 ::ll::TypedStorage<1, 1, bool> mIsOnlineMode;
75 ::ll::TypedStorage<4, 4, uint> mServiceKeysRetryTimeoutSeconds;
76 ::ll::TypedStorage<1, 1, bool> mForceGameMode;
77 ::ll::TypedStorage<1, 1, bool> mAllowCheats;
78 ::ll::TypedStorage<1, 1, bool> mIsHardcore;
79 ::ll::TypedStorage<1, 1, bool> mAdventureModeOverridesEnabled;
80 ::ll::TypedStorage<1, 1, bool> mDisablePlayerInteractions;
81 ::ll::TypedStorage<1, 1, bool> mTexturePackRequired;
82 ::ll::TypedStorage<1, 1, bool> mUseMsaGamertagsOnly;
83 ::ll::TypedStorage<1, 1, bool> mEnableItemStackNetManager;
84 ::ll::TypedStorage<1, 1, bool> mIsItemTransactionLoggingEnabled;
85 ::ll::TypedStorage<1, 1, bool> mIsServerVisibleToLanDiscovery;
86 ::ll::TypedStorage<1, 1, bool> mIsPacketRateLimitingEnabled;
87 ::ll::TypedStorage<1, 1, bool> mIsPacketReceiptEventingEnabled;
88 ::ll::TypedStorage<1, 1, bool> mEncryptionDisabled;
89 ::ll::TypedStorage<4, 4, int> mMaxViewDistanceChunks;
90 ::ll::TypedStorage<4, 4, ::std::chrono::minutes> mMaxIdleTime;
91 ::ll::TypedStorage<4, 4, int> mServerWakeupFrequency;
92 ::ll::TypedStorage<4, 4, ::TransportLayer> mTransportLayerType;
93 ::ll::TypedStorage<8, 24, ::NetherNet::NetworkID> mNetherNetId;
94 ::ll::TypedStorage<1, 1, bool> mDisableTrickleIce;
95 ::ll::TypedStorage<1, 1, bool> mUseJsonRpc;
96 ::ll::TypedStorage<8, 40, ::NetworkAddress> mRemoteServerCommunicationEndpoint;
97 ::ll::TypedStorage<1, 1, ::PlayerPermissionLevel> mDefaultPlayerPermissionLevel;
98 ::ll::TypedStorage<1, 1, bool> mDisableClientVibrantVisuals;
99 ::ll::TypedStorage<4, 4, ::std::bitset<3>> mServerTextSettings;
100 ::ll::TypedStorage<1, 1, bool> mEmitServerTelemetry;
101 ::ll::TypedStorage<4, 4, ::LogLevel> mContentLogLevel;
102 ::ll::TypedStorage<1, 1, bool> mIsContentLogConsoleOutputEnabled;
103 ::ll::TypedStorage<1, 1, bool> mIsContentLogFileEnabled;
104 ::ll::TypedStorage<4, 4, ::NetherNet::LogSeverity> mTransportLogLevel;
105 ::ll::TypedStorage<4, 4, ::HCTraceLevel> mHttpLogLevel;
106 ::ll::TypedStorage<4, 4, float> mWebsocketRetryTime;
107 ::ll::TypedStorage<1, 1, bool> mUseWebsocketEncryption;
108 ::ll::TypedStorage<4, 20, ::NetworkSettingOptions> mNetworkSettings;
109 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::string>> mCustomProperties;
110 ::ll::TypedStorage<8, 64, ::PlayerMovementSettings> mPlayerMovementSettings;
111 ::ll::TypedStorage<8, 760, ::ScriptSettings> mScriptSettings;
112 ::ll::TypedStorage<1, 1, ::ChatRestrictionLevel> mChatRestrictionLevel;
113 ::ll::TypedStorage<1, 1, bool> mPersonaDisabled;
114 ::ll::TypedStorage<1, 1, bool> mCustomSkinsDisabled;
115 ::ll::TypedStorage<1, 1, bool> mEmoteChatMute;
116 ::ll::TypedStorage<1, 1, bool> mClientSideGenerationEnabled;
117 ::ll::TypedStorage<4, 8, ::std::optional<float>> mServerBuildRatioOverride;
118 ::ll::TypedStorage<1, 1, bool> mUseHashesForBlockRuntimeIds;
119 ::ll::TypedStorage<1, 1, bool> mBlockNetworkIdsAreHashes;
120 ::ll::TypedStorage<1, 1, bool> mRakNetJoinFloodProtection;
121 ::ll::TypedStorage<1, 1, bool> mAllowUnconnectedPings;
122 ::ll::TypedStorage<1, 1, bool> mAllowSubClientLogin;
123 ::ll::TypedStorage<1, 1, ::NetworkPermissions> mNetworkPermissions;
124 ::ll::TypedStorage<4, 4, ::ServerPlayerJoinBehavior> mPlayerJoinBehavior;
125 ::ll::TypedStorage<8, 32, ::std::string> mAppId;
126 ::ll::TypedStorage<8, 32, ::std::string> mAppTenantId;
127 ::ll::TypedStorage<8, 32, ::std::string> mServerPublicIP;
128 ::ll::TypedStorage<8, 24, ::std::vector<::MappedPorts>> mPortMappings;
129 ::ll::TypedStorage<4, 8, ::Bedrock::Services::DiscoveryConfig> mDiscoveryConfig;
130 ::ll::TypedStorage<1, 1, bool> mRealmsStoriesEnabled;
131 ::ll::TypedStorage<1, 1, bool> mProfilerEnabled;
132 ::ll::TypedStorage<4, 4, ::EducationServicesEnvironment> mEducationServicesEnvironment;
133 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::string>> mServiceOverrides;
134 ::ll::TypedStorage<4, 8, ::std::optional<uint>> mScriptSentryMaxEventsPerWindow;
135 ::ll::TypedStorage<8, 16, ::std::optional<::std::chrono::seconds>> mScriptSentryRateLimitWindow;
136 ::ll::TypedStorage<8, 160, ::PropertiesSettings::TelemetrySettings> mTelemetry;
137 ::ll::TypedStorage<8, 360, ::ServerConfiguration::ServerConfigurationJoinInfo> mServerConfiguration;
138 ::ll::TypedStorage<1, 1, bool> mEditorNetworkMetricsEnabled;
139 // NOLINTEND
140
141public:
142 // member functions
143 // NOLINTBEGIN
144 MCAPI PropertiesSettings();
145
146 MCAPI ~PropertiesSettings();
147 // NOLINTEND
148
149public:
150 // constructor thunks
151 // NOLINTBEGIN
152 MCAPI void* $ctor();
153 // NOLINTEND
154
155public:
156 // destructor thunk
157 // NOLINTBEGIN
158 MCAPI void $dtor();
159 // NOLINTEND
160};
Definition MappedPorts.h:5
Definition PropertiesSettings.h:40
Definition Alias.h:14