LeviLamina
Loading...
Searching...
No Matches
ServerNetworkHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/SubClientId.h"
7#include "mc/comprehensive/ParticleType.h"
8#include "mc/deps/core/minecraft/threading/EnableQueueForMainThread.h"
9#include "mc/deps/core/threading/SharedAsync.h"
10#include "mc/deps/core/utility/NonOwnerPointer.h"
11#include "mc/deps/core/utility/ServiceReference.h"
12#include "mc/deps/core/utility/optional_ref.h"
13#include "mc/deps/game_refs/OwnerPtr.h"
14#include "mc/network/IncomingPacketFilterResult.h"
15#include "mc/network/MinecraftPacketIds.h"
16#include "mc/network/NetEventCallback.h"
17#include "mc/network/NetworkIdentifier.h"
18#include "mc/network/NetworkServerConfig.h"
19#include "mc/network/OutgoingPacketFilterResult.h"
20#include "mc/network/PacketViolationResponse.h"
21#include "mc/network/XboxLiveUserObserver.h"
22#include "mc/network/connection/DisconnectFailReason.h"
23#include "mc/network/connection/DisconnectionStage.h"
24#include "mc/platform/MultiplayerServiceObserver.h"
25#include "mc/platform/UUID.h"
26#include "mc/platform/threading/Mutex.h"
27#include "mc/server/DenyList.h"
28#include "mc/server/ServerTextEvent.h"
29#include "mc/server/commands/PlayerPermissionLevel.h"
30#include "mc/world/level/LevelListener.h"
31
32// auto generated forward declare list
33// clang-format off
34class Abilities;
35class ActorEventPacket;
36class ActorPickRequestPacket;
37class AllowList;
38class AnimatePacket;
39class AnvilDamagePacket;
40class AppConfigs;
43class BlockActorDataPacket;
44class BlockPickRequestPacket;
45class BlockSource;
46class BookEditPacket;
47class BossEventPacket;
48class ChangeMobPropertyPacket;
51class ClientCacheStatusPacket;
52class ClientCameraAimAssistPacket;
54class ClientToServerHandshakePacket;
55class CodeBuilderSourcePacket;
58class CompletedUsingItemPacket;
60class ContainerClosePacket;
61class CreatePhotoPacket;
62class DebugInfoPacket;
64class EditorNetworkPacket;
65class EmoteListPacket;
66class EmotePacket;
67class EntityContext;
68class GameCallbacks;
72class IEDUSystems;
73class ILevel;
74class IMinecraftApp;
76class InteractPacket;
79class LabTablePacket;
81class LevelSoundEventPacket;
82class LoginPacket;
83class MapCreateLockedCopyPacket;
84class MapInfoRequestPacket;
89class ModalFormResponsePacket;
90class MultiplayerSettingsPacket;
91class NetworkStackLatencyPacket;
92class NpcRequestPacket;
94class Packet;
95class PacketSender;
96class PermissionsFile;
98class PhotoTransferPacket;
99class Player;
100class PlayerActionPacket;
103class PlayerSkinPacket;
104class PlayerToggleCrafterSlotRequestPacket;
105class PositionTrackingDBClientRequestPacket;
108class RequestAbilityPacket;
109class RequestChunkRadiusPacket;
110class RequestNetworkSettingsPacket;
111class RequestPermissionsPacket;
112class ResourcePackChunkRequestPacket;
115class RespawnPacket;
116class Scheduler;
117class ScriptMessagePacket;
118class SerializedSkin;
119class ServerLocator;
121class ServerPlayer;
122class ServerboundDiagnosticsPacket;
123class ServerboundLoadingScreenPacket;
124class ServerboundPackSettingChangePacket;
125class SetDefaultGameTypePacket;
126class SetDifficultyPacket;
127class SetLocalPlayerAsInitializedPacket;
128class SetPlayerGameTypePacket;
129class SetPlayerInventoryOptionsPacket;
130class SettingsCommandPacket;
131class ShowCreditsPacket;
132class SimpleEventPacket;
133class SpawnExperienceOrbPacket;
135class StructureTemplateDataRequestPacket;
136class SubChunkPacket;
140class TaskGroup;
142class TextPacket;
143class UpdateClientOptionsPacket;
144class UpdatePlayerGameTypePacket;
146class Vec3;
147struct ActorUniqueID;
148struct AsyncJoinError;
149struct ChatEvent;
151struct MessToken;
153struct PackIdVersion;
154namespace Automation { class AutomationClient; }
155namespace Bedrock::Safety { class RedactableString; }
156namespace ClientBlobCache::Server { class ActiveTransfersManager; }
157namespace ResourcePackPathLifetimeHelpers { class ResourcePackPathCache; }
158namespace Social { class GameConnectionInfo; }
159namespace Social { class MultiplayerServiceManager; }
160// clang-format on
161
163 public ::NetEventCallback,
164 public ::LevelListener,
167public:
168 // ServerNetworkHandler inner types declare
169 // clang-format off
170 class Client;
172 // clang-format on
173
174 // ServerNetworkHandler inner types define
176 public:
177 // member variables
178 // NOLINTBEGIN
180 // NOLINTEND
181
182 public:
183 // prevent constructor by default
187 };
188
189 class Client {
190 public:
191 // member variables
192 // NOLINTBEGIN
193 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ConnectionRequest>> mPrimaryRequest;
194 ::ll::TypedStorage<8, 64, ::std::unordered_map<::SubClientId, ::std::unique_ptr<::SubClientConnectionRequest>>>
195 mSubClientRequests;
196 // NOLINTEND
197
198 public:
199 // member functions
200 // NOLINTBEGIN
201 MCNAPI void removeSubClientRequest(::SubClientId subClientId);
202 // NOLINTEND
203 };
204
205public:
206 // member variables
207 // NOLINTBEGIN
208 ::ll::TypedStorage<
209 8,
210 64,
211 ::std::unordered_map<::NetworkIdentifier, ::std::unique_ptr<::ServerNetworkHandler::Client>>>
212 mClients;
213 ::ll::TypedStorage<8, 8, ::GameCallbacks&> mGameCallbacks;
214 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::ILevel>> mLevel;
215 ::ll::TypedStorage<8, 8, ::ServerNetworkSystem&> mNetwork;
216 ::ll::TypedStorage<8, 8, ::PrivateKeyManager&> mServerKeys;
217 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::MinecraftServiceKeyManager>> mMinecraftServiceKeys;
218 ::ll::TypedStorage<8, 8, ::ServerLocator&> mServerLocator;
219 ::ll::TypedStorage<8, 8, ::gsl::not_null<::PacketSender*>> mPacketSender;
220 ::ll::TypedStorage<1, 1, bool> mUseAllowList;
221 ::ll::TypedStorage<8, 8, ::AllowList&> mAllowList;
222 ::ll::TypedStorage<8, 8, ::PermissionsFile*> mPermissionsFile;
223 ::ll::TypedStorage<8, 104, ::DenyList> mServerDenyList;
224 ::ll::TypedStorage<8, 72, ::NetworkServerConfig> mNetworkServerConfig;
225 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PackSettingsCache>> mPackSettingsCache;
226 ::ll::TypedStorage<1, 1, bool> mHasDisplayedPackErrors;
227 ::ll::TypedStorage<8, 176, ::NetworkIdentifier> mMyId;
228 ::ll::TypedStorage<4, 4, int const> mMaxChunkRadius;
229 ::ll::TypedStorage<8, 8, ::MinecraftCommands&> mMinecraftCommands;
230 ::ll::TypedStorage<8, 8, ::IMinecraftApp&> mApp;
231 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::TextFilteringProcessor>> mTextFilteringProcessor;
232 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientBlobCache::Server::ActiveTransfersManager>> mClientCacheManager;
233 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint64, ::std::string>> mServerStorageForClientsConnectingAttempt;
234 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClassroomModeNetworkHandler>> mCompanionHandler;
235 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mValidatePlayerMutex;
236 ::ll::TypedStorage<1, 1, bool> mAllowIncoming;
237 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IServerNetworkController>> mServerNetworkController;
238 ::ll::TypedStorage<8, 32, ::std::string> mServerName;
239 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mTrustedKeys;
240 ::ll::TypedStorage<4, 4, int> mMaxNumPlayers;
241 ::ll::TypedStorage<8, 64, ::std::unordered_set<::mce::UUID>> mKnownEmotePieceIdLookup;
242 ::ll::TypedStorage<8, 24, ::std::vector<::mce::UUID>> mKnownEmotePieceIds;
243 ::ll::TypedStorage<
244 8,
245 64,
246 ::std::unordered_map<
247 uint64,
248 ::std::unordered_map<::std::string, ::std::shared_ptr<::ResourcePackFileUploadManager>>>>
249 mResourceUploadManagers;
250 ::ll::TypedStorage<8, 16, ::gsl::not_null<::std::shared_ptr<::Bedrock::Threading::SharedAsync<void>>>>
251 mPreviousUpload;
252 ::ll::
253 TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::ResourcePackPathLifetimeHelpers::ResourcePackPathCache>>>
254 mResourcePackPathCache;
255 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::TaskGroup>>> mAsyncJoinTaskGroup;
256 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::AsyncJoinTaskManager>>> mAsyncJoinTaskManager;
257 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
258 ::ll::TypedStorage<1, 1, bool> mIsTrial;
259 ::ll::TypedStorage<8, 64, ::std::unordered_map<::PackIdVersion, ::std::string>> mPackIdToContentKey;
260 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GameSpecificNetEventCallback>> mGameSpecificNetEventCallback;
261 ::ll::TypedStorage<
262 8,
263 64,
264 ::std::unordered_map<::NetworkIdentifier, ::std::unique_ptr<::ServerNetworkHandler::TransferBuilderBatcher>>>
265 mTransferBuilderBatcher;
266 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GameTestNetworkAdapter>> mGameTestAdapter;
267 ::ll::TypedStorage<8, 40, ::ServiceReference<::AppConfigs>> mAppConfigs;
268 ::ll::TypedStorage<8, 40, ::ServiceReference<::Social::MultiplayerServiceManager>> mMultiplayerServiceManager;
269 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BiomeDefinitionListPacket const>> mBiomeDefinitionListWithoutCSCG;
270 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BiomeDefinitionListPacket const>> mBiomeDefinitionListWithCSCG;
271 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::IEDUSystems>> mEduSystems;
272 ::ll::TypedStorage<8, 32, ::std::string> mServerId;
273 ::ll::TypedStorage<8, 32, ::std::string> mScenarioId;
274 ::ll::TypedStorage<8, 32, ::std::string> mWorldId;
275 ::ll::TypedStorage<8, 32, ::std::string> mOwnerId;
276 // NOLINTEND
277
278public:
279 // prevent constructor by default
283
284public:
285 // virtual functions
286 // NOLINTBEGIN
287 // vIndex: 0
288 virtual ~ServerNetworkHandler() /*override*/;
289
290 // vIndex: 5
291 virtual void onValidPacketReceived(
292 ::NetworkIdentifier const& netId,
293 ::MinecraftPacketIds packetId,
294 ::SubClientId senderSubId,
295 ::SubClientId
296 ) /*override*/;
297
298 // vIndex: 10
299 virtual void onWebsocketRequest(
300 ::std::string const& serverAddress,
301 ::std::string const& payload,
302 ::std::function<void()> errorCallback
303 ) /*override*/;
304
305 // vIndex: 2
306 virtual void onInvalidPlayerJoinedLobby(::mce::UUID const& uuid, ::std::string const& xuid) /*override*/;
307
308 // vIndex: 2
309 virtual void onXboxUserBlocked(::std::string const& xuid) /*override*/;
310
311 // vIndex: 3
312 virtual void onXboxUserUnblocked(::std::string const& xuid) /*override*/;
313
314 // vIndex: 1
315 virtual void onPlayerReady(::Player& player) /*override*/;
316
317 // vIndex: 11
318 virtual void handlePacketViolation(
319 ::std::shared_ptr<::IPacketSecurityController> const& packetSecurityController,
320 ::std::error_code const& errorCode,
321 ::PacketViolationResponse const response,
322 ::MinecraftPacketIds const packetId,
323 ::std::string&& context,
324 ::NetworkIdentifier const& netId,
325 ::SubClientId const clientSubId,
326 ::SubClientId const senderSubId,
327 uint const packetSize
328 ) /*override*/;
329
330 // vIndex: 12
331 virtual void sendPacketViolationWarningPacket(
332 ::std::error_code const& errorCode,
333 ::PacketViolationResponse violationResponse,
334 ::MinecraftPacketIds violatingPacketId,
335 ::std::string const& context,
336 ::NetworkIdentifier const& netId,
337 ::SubClientId clientSubId
338 ) /*override*/;
339
340 // vIndex: 10
341 virtual void sendServerLegacyParticle(::ParticleType name, ::Vec3 const& pos, ::Vec3 const&, int data) /*override*/;
342
343 // vIndex: 13
344 virtual void
345 onTransferRequest(::NetworkIdentifier const& id, ::Social::GameConnectionInfo const& destination) /*override*/;
346
347 // vIndex: 7
348 virtual void onDisconnect(
349 ::NetworkIdentifier const& id,
350 ::Connection::DisconnectFailReason const discoReason,
351 ::Connection::DisconnectionStage const disconnectStage,
352 ::std::string const& message,
353 bool skipMessage,
354 ::std::string const& telemetryOverride
355 ) /*override*/;
356
357 // vIndex: 8
358 virtual ::IncomingPacketFilterResult allowIncomingPacketId(
359 ::NetworkIdentifierWithSubId const& sender,
360 ::MinecraftPacketIds packetId,
361 uint64 packetSize
362 ) /*override*/;
363
364 // vIndex: 9
365 virtual ::OutgoingPacketFilterResult
366 allowOutgoingPacket(::std::vector<::NetworkIdentifierWithSubId> const& ids, ::Packet const& packet) /*override*/;
367
368 // vIndex: 190
369 virtual void handle(::NetworkIdentifier const& source, ::ActorEventPacket const& packet) /*override*/;
370
371 // vIndex: 192
372 virtual void handle(::NetworkIdentifier const& source, ::ActorPickRequestPacket const& packet) /*override*/;
373
374 // vIndex: 164
375 virtual void handle(::NetworkIdentifier const& source, ::AnimatePacket const& packet) /*override*/;
376
377 // vIndex: 163
378 virtual void
379 handle(::NetworkIdentifier const& source, ::std::shared_ptr<::BlockActorDataPacket> packet) /*override*/;
380
381 // vIndex: 193
382 virtual void handle(::NetworkIdentifier const& source, ::BlockPickRequestPacket const& packet) /*override*/;
383
384 // vIndex: 77
385 virtual void handle(::NetworkIdentifier const& source, ::LecternUpdatePacket const& packet) /*override*/;
386
387 // vIndex: 76
388 virtual void handle(::NetworkIdentifier const& source, ::BookEditPacket const& packet) /*override*/;
389
390 // vIndex: 138
391 virtual void handle(::NetworkIdentifier const& source, ::BossEventPacket const& packet) /*override*/;
392
393 // vIndex: 147
394 virtual void handle(::NetworkIdentifier const& source, ::ClientCameraAimAssistPacket const& packet) /*override*/;
395
396 // vIndex: 143
397 virtual void handle(::NetworkIdentifier const& source, ::ClientCacheStatusPacket const& packet) /*override*/;
398
399 // vIndex: 157
400 virtual void handle(::NetworkIdentifier const& source, ::ClientCacheBlobStatusPacket const& packet) /*override*/;
401
402 // vIndex: 161
403 virtual void
404 handle(::NetworkIdentifier const& source, ::ClientMovementPredictionSyncPacket const& packet) /*override*/;
405
406 // vIndex: 224
407 virtual void handle(::NetworkIdentifier const& source, ::ClientToServerHandshakePacket const& packet) /*override*/;
408
409 // vIndex: 132
410 virtual void handle(::NetworkIdentifier const& source, ::CommandBlockUpdatePacket const& packet) /*override*/;
411
412 // vIndex: 134
413 virtual void handle(::NetworkIdentifier const& source, ::CommandRequestPacket const& packet) /*override*/;
414
415 // vIndex: 131
416 virtual void handle(::NetworkIdentifier const& source, ::CompletedUsingItemPacket const& packet) /*override*/;
417
418 // vIndex: 171
419 virtual void handle(::NetworkIdentifier const& source, ::ContainerClosePacket const& packet) /*override*/;
420
421 // vIndex: 56
422 virtual void handle(::NetworkIdentifier const& source, ::DebugInfoPacket const& packet) /*override*/;
423
424 // vIndex: 45
425 virtual void handle(::NetworkIdentifier const& source, ::CreatePhotoPacket const& packet) /*override*/;
426
427 // vIndex: 229
428 virtual void handle(::NetworkIdentifier const& source, ::DisconnectPacket const& packet) /*override*/;
429
430 // vIndex: 228
431 virtual void handle(::NetworkIdentifier const& source, ::EmoteListPacket const& packet) /*override*/;
432
433 // vIndex: 227
434 virtual void handle(::NetworkIdentifier const& source, ::EmotePacket const& packet) /*override*/;
435
436 // vIndex: 179
437 virtual void handle(::NetworkIdentifier const& source, ::InteractPacket const& packet) /*override*/;
438
439 // vIndex: 110
440 virtual void
441 handle(::NetworkIdentifier const& source, ::std::shared_ptr<::InventoryTransactionPacket> packet) /*override*/;
442
443 // vIndex: 174
444 virtual void handle(::NetworkIdentifier const& source, ::ItemStackRequestPacket const& packet) /*override*/;
445
446 // vIndex: 71
447 virtual void handle(::NetworkIdentifier const& source, ::LabTablePacket const& packet) /*override*/;
448
449 // vIndex: 197
450 virtual void handle(::NetworkIdentifier const& source, ::LevelSoundEventPacket const& packet) /*override*/;
451
452 // vIndex: 226
453 virtual void handle(::NetworkIdentifier const& source, ::std::shared_ptr<::LoginPacket> packet) /*override*/;
454
455 // vIndex: 141
456 virtual void handle(::NetworkIdentifier const& source, ::MapCreateLockedCopyPacket const& packet) /*override*/;
457
458 // vIndex: 140
459 virtual void handle(::NetworkIdentifier const& source, ::MapInfoRequestPacket const& packet) /*override*/;
460
461 // vIndex: 187
462 virtual void handle(::NetworkIdentifier const& source, ::std::shared_ptr<::MobEquipmentPacket> packet) /*override*/;
463
464 // vIndex: 102
465 virtual void handle(::NetworkIdentifier const& source, ::ModalFormResponsePacket const& packet) /*override*/;
466
467 // vIndex: 69
468 virtual void handle(::NetworkIdentifier const& source, ::NetworkStackLatencyPacket const& packet) /*override*/;
469
470 // vIndex: 73
471 virtual void handle(::NetworkIdentifier const& source, ::NpcRequestPacket const& packet) /*override*/;
472
473 // vIndex: 72
474 virtual void handle(::NetworkIdentifier const& source, ::PhotoTransferPacket const& packet) /*override*/;
475
476 // vIndex: 178
477 virtual void handle(::NetworkIdentifier const& source, ::PlayerActionPacket const& packet) /*override*/;
478
479 // vIndex: 162
480 virtual void handle(::NetworkIdentifier const& source, ::PlayerAuthInputPacket const& packet) /*override*/;
481
482 // vIndex: 168
483 virtual void handle(::NetworkIdentifier const& source, ::PlayerHotbarPacket const& packet) /*override*/;
484
485 // vIndex: 83
486 virtual void handle(::NetworkIdentifier const& source, ::PlayerSkinPacket const& packet) /*override*/;
487
488 // vIndex: 81
489 virtual void
490 handle(::NetworkIdentifier const& source, ::PlayerToggleCrafterSlotRequestPacket const& packet) /*override*/;
491
492 // vIndex: 219
493 virtual void
494 handle(::NetworkIdentifier const& source, ::PositionTrackingDBClientRequestPacket const& packet) /*override*/;
495
496 // vIndex: 107
497 virtual void handle(::NetworkIdentifier const& source, ::PurchaseReceiptPacket const& packet) /*override*/;
498
499 // vIndex: 142
500 virtual void handle(::NetworkIdentifier const& source, ::RequestChunkRadiusPacket const& packet) /*override*/;
501
502 // vIndex: 119
503 virtual void handle(::NetworkIdentifier const& source, ::ResourcePackChunkRequestPacket const& packet) /*override*/;
504
505 // vIndex: 85
506 virtual void handle(::NetworkIdentifier const& source, ::RespawnPacket const& packet) /*override*/;
507
508 // vIndex: 201
509 virtual void handle(::NetworkIdentifier const& source, ::SetDefaultGameTypePacket const& packet) /*override*/;
510
511 // vIndex: 154
512 virtual void handle(::NetworkIdentifier const& source, ::SetDifficultyPacket const& packet) /*override*/;
513
514 // vIndex: 67
515 virtual void
516 handle(::NetworkIdentifier const& source, ::SetLocalPlayerAsInitializedPacket const& packet) /*override*/;
517
518 // vIndex: 203
519 virtual void handle(::NetworkIdentifier const& source, ::SetPlayerGameTypePacket const& packet) /*override*/;
520
521 // vIndex: 202
522 virtual void handle(::NetworkIdentifier const& source, ::UpdatePlayerGameTypePacket const& packet) /*override*/;
523
524 // vIndex: 66
525 virtual void handle(::NetworkIdentifier const& source, ::ScriptMessagePacket const& packet) /*override*/;
526
527 // vIndex: 84
528 virtual void handle(::NetworkIdentifier const& source, ::ShowCreditsPacket const& packet) /*override*/;
529
530 // vIndex: 153
531 virtual void handle(::NetworkIdentifier const& source, ::SimpleEventPacket const& packet) /*override*/;
532
533 // vIndex: 148
534 virtual void handle(::NetworkIdentifier const& source, ::SpawnExperienceOrbPacket const& packet) /*override*/;
535
536 // vIndex: 117
537 virtual void handle(::NetworkIdentifier const& source, ::StructureBlockUpdatePacket const& packet) /*override*/;
538
539 // vIndex: 116
540 virtual void
541 handle(::NetworkIdentifier const& source, ::StructureTemplateDataRequestPacket const& packet) /*override*/;
542
543 // vIndex: 225
544 virtual void
545 handle(::NetworkIdentifier const& source, ::std::shared_ptr<::SubClientLoginPacket> packet) /*override*/;
546
547 // vIndex: 215
548 virtual void handle(::NetworkIdentifier const& source, ::TextPacket const& packet) /*override*/;
549
550 // vIndex: 62
551 virtual void handle(::NetworkIdentifier const& source, ::MultiplayerSettingsPacket const& packet) /*override*/;
552
553 // vIndex: 61
554 virtual void handle(::NetworkIdentifier const& source, ::SettingsCommandPacket const& packet) /*override*/;
555
556 // vIndex: 60
557 virtual void handle(::NetworkIdentifier const& source, ::AnvilDamagePacket const& packet) /*override*/;
558
559 // vIndex: 158
560 virtual void handle(::NetworkIdentifier const& source, ::SubChunkRequestPacket const& packet) /*override*/;
561
562 // vIndex: 43
563 virtual void handle(::NetworkIdentifier const& source, ::CodeBuilderSourcePacket const& packet) /*override*/;
564
565 // vIndex: 55
566 virtual void handle(::NetworkIdentifier const&, ::ChangeMobPropertyPacket const& packet) /*override*/;
567
568 // vIndex: 40
569 virtual void handle(::NetworkIdentifier const& source, ::RequestAbilityPacket const& packet) /*override*/;
570
571 // vIndex: 36
572 virtual void handle(::NetworkIdentifier const& source, ::RequestNetworkSettingsPacket const& packet) /*override*/;
573
574 // vIndex: 39
575 virtual void handle(::NetworkIdentifier const& source, ::RequestPermissionsPacket const& packet) /*override*/;
576
577 // vIndex: 88
578 virtual void handle(::NetworkIdentifier const& source, ::EditorNetworkPacket const& packet) /*override*/;
579
580 // vIndex: 35
581 virtual void handle(::NetworkIdentifier const& source, ::GameTestRequestPacket const& packet) /*override*/;
582
583 // vIndex: 28
584 virtual void
585 handle(::NetworkIdentifier const& source, ::SetPlayerInventoryOptionsPacket const& packet) /*override*/;
586
587 // vIndex: 25
588 virtual void handle(::NetworkIdentifier const& source, ::ServerboundLoadingScreenPacket const& packet) /*override*/;
589
590 // vIndex: 24
591 virtual void handle(::NetworkIdentifier const& source, ::ServerboundDiagnosticsPacket const& packet) /*override*/;
592
593 // vIndex: 21
594 virtual void handle(::NetworkIdentifier const& source, ::UpdateClientOptionsPacket const& packet) /*override*/;
595
596 // vIndex: 16
597 virtual void
598 handle(::NetworkIdentifier const& source, ::ServerboundPackSettingChangePacket const& packet) /*override*/;
599
600 // vIndex: 1
601 virtual void sendSubClientLoginMessageLocal(
602 ::NetworkIdentifier const& source,
603 ::SubClientConnectionRequest const& connectionRequest,
604 ::SubClientId subid
605 );
606
607 // vIndex: 4
608 virtual void onTick() /*override*/;
609
610 // vIndex: 15
611 virtual ::GameSpecificNetEventCallback* getGameSpecificNetEventCallback() /*override*/;
612
613 // vIndex: 2
614 virtual void onConnect(::NetworkIdentifier const& id) /*override*/;
615
616 // vIndex: 2
617 virtual void completeHandshake(::NetworkIdentifier const& source);
618
619 // vIndex: 3
620 virtual bool _validateLoginPacket(::NetworkIdentifier const& source, ::LoginPacket const& packet);
621
622 // vIndex: 4
623 virtual void _onClientAsyncAuthorized(
624 ::NetworkIdentifier const& source,
625 ::ConnectionRequest const& request,
626 ::std::optional<::MessToken> const& hostMessToken
627 );
628
629 // vIndex: 5
630 virtual ::ServerPlayer* _getServerPlayer(::NetworkIdentifier const& source, ::SubClientId subId);
631 // NOLINTEND
632
633public:
634 // member functions
635 // NOLINTBEGIN
637 ::GameCallbacks& gameCallbacks,
639 ::ServerNetworkSystem& network,
640 ::PrivateKeyManager& serverKeys,
641 ::Bedrock::NotNullNonOwnerPtr<::MinecraftServiceKeyManager> minecraftServiceKeys,
642 ::ServerLocator& serverLocator,
643 ::PacketSender& packetSender,
644 ::AllowList& allowList,
645 ::PermissionsFile* permissionsFile,
646 ::mce::UUID const& hostPlayerId,
647 int maxChunkRadius,
648 int maxNumPlayers,
649 ::MinecraftCommands& commandHandler,
650 ::IMinecraftApp& app,
651 ::std::unordered_map<::PackIdVersion, ::std::string> const& packIdToContentKey,
652 ::Scheduler& scheduler,
657 ::NetworkServerConfig networkServerConfig,
658 ::std::shared_ptr<::PackSettingsCache> packSettingsCache
659 );
660
661 MCAPI void SetServerIdentifiers(
662 ::std::string const& serverId,
663 ::std::string const& worldId,
664 ::std::string const& scenarioId,
665 ::std::string const& ownerId
666 );
667
668 MCAPI void _buildSubChunkPacketData(
669 ::NetworkIdentifier const& source,
670 ::ServerPlayer const* player,
671 ::SubChunkRequestPacket const& packet,
672 ::SubChunkPacket& responsePacket,
673 uint requestCount,
674 bool clientCacheEnabled
675 );
676
677 MCAPI ::ServerPlayer& _createNewPlayer(
678 ::NetworkIdentifier const& source,
679 ::SubClientConnectionRequest const& connectionRequest,
680 ::SubClientId subid
681 );
682
683 MCAPI void _decideIfSkinIsTrusted(::SerializedSkin& skin);
684
685 MCAPI void _displayGameMessage(::Player const& sender, ::ChatEvent& chatEvent);
686
687 MCAPI ::std::string _extractFirstConnectionData(::NetworkIdentifier const& source);
688
689 MCAPI int _getActiveAndInProgressPlayerCount(::mce::UUID excludePlayer) const;
690
691 MCAPI ::std::optional<::MessToken> _getMessToken(::std::string const& eduTokenChain, bool isHostingPlayer);
692
693 MCAPI ::ResourcePackFileUploadManager&
694 _getResourcePackFileUploadManager(::NetworkIdentifier const& source, ::std::string const& resourceName);
695
696 MCAPI void _handleFinalVerdict(
697 ::std::variant<
698 ::std::reference_wrapper<::ConnectionRequest const>,
699 ::std::reference_wrapper<::SubClientConnectionRequest const>> const& connectionRequest,
700 ::NetworkIdentifier const& source,
701 ::SubClientId subClientId,
702 ::std::optional<::MessToken> messToken,
703 ::nonstd::expected<void, ::AsyncJoinError> finalVerdict
704 );
705
706 MCAPI void _handleSetDefaultGameType(
707 ::ServerPlayer const& playerSettingGameType,
708 ::SetDefaultGameTypePacket const& packet
709 ) const;
710
711 MCAPI void _handleSetDifficulty(::ServerPlayer const& player, ::SetDifficultyPacket const& packet) const;
712
713 MCAPI bool _isServerTextEnabled(::ServerTextEvent const& textEvent) const;
714
715 MCAPI bool _loadNewPlayer(::ServerPlayer& newPlayer, bool isXboxLive);
716
717 MCAPI void _onClientAuthenticated(::NetworkIdentifier const& source, ::ConnectionRequest const& request);
718
719 MCAPI void _onPlayerLeft(::ServerPlayer* player, bool skipMessage);
720
721 MCAPI void
722 _onSubClientAuthenticated(::NetworkIdentifier const& source, ::std::shared_ptr<::SubClientLoginPacket> packet);
723
724 MCAPI bool _playerHasPermissionToFly(
725 ::UserEntityIdentifierComponent const* userIdentifier,
726 ::ServerPlayer const* serverPlayer
727 ) const;
728
729 MCAPI void _processServerAuthPlayerActions(
730 ::ServerPlayer& player,
731 ::NetworkIdentifier const& source,
732 ::PlayerActionPacket const& packet
733 );
734
735 MCAPI void _sendAdditionalLevelData(::ServerPlayer& newPlayer, ::NetworkIdentifier const& source);
736
737 MCAPI void _sendLevelData(::ServerPlayer& newPlayer, ::NetworkIdentifier const& source);
738
739 MCAPI bool _updatePermissions(
740 ::ServerPlayer const& requester,
741 ::RequestPermissionsPacket const& packet,
742 ::Abilities& abilities,
743 ::PermissionsHandler& permissions,
744 ::Player* player
745 );
746
747 MCAPI void addToDenyList(::mce::UUID const& uuid, ::std::string const& xuid);
748
749 MCAPI void allowIncomingConnections(::std::string const& serverName, bool shouldAnnounce);
750
751 MCAPI ::OwnerPtr<::EntityContext>
752 createNewPlayer(::NetworkIdentifier const& source, ::ConnectionRequest const& connectionRequest);
753
754 MCAPI ::OwnerPtr<::EntityContext> createSimulatedPlayer(
755 ::std::string const& name,
756 ::std::string const& xuid,
757 ::std::optional<::ActorUniqueID> idOverride
758 );
759
760 MCAPI void disallowIncomingConnections();
761
762 MCAPI void disconnectClient(
763 ::NetworkIdentifier const& id,
764 ::SubClientId subId,
765 ::Connection::DisconnectFailReason disconnectReason
766 );
767
768 MCAPI void disconnectClientWithMessage(
769 ::NetworkIdentifier const& id,
770 ::SubClientId subId,
771 ::Connection::DisconnectFailReason discoReason,
772 ::std::string const& message,
773 ::std::optional<::std::string> filteredMessage,
774 bool skipMessage
775 );
776
777 MCAPI void
778 disconnectPrimaryClient(::NetworkIdentifier const& id, ::Connection::DisconnectFailReason disconnectReason);
779
780 MCAPI void disconnectPrimaryClientWithMessage(
781 ::NetworkIdentifier const& id,
782 ::Connection::DisconnectFailReason discoReason,
783 ::std::string const& message,
784 ::std::optional<::std::string> filteredMessage,
785 bool skipMessage
786 );
787
788 MCAPI void
789 engineCancelResponseHelper(::NetworkIdentifier const& source, ::ResourcePackClientResponsePacket const& packet);
790
791 MCAPI void engineDownloadingFinishedResponseHelper(
792 ::NetworkIdentifier const& source,
794 );
795
796 MCAPI void onReady_ClientGeneration(::Player& newPlayer, ::NetworkIdentifier const& source);
797
798 MCAPI void persistPlayerPermissionsToDisk(
799 ::UserEntityIdentifierComponent const& userIdentifier,
800 ::PlayerPermissionLevel playerPermission
801 );
802
803 MCAPI void removeFromDenyList(::mce::UUID const& uuid, ::std::string const& xuid);
804
805 MCAPI void sendLoginMessageLocal(
806 ::NetworkIdentifier const& source,
807 ::ConnectionRequest const& connectionRequest,
808 ::ServerPlayer& player
809 );
810
811 MCAPI void setAutomationClient(::Bedrock::NonOwnerPointer<::Automation::AutomationClient> client);
812
813 MCAPI void setNewPlayerPermissions(::ServerPlayer& newPlayer);
814
815 MCAPI bool trytLoadPlayer(::ServerPlayer& player, ::ConnectionRequest const& connectionRequest);
816
817 MCAPI void updateServerAnnouncement();
818 // NOLINTEND
819
820public:
821 // static functions
822 // NOLINTBEGIN
823 MCAPI static void _updateCommandBlock(
824 ::BlockSource& region,
825 ::CommandBlockUpdatePacket const& packet,
826 ::Bedrock::Safety::RedactableString const* redactedName
827 );
828
829 MCAPI static void handle(::Player* player, ::PlayerAuthInputPacket const& packet);
830 // NOLINTEND
831
832public:
833 // constructor thunks
834 // NOLINTBEGIN
835 MCAPI void* $ctor(
836 ::GameCallbacks& gameCallbacks,
838 ::ServerNetworkSystem& network,
839 ::PrivateKeyManager& serverKeys,
840 ::Bedrock::NotNullNonOwnerPtr<::MinecraftServiceKeyManager> minecraftServiceKeys,
841 ::ServerLocator& serverLocator,
842 ::PacketSender& packetSender,
843 ::AllowList& allowList,
844 ::PermissionsFile* permissionsFile,
845 ::mce::UUID const& hostPlayerId,
846 int maxChunkRadius,
847 int maxNumPlayers,
848 ::MinecraftCommands& commandHandler,
849 ::IMinecraftApp& app,
850 ::std::unordered_map<::PackIdVersion, ::std::string> const& packIdToContentKey,
851 ::Scheduler& scheduler,
856 ::NetworkServerConfig networkServerConfig,
857 ::std::shared_ptr<::PackSettingsCache> packSettingsCache
858 );
859 // NOLINTEND
860
861public:
862 // destructor thunk
863 // NOLINTBEGIN
864 MCAPI void $dtor();
865 // NOLINTEND
866
867public:
868 // virtual function thunks
869 // NOLINTBEGIN
870 MCAPI void $onValidPacketReceived(
871 ::NetworkIdentifier const& netId,
872 ::MinecraftPacketIds packetId,
873 ::SubClientId senderSubId,
874 ::SubClientId
875 );
876
877 MCAPI void $onWebsocketRequest(
878 ::std::string const& serverAddress,
879 ::std::string const& payload,
880 ::std::function<void()> errorCallback
881 );
882
883 MCAPI void $onInvalidPlayerJoinedLobby(::mce::UUID const& uuid, ::std::string const& xuid);
884
885 MCAPI void $onXboxUserBlocked(::std::string const& xuid);
886
887 MCAPI void $onXboxUserUnblocked(::std::string const& xuid);
888
889 MCFOLD void $onPlayerReady(::Player& player);
890
891 MCAPI void $handlePacketViolation(
892 ::std::shared_ptr<::IPacketSecurityController> const& packetSecurityController,
893 ::std::error_code const& errorCode,
894 ::PacketViolationResponse const response,
895 ::MinecraftPacketIds const packetId,
896 ::std::string&& context,
897 ::NetworkIdentifier const& netId,
898 ::SubClientId const clientSubId,
899 ::SubClientId const senderSubId,
900 uint const packetSize
901 );
902
903 MCAPI void $sendPacketViolationWarningPacket(
904 ::std::error_code const& errorCode,
905 ::PacketViolationResponse violationResponse,
906 ::MinecraftPacketIds violatingPacketId,
907 ::std::string const& context,
908 ::NetworkIdentifier const& netId,
909 ::SubClientId clientSubId
910 );
911
912 MCAPI void $sendServerLegacyParticle(::ParticleType name, ::Vec3 const& pos, ::Vec3 const&, int data);
913
914 MCAPI void $onTransferRequest(::NetworkIdentifier const& id, ::Social::GameConnectionInfo const& destination);
915
916 MCAPI void $onDisconnect(
917 ::NetworkIdentifier const& id,
918 ::Connection::DisconnectFailReason const discoReason,
919 ::Connection::DisconnectionStage const disconnectStage,
920 ::std::string const& message,
921 bool skipMessage,
922 ::std::string const& telemetryOverride
923 );
924
925 MCAPI ::IncomingPacketFilterResult $allowIncomingPacketId(
926 ::NetworkIdentifierWithSubId const& sender,
927 ::MinecraftPacketIds packetId,
928 uint64 packetSize
929 );
930
931 MCAPI ::OutgoingPacketFilterResult
932 $allowOutgoingPacket(::std::vector<::NetworkIdentifierWithSubId> const& ids, ::Packet const& packet);
933
934 MCAPI void $handle(::NetworkIdentifier const& source, ::ActorEventPacket const& packet);
935
936 MCAPI void $handle(::NetworkIdentifier const& source, ::ActorPickRequestPacket const& packet);
937
938 MCAPI void $handle(::NetworkIdentifier const& source, ::AnimatePacket const& packet);
939
940 MCAPI void $handle(::NetworkIdentifier const& source, ::std::shared_ptr<::BlockActorDataPacket> packet);
941
942 MCAPI void $handle(::NetworkIdentifier const& source, ::BlockPickRequestPacket const& packet);
943
944 MCAPI void $handle(::NetworkIdentifier const& source, ::LecternUpdatePacket const& packet);
945
946 MCAPI void $handle(::NetworkIdentifier const& source, ::BookEditPacket const& packet);
947
948 MCAPI void $handle(::NetworkIdentifier const& source, ::BossEventPacket const& packet);
949
950 MCAPI void $handle(::NetworkIdentifier const& source, ::ClientCameraAimAssistPacket const& packet);
951
952 MCAPI void $handle(::NetworkIdentifier const& source, ::ClientCacheStatusPacket const& packet);
953
954 MCAPI void $handle(::NetworkIdentifier const& source, ::ClientCacheBlobStatusPacket const& packet);
955
956 MCAPI void $handle(::NetworkIdentifier const& source, ::ClientMovementPredictionSyncPacket const& packet);
957
958 MCAPI void $handle(::NetworkIdentifier const& source, ::ClientToServerHandshakePacket const& packet);
959
960 MCAPI void $handle(::NetworkIdentifier const& source, ::CommandBlockUpdatePacket const& packet);
961
962 MCAPI void $handle(::NetworkIdentifier const& source, ::CommandRequestPacket const& packet);
963
964 MCFOLD void $handle(::NetworkIdentifier const& source, ::CompletedUsingItemPacket const& packet);
965
966 MCAPI void $handle(::NetworkIdentifier const& source, ::ContainerClosePacket const& packet);
967
968 MCAPI void $handle(::NetworkIdentifier const& source, ::DebugInfoPacket const& packet);
969
970 MCFOLD void $handle(::NetworkIdentifier const& source, ::CreatePhotoPacket const& packet);
971
972 MCAPI void $handle(::NetworkIdentifier const& source, ::DisconnectPacket const& packet);
973
974 MCAPI void $handle(::NetworkIdentifier const& source, ::EmoteListPacket const& packet);
975
976 MCAPI void $handle(::NetworkIdentifier const& source, ::EmotePacket const& packet);
977
978 MCAPI void $handle(::NetworkIdentifier const& source, ::InteractPacket const& packet);
979
980 MCAPI void $handle(::NetworkIdentifier const& source, ::std::shared_ptr<::InventoryTransactionPacket> packet);
981
982 MCAPI void $handle(::NetworkIdentifier const& source, ::ItemStackRequestPacket const& packet);
983
984 MCAPI void $handle(::NetworkIdentifier const& source, ::LabTablePacket const& packet);
985
986 MCAPI void $handle(::NetworkIdentifier const& source, ::LevelSoundEventPacket const& packet);
987
988 MCAPI void $handle(::NetworkIdentifier const& source, ::std::shared_ptr<::LoginPacket> packet);
989
990 MCAPI void $handle(::NetworkIdentifier const& source, ::MapCreateLockedCopyPacket const& packet);
991
992 MCAPI void $handle(::NetworkIdentifier const& source, ::MapInfoRequestPacket const& packet);
993
994 MCAPI void $handle(::NetworkIdentifier const& source, ::std::shared_ptr<::MobEquipmentPacket> packet);
995
996 MCAPI void $handle(::NetworkIdentifier const& source, ::ModalFormResponsePacket const& packet);
997
998 MCAPI void $handle(::NetworkIdentifier const& source, ::NetworkStackLatencyPacket const& packet);
999
1000 MCAPI void $handle(::NetworkIdentifier const& source, ::NpcRequestPacket const& packet);
1001
1002 MCFOLD void $handle(::NetworkIdentifier const& source, ::PhotoTransferPacket const& packet);
1003
1004 MCAPI void $handle(::NetworkIdentifier const& source, ::PlayerActionPacket const& packet);
1005
1006 MCAPI void $handle(::NetworkIdentifier const& source, ::PlayerAuthInputPacket const& packet);
1007
1008 MCAPI void $handle(::NetworkIdentifier const& source, ::PlayerHotbarPacket const& packet);
1009
1010 MCAPI void $handle(::NetworkIdentifier const& source, ::PlayerSkinPacket const& packet);
1011
1012 MCAPI void $handle(::NetworkIdentifier const& source, ::PlayerToggleCrafterSlotRequestPacket const& packet);
1013
1014 MCAPI void $handle(::NetworkIdentifier const& source, ::PositionTrackingDBClientRequestPacket const& packet);
1015
1016 MCFOLD void $handle(::NetworkIdentifier const& source, ::PurchaseReceiptPacket const& packet);
1017
1018 MCAPI void $handle(::NetworkIdentifier const& source, ::RequestChunkRadiusPacket const& packet);
1019
1020 MCAPI void $handle(::NetworkIdentifier const& source, ::ResourcePackChunkRequestPacket const& packet);
1021
1022 MCAPI void $handle(::NetworkIdentifier const& source, ::RespawnPacket const& packet);
1023
1024 MCAPI void $handle(::NetworkIdentifier const& source, ::SetDefaultGameTypePacket const& packet);
1025
1026 MCAPI void $handle(::NetworkIdentifier const& source, ::SetDifficultyPacket const& packet);
1027
1028 MCAPI void $handle(::NetworkIdentifier const& source, ::SetLocalPlayerAsInitializedPacket const& packet);
1029
1030 MCAPI void $handle(::NetworkIdentifier const& source, ::SetPlayerGameTypePacket const& packet);
1031
1032 MCAPI void $handle(::NetworkIdentifier const& source, ::UpdatePlayerGameTypePacket const& packet);
1033
1034 MCAPI void $handle(::NetworkIdentifier const& source, ::ScriptMessagePacket const& packet);
1035
1036 MCAPI void $handle(::NetworkIdentifier const& source, ::ShowCreditsPacket const& packet);
1037
1038 MCAPI void $handle(::NetworkIdentifier const& source, ::SimpleEventPacket const& packet);
1039
1040 MCAPI void $handle(::NetworkIdentifier const& source, ::SpawnExperienceOrbPacket const& packet);
1041
1042 MCAPI void $handle(::NetworkIdentifier const& source, ::StructureBlockUpdatePacket const& packet);
1043
1044 MCAPI void $handle(::NetworkIdentifier const& source, ::StructureTemplateDataRequestPacket const& packet);
1045
1046 MCAPI void $handle(::NetworkIdentifier const& source, ::std::shared_ptr<::SubClientLoginPacket> packet);
1047
1048 MCAPI void $handle(::NetworkIdentifier const& source, ::TextPacket const& packet);
1049
1050 MCAPI void $handle(::NetworkIdentifier const& source, ::MultiplayerSettingsPacket const& packet);
1051
1052 MCAPI void $handle(::NetworkIdentifier const& source, ::SettingsCommandPacket const& packet);
1053
1054 MCAPI void $handle(::NetworkIdentifier const& source, ::AnvilDamagePacket const& packet);
1055
1056 MCAPI void $handle(::NetworkIdentifier const& source, ::SubChunkRequestPacket const& packet);
1057
1058 MCAPI void $handle(::NetworkIdentifier const& source, ::CodeBuilderSourcePacket const& packet);
1059
1060 MCFOLD void $handle(::NetworkIdentifier const&, ::ChangeMobPropertyPacket const& packet);
1061
1062 MCAPI void $handle(::NetworkIdentifier const& source, ::RequestAbilityPacket const& packet);
1063
1064 MCAPI void $handle(::NetworkIdentifier const& source, ::RequestNetworkSettingsPacket const& packet);
1065
1066 MCAPI void $handle(::NetworkIdentifier const& source, ::RequestPermissionsPacket const& packet);
1067
1068 MCAPI void $handle(::NetworkIdentifier const& source, ::EditorNetworkPacket const& packet);
1069
1070 MCAPI void $handle(::NetworkIdentifier const& source, ::GameTestRequestPacket const& packet);
1071
1072 MCAPI void $handle(::NetworkIdentifier const& source, ::SetPlayerInventoryOptionsPacket const& packet);
1073
1074 MCAPI void $handle(::NetworkIdentifier const& source, ::ServerboundLoadingScreenPacket const& packet);
1075
1076 MCAPI void $handle(::NetworkIdentifier const& source, ::ServerboundDiagnosticsPacket const& packet);
1077
1078 MCAPI void $handle(::NetworkIdentifier const& source, ::UpdateClientOptionsPacket const& packet);
1079
1080 MCAPI void $handle(::NetworkIdentifier const& source, ::ServerboundPackSettingChangePacket const& packet);
1081
1082 MCAPI void $sendSubClientLoginMessageLocal(
1083 ::NetworkIdentifier const& source,
1084 ::SubClientConnectionRequest const& connectionRequest,
1085 ::SubClientId subid
1086 );
1087
1088 MCAPI void $onTick();
1089
1090 MCAPI ::GameSpecificNetEventCallback* $getGameSpecificNetEventCallback();
1091
1092 MCAPI void $onConnect(::NetworkIdentifier const& id);
1093
1094 MCAPI void $completeHandshake(::NetworkIdentifier const& source);
1095
1096 MCAPI bool $_validateLoginPacket(::NetworkIdentifier const& source, ::LoginPacket const& packet);
1097
1098 MCAPI void $_onClientAsyncAuthorized(
1099 ::NetworkIdentifier const& source,
1100 ::ConnectionRequest const& request,
1101 ::std::optional<::MessToken> const& hostMessToken
1102 );
1103
1104 MCAPI ::ServerPlayer* $_getServerPlayer(::NetworkIdentifier const& source, ::SubClientId subId);
1105 // NOLINTEND
1106
1107public:
1108 // vftables
1109 // NOLINTBEGIN
1110 MCNAPI static void** $vftableForNetEventCallback();
1111
1113
1114 MCNAPI static void** $vftableForXboxLiveUserObserver();
1115
1116 MCNAPI static void** $vftableForLevelListener();
1117
1119 // NOLINTEND
1120};
Definition Abilities.h:15
Definition AllowList.h:14
Definition AnimatePacket.h:17
Definition AppConfigs.h:24
Definition AsyncJoinTaskManager.h:21
Definition NonOwnerPointer.h:9
Definition RedactableString.h:10
Definition EnableQueueForMainThread.h:10
Definition BiomeDefinitionListPacket.h:18
Definition BlockSource.h:66
Definition BookEditPacket.h:18
Definition BossEventPacket.h:21
Definition ClassroomModeNetworkHandler.h:20
Definition ClientCacheBlobStatusPacket.h:16
Definition ClientMovementPredictionSyncPacket.h:20
Definition CommandBlockUpdatePacket.h:20
Definition CommandRequestPacket.h:18
Definition ConnectionRequest.h:26
Definition DisconnectPacket.h:17
Definition EntityContext.h:16
Definition GameCallbacks.h:5
Definition GameSpecificNetEventCallback.h:11
Definition GameTestNetworkAdapter.h:16
Definition GameTestRequestPacket.h:15
Definition IEDUSystems.h:14
Definition ILevel.h:207
Definition IMinecraftApp.h:17
Definition IPacketSecurityController.h:22
Definition InteractPacket.h:18
Definition InventoryTransactionPacket.h:24
Definition ItemStackRequestPacket.h:17
Definition LabTablePacket.h:19
Definition LecternUpdatePacket.h:19
Definition LevelListener.h:28
Definition MinecraftCommands.h:33
Definition MinecraftGameTest.h:21
Definition MinecraftServiceKeyManager.h:17
Definition MobEquipmentPacket.h:24
Definition NetEventCallback.h:242
Definition NetworkIdentifier.h:10
Definition PackSettingsCache.h:16
Definition PacketSender.h:17
Definition Packet.h:43
Definition PermissionsFile.h:17
Definition PermissionsHandler.h:14
Definition PlayerAuthInputPacket.h:27
Definition PlayerHotbarPacket.h:19
Definition PlayerSkinPacket.h:18
Definition Player.h:123
Definition PrivateKeyManager.h:9
Definition PurchaseReceiptPacket.h:15
Definition ResourcePackClientResponsePacket.h:17
Definition ResourcePackFileUploadManager.h:23
Definition Scheduler.h:13
Definition SerializedSkin.h:16
Definition ServerLocator.h:19
Definition ServerNetworkHandler.h:189
MCAPI void removeSubClientRequest(::SubClientId subClientId)
Definition ServerNetworkHandler.h:175
Definition ServerNetworkHandler.h:166
static MCAPI void ** $vftableForMultiplayerServiceObserver()
static MCAPI void ** $vftableForLevelListener()
static MCAPI void ** $vftableForXboxLiveUserObserver()
static MCAPI void ** $vftableForNetEventCallback()
static MCAPI void ** $vftableForEnableQueueForMainThread()
Definition ServerNetworkSystem.h:31
Definition ServerPlayer.h:65
Definition ServiceReference.h:8
Definition GameConnectionInfo.h:7
Definition MultiplayerServiceObserver.h:17
Definition XboxLiveUserObserver.h:15
Definition StructureBlockUpdatePacket.h:18
Definition SubChunkPacket.h:19
Definition SubChunkRequestPacket.h:20
Definition SubClientConnectionRequest.h:20
Definition SubClientLoginPacket.h:17
Definition TaskGroup.h:48
Definition TextFilteringProcessor.h:18
Definition TextPacket.h:18
Definition UserEntityIdentifierComponent.h:12
Definition Vec3.h:10
Definition UUID.h:7
Definition optional_ref.h:10
Definition ActorUniqueID.h:5
Definition AsyncJoinError.h:5
Definition ChatEvent.h:14
Definition IServerNetworkController.h:11
Definition MessToken.h:11
Definition NetworkIdentifierWithSubId.h:10
Definition NetworkServerConfig.h:5
Definition PackIdVersion.h:10
Definition context.h:5
Definition Alias.h:14