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