Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ClientNetworkHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/client/player/LocalPlayer.h"
5#include "mc/network/packet/SubChunkPacket.h"
6#include "mc/world/level/storage/Experiments.h"
7
8// auto generated inclusion list
9#include "mc/client/network/ClientNetworkPackDependencies.h"
10#include "mc/common/SubClientId.h"
11#include "mc/deps/core/math/PairHash.h"
12#include "mc/deps/core/math/TupleHash.h"
13#include "mc/deps/core/threading/MPMCQueue.h"
14#include "mc/deps/core/utility/NonOwnerPointer.h"
15#include "mc/deps/core/utility/pub_sub/Subscription.h"
16#include "mc/network/IncomingPacketFilterResult.h"
17#include "mc/network/MinecraftPacketIds.h"
18#include "mc/network/NetEventCallback.h"
19#include "mc/network/OutgoingPacketFilterResult.h"
20#include "mc/network/PacketViolationResponse.h"
21#include "mc/network/connection/DisconnectFailReason.h"
22#include "mc/network/connection/DisconnectionStage.h"
23#include "mc/network/packet/ShowStoreOfferRedirectType.h"
24
25// auto generated forward declare list
26// clang-format off
38class BlockPos;
39class BlockSource;
40class BossEventPacket;
46class CameraPacket;
50class ChunkPos;
74class DeathInfoPacket;
75class DebugInfoPacket;
76class Dimension;
80class EmoteListPacket;
81class EmotePacket;
86class HashedString;
87class IClientInstance;
88class IContentManager;
92class ILevel;
96class LabTablePacket;
100class LevelEventPacket;
102class LocatorBarPacket;
110class OpenSignPacket;
112class Packet;
113class PacketSender;
115class PlaySoundPacket;
116class PlayStatusPacket;
120class PlayerFogPacket;
127class Recipe;
136class RespawnPacket;
149class SetScorePacket;
151class SetTitlePacket;
157class StopSoundPacket;
159class SubChunkPacket;
163class TaskGroup;
164class TextPacket;
168class TransferPacket;
169class TrimDataPacket;
182struct ToastIconData;
183namespace ClientBlobCache { class Cache; }
184namespace SharedTypes::v1_21_20 { struct JigsawStructureData; }
185namespace Social::ManagedChat { class ManagedChatClient; }
186namespace VoxelShapes { class VoxelShapeRegistry; }
187// clang-format on
188
190public:
191 // ClientNetworkHandler inner types declare
192 // clang-format off
193 struct SubscribedHostPacks;
194 // clang-format on
195
196 // ClientNetworkHandler inner types define
197 struct SubscribedHostPacks {};
198
199 using ChunkKey = ::std::pair<::Dimension const*, ::ChunkPos>;
200
201 using ChunkCallbackKey = ::std::tuple<::NetworkIdentifier, ::Dimension const*, ::ChunkPos>;
202
203public:
204 LLAPI void _disconnectFromServer(::NetworkIdentifier const& source);
205
206 LLAPI void
207 onChunkHandleCompleted(::NetworkIdentifier const& source, ::ChunkPos const& chunkPos, ::Dimension const& dimension);
208
209 LLAPI void _ensureVoxelShapeRegistryExists(::Experiments const& experiments);
210
211 LLAPI void _respondBlobCacheStatusForSubChunk(::SubChunkPacket::SubChunkPacketData const& subChunkData);
212
213 LLAPI void _handleSubChunkData(
214 ::NetworkIdentifier const& packet,
215 ::SubChunkPacket const& subChunkData,
216 ::SubChunkPacket::SubChunkPacketData const& localPlayer,
217 ::LocalPlayer const* levelAndPlayerExists,
218 bool
219 );
220
221public:
222 // member variables
223 // NOLINTBEGIN
224 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ClientBlobCache::Cache>> mBlobCache;
225 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MPMCQueue<uint64>>> mCacheMisses;
226 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MPMCQueue<uint64>>> mCacheHits;
227 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SharedTypes::v1_21_20::JigsawStructureData>> mJigsawStructureData;
228 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VoxelShapes::VoxelShapeRegistry>> mVoxelShapeRegistry;
229 ::ll::TypedStorage<8, 8, ::IClientInstance&> mClient;
230 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IDataDrivenUIRepository const>> mDataDrivenUIRepository;
231 ::ll::TypedStorage<8, 8, ::PacketSender&> mPacketSender;
232 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::IGameConnectionListener>> mGameConnectionListener;
233 ::ll::TypedStorage<8, 8, ::IGameServerStartup&> mGameServerStartup;
234 ::ll::TypedStorage<8, 8, ::ClientNetworkSystem&> mNetwork;
235 ::ll::TypedStorage<8, 8, ::PrivateKeyManager const&> mClientKeys;
236 ::ll::TypedStorage<8, 8, ::MinecraftCommands&> mMinecraftCommands;
237 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::ILevel>> mLevel;
238 ::ll::TypedStorage<1, 1, bool> mHasMessage;
239 ::ll::TypedStorage<1, 1, bool> mIsLoggedIn;
240 ::ll::TypedStorage<1, 1, bool> mHasHandshaked;
241 ::ll::TypedStorage<8, 16, ::std::shared_ptr<bool>> mExistenceTracker;
242 ::ll::TypedStorage<1, 1, bool> mPacketTelemetryEnabled;
243 ::ll::TypedStorage<
244 8,
245 64,
246 ::std::unordered_map<
247 ::std::pair<::Dimension const*, ::ChunkPos>,
248 uint64,
249 ::mce::Math::PairHash,
250 ::std::equal_to<::std::pair<::Dimension const*, ::ChunkPos>>>>
251 mPendingChunks;
252 ::ll::TypedStorage<
253 8,
254 64,
255 ::std::unordered_map<
256 ::std::tuple<::NetworkIdentifier, ::Dimension const*, ::ChunkPos>,
257 ::std::function<void(::BlockSource&)>,
258 ::mce::Math::TupleHash,
259 ::std::equal_to<::std::tuple<::NetworkIdentifier, ::Dimension const*, ::ChunkPos>>>>
260 mConnectionPausedCallbacks;
261 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
262 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::VideoCaptureSessionManager>> mVideoCaptureSessionManager;
263 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::TextureShiftManager>> mTextureShiftManager;
264 ::ll::TypedStorage<8, 192, ::ClientNetworkPackDependencies> mPackDependencies;
265 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::CachedHostPackIdProvider>> mCachedHostPackIdProvider;
266 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mHostPacksReceivedSub;
267 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::Social::ManagedChat::ManagedChatClient>> mManagedChatClient;
268 // NOLINTEND
269
270public:
271 // prevent constructor by default
272 ClientNetworkHandler& operator=(ClientNetworkHandler const&);
273 ClientNetworkHandler(ClientNetworkHandler const&);
274 ClientNetworkHandler();
275
276public:
277 // virtual functions
278 // NOLINTBEGIN
279 virtual ~ClientNetworkHandler() /*override*/ = default;
280
281 virtual void handle(::NetworkIdentifier const& source, ::ActorEventPacket const& packet) /*override*/;
282
283 virtual void handle(::NetworkIdentifier const&, ::AddBehaviorTreePacket const& packet) /*override*/;
284
285 virtual void handle(::NetworkIdentifier const&, ::AnimateEntityPacket const& packet) /*override*/;
286
287 virtual void handle(::NetworkIdentifier const&, ::AvailableActorIdentifiersPacket const& packet) /*override*/;
288
289 virtual void handle(::NetworkIdentifier const& source, ::AvailableCommandsPacket const& packet) /*override*/;
290
291 virtual void handle(::NetworkIdentifier const&, ::AutomationClientConnectPacket const& packet) /*override*/;
292
293 virtual void handle(::NetworkIdentifier const& source, ::BiomeDefinitionListPacket const& packet) /*override*/;
294
295 virtual void handle(::NetworkIdentifier const&, ::BossEventPacket const& packet) /*override*/;
296
297 virtual void handle(::NetworkIdentifier const&, ::CameraAimAssistPacket const& packet) /*override*/;
298
299 virtual void handle(::NetworkIdentifier const&, ::CameraAimAssistPresetsPacket const& packet) /*override*/;
300
301 virtual void handle(::NetworkIdentifier const&, ::CameraAimAssistActorPriorityPacket const& packet) /*override*/;
302
303 virtual void handle(::NetworkIdentifier const&, ::CameraInstructionPacket const& packet) /*override*/;
304
305 virtual void handle(::NetworkIdentifier const&, ::CameraPacket const& packet) /*override*/;
306
307 virtual void handle(::NetworkIdentifier const&, ::CameraPresetsPacket const& packet) /*override*/;
308
309 virtual void handle(::NetworkIdentifier const&, ::CameraShakePacket const& packet) /*override*/;
310
311 virtual void handle(::NetworkIdentifier const&, ::CameraSplinePacket const& packet) /*override*/;
312
313 virtual void handle(::NetworkIdentifier const&, ::ChunkRadiusUpdatedPacket const& packet) /*override*/;
314
315 virtual void handle(::NetworkIdentifier const&, ::ClientboundControlSchemeSetPacket const& packet) /*override*/;
316
317 virtual void handle(::NetworkIdentifier const&, ::ClientboundMatchmakingStatePacket const& packet) /*override*/;
318
319 virtual void handle(::NetworkIdentifier const& source, ::ClientboundMapItemDataPacket const& packet) /*override*/;
320
321 virtual void handle(::NetworkIdentifier const&, ::ClientboundStonecutterSetRecipePacket const& packet) /*override*/;
322
323 virtual void handle(::NetworkIdentifier const& source, ::CommandOutputPacket const& packet) /*override*/;
324
325 virtual void handle(::NetworkIdentifier const& source, ::CommandRequestPacket const& packet) /*override*/;
326
327 virtual void handle(::NetworkIdentifier const&, ::CompletedUsingItemPacket const& packet) /*override*/;
328
329 virtual void handle(::NetworkIdentifier const&, ::CraftingDataPacket const& packet) /*override*/;
330
331 virtual void handle(::NetworkIdentifier const& source, ::EmoteListPacket const& packet) /*override*/;
332
333 virtual void handle(::NetworkIdentifier const&, ::DebugInfoPacket const& packet) /*override*/;
334
335 virtual void handle(::NetworkIdentifier const& source, ::EmotePacket const& packet) /*override*/;
336
337 virtual void handle(::NetworkIdentifier const&, ::LegacyTelemetryEventPacket const& packet) /*override*/;
338
339 virtual void handle(::NetworkIdentifier const&, ::FeatureRegistryPacket const& packet) /*override*/;
340
341 virtual void handle(::NetworkIdentifier const&, ::LessonProgressPacket const& packet) /*override*/;
342
343 virtual void handle(::NetworkIdentifier const& source, ::GuiDataPickItemPacket const& packet) /*override*/;
344
345 virtual void handle(::NetworkIdentifier const& source, ::ItemStackResponsePacket const& packet) /*override*/;
346
347 virtual void handle(::NetworkIdentifier const& source, ::LabTablePacket const& packet) /*override*/;
348
349 virtual void handle(::NetworkIdentifier const& source, ::LevelEventPacket const& packet) /*override*/;
350
351 virtual void handle(::NetworkIdentifier const& source, ::LevelEventGenericPacket const& packet) /*override*/;
352
353 virtual void handle(::NetworkIdentifier const& source, ::LevelSoundEventPacket const& packet) /*override*/;
354
355 virtual void handle(::NetworkIdentifier const&, ::ModalFormRequestPacket const& packet) /*override*/;
356
357 virtual void handle(::NetworkIdentifier const&, ::ToastRequestPacket const& packet) /*override*/;
358
359 virtual void handle(::NetworkIdentifier const&, ::OnScreenTextureAnimationPacket const& packet) /*override*/;
360
361 virtual void handle(::NetworkIdentifier const&, ::NetworkChunkPublisherUpdatePacket const& packet) /*override*/;
362
363 virtual void handle(::NetworkIdentifier const&, ::PhotoTransferPacket const& packet) /*override*/;
364
365 virtual void handle(::NetworkIdentifier const& source, ::PlayerArmorDamagePacket const& packet) /*override*/;
366
367 virtual void handle(::NetworkIdentifier const& source, ::PlayerStartItemCooldownPacket const& packet) /*override*/;
368
369 virtual void handle(::NetworkIdentifier const&, ::PlaySoundPacket const& packet) /*override*/;
370
371 virtual void handle(::NetworkIdentifier const& source, ::PlayStatusPacket const& packet) /*override*/;
372
373 virtual void handle(::NetworkIdentifier const&, ::PlayerFogPacket const& packet) /*override*/;
374
375 virtual void
376 handle(::NetworkIdentifier const& source, ::PositionTrackingDBServerBroadcastPacket const& packet) /*override*/;
377
378 virtual void handle(::NetworkIdentifier const&, ::RemoveObjectivePacket const& packet) /*override*/;
379
380 virtual void handle(::NetworkIdentifier const&, ::ResourcePackChunkDataPacket const& packet) /*override*/;
381
382 virtual void handle(::NetworkIdentifier const& source, ::ResourcePackDataInfoPacket const& packet) /*override*/;
383
384 virtual void handle(::NetworkIdentifier const& source, ::ResourcePacksInfoPacket const& packet) /*override*/;
385
386 virtual void handle(::NetworkIdentifier const& source, ::ResourcePackStackPacket const& packet) /*override*/;
387
388 virtual void handle(::NetworkIdentifier const& source, ::RespawnPacket const& packet) /*override*/;
389
390 virtual void handle(::NetworkIdentifier const&, ::ScriptMessagePacket const& packet) /*override*/;
391
392 virtual void handle(::NetworkIdentifier const&, ::ServerPlayerPostMovePositionPacket const& packet) /*override*/;
393
394 virtual void handle(::NetworkIdentifier const&, ::ServerSettingsResponsePacket const& packet) /*override*/;
395
396 virtual void handle(::NetworkIdentifier const& source, ::ServerToClientHandshakePacket const& packet) /*override*/;
397
398 virtual void handle(::NetworkIdentifier const&, ::SetDisplayObjectivePacket const& packet) /*override*/;
399
400 virtual void handle(::NetworkIdentifier const&, ::SetLastHurtByPacket const& packet) /*override*/;
401
402 virtual void handle(::NetworkIdentifier const&, ::SetPlayerGameTypePacket const& packet) /*override*/;
403
404 virtual void handle(::NetworkIdentifier const& source, ::UpdatePlayerGameTypePacket const& packet) /*override*/;
405
406 virtual void handle(::NetworkIdentifier const& source, ::SetScoreboardIdentityPacket const& packet) /*override*/;
407
408 virtual void handle(::NetworkIdentifier const& source, ::SetScorePacket const& packet) /*override*/;
409
410 virtual void handle(::NetworkIdentifier const&, ::SetTitlePacket const& packet) /*override*/;
411
412 virtual void handle(::NetworkIdentifier const&, ::ShowCreditsPacket const& packet) /*override*/;
413
414 virtual void handle(::NetworkIdentifier const&, ::ShowProfilePacket const& packet) /*override*/;
415
416 virtual void handle(::NetworkIdentifier const&, ::ShowStoreOfferPacket const& packet) /*override*/;
417
418 virtual void handle(::NetworkIdentifier const& source, ::SimpleEventPacket const& packet) /*override*/;
419
420 virtual void handle(::NetworkIdentifier const&, ::StopSoundPacket const& packet) /*override*/;
421
422 virtual void handle(::NetworkIdentifier const& source, ::SubChunkPacket const& packet) /*override*/;
423
424 virtual void handle(::NetworkIdentifier const&, ::TakeItemActorPacket const& packet) /*override*/;
425
426 virtual void handle(::NetworkIdentifier const& source, ::TextPacket const& packet) /*override*/;
427
428 virtual void handle(::NetworkIdentifier const&, ::TickingAreasLoadStatusPacket const& packet) /*override*/;
429
430 virtual void handle(::NetworkIdentifier const&, ::TransferPacket const& packet) /*override*/;
431
432 virtual void handle(::NetworkIdentifier const&, ::std::shared_ptr<::UpdateAttributesPacket> packet) /*override*/;
433
434 virtual void handle(::NetworkIdentifier const&, ::UpdateEquipPacket const& packet) /*override*/;
435
436 virtual void handle(::NetworkIdentifier const&, ::UpdateSoftEnumPacket const& packet) /*override*/;
437
438 virtual void handle(::NetworkIdentifier const&, ::UpdateTradePacket const& packet) /*override*/;
439
440 virtual void handle(::NetworkIdentifier const&, ::StructureTemplateDataResponsePacket const& packet) /*override*/;
441
442 virtual void handle(::NetworkIdentifier const&, ::EducationSettingsPacket const& packet) /*override*/;
443
444 virtual void handle(::NetworkIdentifier const&, ::EduUriResourcePacket const& packet) /*override*/;
445
446 virtual void handle(::NetworkIdentifier const&, ::MultiplayerSettingsPacket const& packet) /*override*/;
447
448 virtual void handle(::NetworkIdentifier const&, ::PlayerEnchantOptionsPacket const& packet) /*override*/;
449
450 virtual void handle(::NetworkIdentifier const&, ::CodeBuilderPacket const& packet) /*override*/;
451
452 virtual void handle(::NetworkIdentifier const&, ::CorrectPlayerMovePredictionPacket const& packet) /*override*/;
453
454 virtual void handle(::NetworkIdentifier const&, ::SyncActorPropertyPacket const& packet) /*override*/;
455
456 virtual void handle(::NetworkIdentifier const&, ::NpcDialoguePacket const& packet) /*override*/;
457
458 virtual void handle(::NetworkIdentifier const& source, ::ClientboundDebugRendererPacket const& packet) /*override*/;
459
460 virtual void handle(::NetworkIdentifier const&, ::AddVolumeEntityPacket const& packet) /*override*/;
461
462 virtual void handle(::NetworkIdentifier const&, ::RemoveVolumeEntityPacket const& packet) /*override*/;
463
464 virtual void handle(::NetworkIdentifier const&, ::SimulationTypePacket const& packet) /*override*/;
465
466 virtual void handle(::NetworkIdentifier const&, ::AgentActionEventPacket const& packet) /*override*/;
467
468 virtual void handle(::NetworkIdentifier const& source, ::UpdateSubChunkBlocksPacket const& packet) /*override*/;
469
470 virtual void handle(::NetworkIdentifier const&, ::DeathInfoPacket const& packet) /*override*/;
471
472 virtual void handle(::NetworkIdentifier const&, ::EditorNetworkPacket const& packet) /*override*/;
473
474 virtual void handle(::NetworkIdentifier const&, ::GameTestResultsPacket const&) /*override*/;
475
476 virtual void handle(::NetworkIdentifier const& source, ::UpdateClientInputLocksPacket const& packet) /*override*/;
477
478 virtual void handle(::NetworkIdentifier const&, ::PlayerActionPacket const& packet) /*override*/;
479
480 virtual void handle(::NetworkIdentifier const&, ::UnlockedRecipesPacket const& packet) /*override*/;
481
482 virtual void handle(::NetworkIdentifier const&, ::TrimDataPacket const& packet) /*override*/;
483
484 virtual void handle(::NetworkIdentifier const&, ::OpenSignPacket const& packet) /*override*/;
485
486 virtual void handle(::NetworkIdentifier const&, ::AgentAnimationPacket const& packet) /*override*/;
487
488 virtual void handle(::NetworkIdentifier const& source, ::RefreshEntitlementsPacket const& packet) /*override*/;
489
490 virtual void handle(::NetworkIdentifier const&, ::SetPlayerInventoryOptionsPacket const& packet) /*override*/;
491
492 virtual void handle(::NetworkIdentifier const&, ::SetPlayerFurnaceOptionsPacket const& packet) /*override*/;
493
494 virtual void handle(::NetworkIdentifier const&, ::AwardAchievementPacket const& packet) /*override*/;
495
496 virtual void handle(::NetworkIdentifier const& source, ::ClientboundCloseFormPacket const&) /*override*/;
497
498 virtual void handle(::NetworkIdentifier const&, ::JigsawStructureDataPacket const& packet) /*override*/;
499
500 virtual void handle(::NetworkIdentifier const&, ::CurrentStructureFeaturePacket const& packet) /*override*/;
501
502 virtual void handle(::NetworkIdentifier const& source, ::PlayerVideoCapturePacket const& packet) /*override*/;
503
504 virtual void handle(::NetworkIdentifier const& source, ::PlayerLocationPacket const& packet) /*override*/;
505
506 virtual void handle(::NetworkIdentifier const&, ::PrimitiveShapesPacket const& packet) /*override*/;
507
508 virtual void handle(::NetworkIdentifier const&, ::ClientboundDataStorePacket const& packet) /*override*/;
509
510 virtual void handle(::NetworkIdentifier const&, ::GraphicsOverrideParameterPacket const& packet) /*override*/;
511
512 virtual void
513 handle(::NetworkIdentifier const&, ::ClientboundDataDrivenUICloseScreenPacket const& packet) /*override*/;
514
515 virtual void handle(::NetworkIdentifier const&, ::ClientboundDataDrivenUIReloadPacket const&) /*override*/;
516
517 virtual void
518 handle(::NetworkIdentifier const&, ::ClientboundDataDrivenUIShowScreenPacket const& packet) /*override*/;
519
520 virtual void handle(::NetworkIdentifier const&, ::ClientboundTextureShiftPacket const& packet) /*override*/;
521
522 virtual void handle(::NetworkIdentifier const&, ::VoxelShapesPacket const& packet) /*override*/;
523
524 virtual void handle(::NetworkIdentifier const&, ::LocatorBarPacket const& packet) /*override*/;
525
526 virtual void handle(::NetworkIdentifier const&, ::SyncWorldClocksPacket const& packet) /*override*/;
527
528 virtual void handle(::NetworkIdentifier const&, ::ClientboundAttributeLayerSyncPacket const& packet) /*override*/;
529
530 virtual void handle(::NetworkIdentifier const&, ::ServerStoreInfoPacket const& packet) /*override*/;
531
532 virtual void handle(::NetworkIdentifier const&, ::ServerPresenceInfoPacket const& packet) /*override*/;
533
534 virtual void handle(::NetworkIdentifier const&, ::SendPartyDestinationCookiePacket const& packet) /*override*/;
535
536 virtual void handle(::NetworkIdentifier const&, ::ClientboundUpdateSoundDataPacket const& packet) /*override*/;
537
538 virtual void handle(::NetworkIdentifier const&, ::ClientboundPlayAudioContentPacket const& packet) /*override*/;
539
540 virtual void handle(::NetworkIdentifier const&, ::RecordStartedPacket const& packet) /*override*/;
541
542 virtual void onOutgoingPacket(
543 ::NetworkIdentifier const& netId,
544 ::MinecraftPacketIds packetId,
545 ::SubClientId,
546 ::SubClientId recipientSubId
547 ) /*override*/;
548
549 virtual void onValidPacketReceived(
550 ::NetworkIdentifier const& netId,
551 ::MinecraftPacketIds packetId,
552 ::SubClientId,
553 ::SubClientId recipientSubId
554 ) /*override*/;
555
556 virtual void
557 onStoreOfferReceive(::ShowStoreOfferRedirectType const redirectType, ::std::string const& offerID) /*override*/;
558
559 virtual void onDisconnect(
560 ::NetworkIdentifier const& source,
561 ::Connection::DisconnectFailReason const discoReason,
562 ::Connection::DisconnectionStage const disconnectStage,
563 ::std::string const& messageFromServer,
564 ::std::string const& messageBodyOverride,
565 bool skipMessage,
566 ::std::string const& telemetryOverride
567 ) /*override*/;
568
569 virtual ::IncomingPacketFilterResult allowIncomingPacketId(
570 ::NetworkIdentifierWithSubId const& id,
571 ::MinecraftPacketIds packetId,
572 uint64 packetSize
573 ) /*override*/;
574
575 virtual ::OutgoingPacketFilterResult
576 allowOutgoingPacket(::std::vector<::NetworkIdentifierWithSubId> const& ids, ::Packet const& packet) /*override*/;
577
578 virtual void handlePacketViolation(
579 ::std::shared_ptr<::IPacketSecurityController> const& packetSecurityController,
580 ::std::error_code const& errorCode,
581 ::PacketViolationResponse const response,
582 ::MinecraftPacketIds const packetId,
583 ::std::string&& context,
584 ::NetworkIdentifier const& netId,
585 ::SubClientId const clientSubId,
586 ::SubClientId const senderSubId,
587 uint const packetSize
588 ) /*override*/;
589
590 virtual void sendPacketViolationWarningPacket(
591 ::std::error_code const& errorCode,
592 ::PacketViolationResponse violationResponse,
593 ::MinecraftPacketIds violatingPacketId,
594 ::std::string const& context,
595 ::NetworkIdentifier const& netId,
596 ::SubClientId clientSubId
597 ) /*override*/;
598
599 virtual void onSuccessfulLogin(::NetworkIdentifier const& id);
600 // NOLINTEND
601
602public:
603 // member functions
604 // NOLINTBEGIN
606 ::NetworkIdentifier const& source,
607 ::BlockPos const& requiredPos,
608 ::std::function<void(::BlockSource&)>&& handler
609 );
610 // NOLINTEND
611
612public:
613 // static functions
614 // NOLINTBEGIN
615 MCNAPI static void _handleUnlockedRecipesByTag(
616 ::UnlockedRecipesClientComponent const& component,
617 ::std::map<::HashedString, ::std::map<::std::string, ::std::shared_ptr<::Recipe>>> const& allRecipes,
618 ::std::string const& recipeId,
619 ::HashedString const& tag,
620 ::std::vector<::ToastIconData>& newRecipeToastDataRef
621 );
622
623 MCNAPI static ::ClientNetworkHandler::SubscribedHostPacks
624 createHostPacks(::PackDownloadManager& downloadMaager, ::IContentManager& contentManager);
625 // NOLINTEND
626
627public:
628 // virtual function thunks
629 // NOLINTBEGIN
630 MCAPI void $handle(::NetworkIdentifier const& source, ::ActorEventPacket const& packet);
631
632 MCNAPI void $handle(::NetworkIdentifier const&, ::AddBehaviorTreePacket const& packet);
633
634 MCNAPI void $handle(::NetworkIdentifier const&, ::AnimateEntityPacket const& packet);
635
636 MCAPI void $handle(::NetworkIdentifier const&, ::AvailableActorIdentifiersPacket const& packet);
637
638 MCAPI void $handle(::NetworkIdentifier const& source, ::AvailableCommandsPacket const& packet);
639
641
642 MCNAPI void $handle(::NetworkIdentifier const& source, ::BiomeDefinitionListPacket const& packet);
643
644 MCNAPI void $handle(::NetworkIdentifier const&, ::BossEventPacket const& packet);
645
646 MCNAPI void $handle(::NetworkIdentifier const&, ::CameraAimAssistPacket const& packet);
647
649
651
652 MCNAPI void $handle(::NetworkIdentifier const&, ::CameraInstructionPacket const& packet);
653
654 MCNAPI void $handle(::NetworkIdentifier const&, ::CameraPacket const& packet);
655
656 MCNAPI void $handle(::NetworkIdentifier const&, ::CameraPresetsPacket const& packet);
657
658 MCNAPI void $handle(::NetworkIdentifier const&, ::CameraShakePacket const& packet);
659
660 MCNAPI void $handle(::NetworkIdentifier const&, ::CameraSplinePacket const& packet);
661
662 MCNAPI void $handle(::NetworkIdentifier const&, ::ChunkRadiusUpdatedPacket const& packet);
663
665
667
668 MCNAPI void $handle(::NetworkIdentifier const& source, ::ClientboundMapItemDataPacket const& packet);
669
671
672 MCAPI void $handle(::NetworkIdentifier const& source, ::CommandOutputPacket const& packet);
673
674 MCNAPI void $handle(::NetworkIdentifier const& source, ::CommandRequestPacket const& packet);
675
676 MCNAPI void $handle(::NetworkIdentifier const&, ::CompletedUsingItemPacket const& packet);
677
678 MCNAPI void $handle(::NetworkIdentifier const&, ::CraftingDataPacket const& packet);
679
680 MCNAPI void $handle(::NetworkIdentifier const& source, ::EmoteListPacket const& packet);
681
682 MCNAPI void $handle(::NetworkIdentifier const&, ::DebugInfoPacket const& packet);
683
684 MCNAPI void $handle(::NetworkIdentifier const& source, ::EmotePacket const& packet);
685
686 MCNAPI void $handle(::NetworkIdentifier const&, ::LegacyTelemetryEventPacket const& packet);
687
688 MCNAPI void $handle(::NetworkIdentifier const&, ::FeatureRegistryPacket const& packet);
689
690 MCNAPI void $handle(::NetworkIdentifier const&, ::LessonProgressPacket const& packet);
691
692 MCNAPI void $handle(::NetworkIdentifier const& source, ::GuiDataPickItemPacket const& packet);
693
694 MCAPI void $handle(::NetworkIdentifier const& source, ::ItemStackResponsePacket const& packet);
695
696 MCNAPI void $handle(::NetworkIdentifier const& source, ::LabTablePacket const& packet);
697
698 MCAPI void $handle(::NetworkIdentifier const& source, ::LevelEventPacket const& packet);
699
700 MCNAPI void $handle(::NetworkIdentifier const& source, ::LevelEventGenericPacket const& packet);
701
702 MCNAPI void $handle(::NetworkIdentifier const& source, ::LevelSoundEventPacket const& packet);
703
704 MCNAPI void $handle(::NetworkIdentifier const&, ::ModalFormRequestPacket const& packet);
705
706 MCNAPI void $handle(::NetworkIdentifier const&, ::ToastRequestPacket const& packet);
707
709
711
712 MCNAPI void $handle(::NetworkIdentifier const&, ::PhotoTransferPacket const& packet);
713
714 MCNAPI void $handle(::NetworkIdentifier const& source, ::PlayerArmorDamagePacket const& packet);
715
716 MCNAPI void $handle(::NetworkIdentifier const& source, ::PlayerStartItemCooldownPacket const& packet);
717
718 MCNAPI void $handle(::NetworkIdentifier const&, ::PlaySoundPacket const& packet);
719
720 MCNAPI void $handle(::NetworkIdentifier const& source, ::PlayStatusPacket const& packet);
721
722 MCNAPI void $handle(::NetworkIdentifier const&, ::PlayerFogPacket const& packet);
723
725
726 MCNAPI void $handle(::NetworkIdentifier const&, ::RemoveObjectivePacket const& packet);
727
729
730 MCNAPI void $handle(::NetworkIdentifier const& source, ::ResourcePackDataInfoPacket const& packet);
731
732 MCAPI void $handle(::NetworkIdentifier const& source, ::ResourcePacksInfoPacket const& packet);
733
734 MCAPI void $handle(::NetworkIdentifier const& source, ::ResourcePackStackPacket const& packet);
735
736 MCNAPI void $handle(::NetworkIdentifier const& source, ::RespawnPacket const& packet);
737
738 MCAPI void $handle(::NetworkIdentifier const&, ::ScriptMessagePacket const& packet);
739
741
743
744 MCNAPI void $handle(::NetworkIdentifier const& source, ::ServerToClientHandshakePacket const& packet);
745
746 MCNAPI void $handle(::NetworkIdentifier const&, ::SetDisplayObjectivePacket const& packet);
747
748 MCNAPI void $handle(::NetworkIdentifier const&, ::SetLastHurtByPacket const& packet);
749
750 MCNAPI void $handle(::NetworkIdentifier const&, ::SetPlayerGameTypePacket const& packet);
751
752 MCNAPI void $handle(::NetworkIdentifier const& source, ::UpdatePlayerGameTypePacket const& packet);
753
754 MCNAPI void $handle(::NetworkIdentifier const& source, ::SetScoreboardIdentityPacket const& packet);
755
756 MCNAPI void $handle(::NetworkIdentifier const& source, ::SetScorePacket const& packet);
757
758 MCNAPI void $handle(::NetworkIdentifier const&, ::SetTitlePacket const& packet);
759
760 MCNAPI void $handle(::NetworkIdentifier const&, ::ShowCreditsPacket const& packet);
761
762 MCNAPI void $handle(::NetworkIdentifier const&, ::ShowProfilePacket const& packet);
763
764 MCNAPI void $handle(::NetworkIdentifier const&, ::ShowStoreOfferPacket const& packet);
765
766 MCNAPI void $handle(::NetworkIdentifier const& source, ::SimpleEventPacket const& packet);
767
768 MCNAPI void $handle(::NetworkIdentifier const&, ::StopSoundPacket const& packet);
769
770 MCAPI void $handle(::NetworkIdentifier const& source, ::SubChunkPacket const& packet);
771
772 MCAPI void $handle(::NetworkIdentifier const&, ::TakeItemActorPacket const& packet);
773
774 MCNAPI void $handle(::NetworkIdentifier const& source, ::TextPacket const& packet);
775
777
778 MCNAPI void $handle(::NetworkIdentifier const&, ::TransferPacket const& packet);
779
780 MCAPI void $handle(::NetworkIdentifier const&, ::std::shared_ptr<::UpdateAttributesPacket> packet);
781
782 MCNAPI void $handle(::NetworkIdentifier const&, ::UpdateEquipPacket const& packet);
783
784 MCNAPI void $handle(::NetworkIdentifier const&, ::UpdateSoftEnumPacket const& packet);
785
786 MCAPI void $handle(::NetworkIdentifier const&, ::UpdateTradePacket const& packet);
787
789
790 MCNAPI void $handle(::NetworkIdentifier const&, ::EducationSettingsPacket const& packet);
791
792 MCNAPI void $handle(::NetworkIdentifier const&, ::EduUriResourcePacket const& packet);
793
794 MCNAPI void $handle(::NetworkIdentifier const&, ::MultiplayerSettingsPacket const& packet);
795
796 MCNAPI void $handle(::NetworkIdentifier const&, ::PlayerEnchantOptionsPacket const& packet);
797
798 MCNAPI void $handle(::NetworkIdentifier const&, ::CodeBuilderPacket const& packet);
799
801
802 MCNAPI void $handle(::NetworkIdentifier const&, ::SyncActorPropertyPacket const& packet);
803
804 MCNAPI void $handle(::NetworkIdentifier const&, ::NpcDialoguePacket const& packet);
805
806 MCNAPI void $handle(::NetworkIdentifier const& source, ::ClientboundDebugRendererPacket const& packet);
807
808 MCNAPI void $handle(::NetworkIdentifier const&, ::AddVolumeEntityPacket const& packet);
809
810 MCNAPI void $handle(::NetworkIdentifier const&, ::RemoveVolumeEntityPacket const& packet);
811
812 MCNAPI void $handle(::NetworkIdentifier const&, ::SimulationTypePacket const& packet);
813
814 MCNAPI void $handle(::NetworkIdentifier const&, ::AgentActionEventPacket const& packet);
815
816 MCAPI void $handle(::NetworkIdentifier const& source, ::UpdateSubChunkBlocksPacket const& packet);
817
818 MCNAPI void $handle(::NetworkIdentifier const&, ::DeathInfoPacket const& packet);
819
820 MCNAPI void $handle(::NetworkIdentifier const&, ::EditorNetworkPacket const& packet);
821
823
824 MCNAPI void $handle(::NetworkIdentifier const& source, ::UpdateClientInputLocksPacket const& packet);
825
826 MCNAPI void $handle(::NetworkIdentifier const&, ::PlayerActionPacket const& packet);
827
828 MCAPI void $handle(::NetworkIdentifier const&, ::UnlockedRecipesPacket const& packet);
829
830 MCNAPI void $handle(::NetworkIdentifier const&, ::TrimDataPacket const& packet);
831
832 MCNAPI void $handle(::NetworkIdentifier const&, ::OpenSignPacket const& packet);
833
834 MCNAPI void $handle(::NetworkIdentifier const&, ::AgentAnimationPacket const& packet);
835
836 MCNAPI void $handle(::NetworkIdentifier const& source, ::RefreshEntitlementsPacket const& packet);
837
839
841
842 MCNAPI void $handle(::NetworkIdentifier const&, ::AwardAchievementPacket const& packet);
843
844 MCNAPI void $handle(::NetworkIdentifier const& source, ::ClientboundCloseFormPacket const&);
845
846 MCNAPI void $handle(::NetworkIdentifier const&, ::JigsawStructureDataPacket const& packet);
847
849
850 MCNAPI void $handle(::NetworkIdentifier const& source, ::PlayerVideoCapturePacket const& packet);
851
852 MCNAPI void $handle(::NetworkIdentifier const& source, ::PlayerLocationPacket const& packet);
853
854 MCNAPI void $handle(::NetworkIdentifier const&, ::PrimitiveShapesPacket const& packet);
855
856 MCNAPI void $handle(::NetworkIdentifier const&, ::ClientboundDataStorePacket const& packet);
857
859
861
863
865
867
868 MCNAPI void $handle(::NetworkIdentifier const&, ::VoxelShapesPacket const& packet);
869
870 MCNAPI void $handle(::NetworkIdentifier const&, ::LocatorBarPacket const& packet);
871
872 MCNAPI void $handle(::NetworkIdentifier const&, ::SyncWorldClocksPacket const& packet);
873
875
876 MCNAPI void $handle(::NetworkIdentifier const&, ::ServerStoreInfoPacket const& packet);
877
878 MCNAPI void $handle(::NetworkIdentifier const&, ::ServerPresenceInfoPacket const& packet);
879
881
883
885
886 MCNAPI void $handle(::NetworkIdentifier const&, ::RecordStartedPacket const& packet);
887
888 MCNAPI void $onOutgoingPacket(
889 ::NetworkIdentifier const& netId,
890 ::MinecraftPacketIds packetId,
891 ::SubClientId,
892 ::SubClientId recipientSubId
893 );
894
896 ::NetworkIdentifier const& netId,
897 ::MinecraftPacketIds packetId,
898 ::SubClientId,
899 ::SubClientId recipientSubId
900 );
901
902 MCNAPI void $onStoreOfferReceive(::ShowStoreOfferRedirectType const redirectType, ::std::string const& offerID);
903
904 MCAPI void $onDisconnect(
905 ::NetworkIdentifier const& source,
906 ::Connection::DisconnectFailReason const discoReason,
907 ::Connection::DisconnectionStage const disconnectStage,
908 ::std::string const& messageFromServer,
909 ::std::string const& messageBodyOverride,
910 bool skipMessage,
911 ::std::string const& telemetryOverride
912 );
913
914 MCNAPI ::IncomingPacketFilterResult
915 $allowIncomingPacketId(::NetworkIdentifierWithSubId const& id, ::MinecraftPacketIds packetId, uint64 packetSize);
916
917 MCNAPI ::OutgoingPacketFilterResult
918 $allowOutgoingPacket(::std::vector<::NetworkIdentifierWithSubId> const& ids, ::Packet const& packet);
919
921 ::std::shared_ptr<::IPacketSecurityController> const& packetSecurityController,
922 ::std::error_code const& errorCode,
923 ::PacketViolationResponse const response,
924 ::MinecraftPacketIds const packetId,
925 ::std::string&& context,
926 ::NetworkIdentifier const& netId,
927 ::SubClientId const clientSubId,
928 ::SubClientId const senderSubId,
929 uint const packetSize
930 );
931
933 ::std::error_code const& errorCode,
934 ::PacketViolationResponse violationResponse,
935 ::MinecraftPacketIds violatingPacketId,
936 ::std::string const& context,
937 ::NetworkIdentifier const& netId,
938 ::SubClientId clientSubId
939 );
940
942 // NOLINTEND
943};
Definition ActorEventPacket.h:19
Definition AddBehaviorTreePacket.h:19
Definition AddVolumeEntityPacket.h:19
Definition AgentActionEventPacket.h:19
Definition AgentAnimationPacket.h:19
Definition AnimateEntityPacket.h:19
Definition AutomationClientConnectPacket.h:19
Definition AvailableActorIdentifiersPacket.h:19
Definition AvailableCommandsPacket.h:19
Definition AwardAchievementPacket.h:19
Definition BiomeDefinitionListPacket.h:19
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition BossEventPacket.h:19
Definition CachedHostPackIdProvider.h:5
Definition CameraAimAssistActorPriorityPacket.h:19
Definition CameraAimAssistPacket.h:19
Definition CameraAimAssistPresetsPacket.h:19
Definition CameraInstructionPacket.h:19
Definition CameraPacket.h:19
Definition CameraPresetsPacket.h:19
Definition CameraShakePacket.h:19
Definition CameraSplinePacket.h:19
Definition ChunkPos.h:13
Definition ChunkRadiusUpdatedPacket.h:19
Definition Cache.h:7
Definition ClientNetworkHandler.h:5
MCAPI void queueHandleWorldChangePacket(::NetworkIdentifier const &source, ::BlockPos const &requiredPos, ::std::function< void(::BlockSource &)> &&handler)
MCAPI void $handle(::NetworkIdentifier const &, ::CameraAimAssistPresetsPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::RecordStartedPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::EmoteListPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::NetworkChunkPublisherUpdatePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::JigsawStructureDataPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::LevelSoundEventPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::EmotePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ShowCreditsPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::CraftingDataPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::CameraPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::RemoveVolumeEntityPacket const &packet)
MCAPI void $onSuccessfulLogin(::NetworkIdentifier const &id)
MCAPI void $handle(::NetworkIdentifier const &, ::UpdateSoftEnumPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::TransferPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ClientboundAttributeLayerSyncPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::TickingAreasLoadStatusPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ModalFormRequestPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::PlayStatusPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::RefreshEntitlementsPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::ClientboundCloseFormPacket const &)
MCAPI void $handle(::NetworkIdentifier const &source, ::ClientboundDebugRendererPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::RespawnPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::SyncWorldClocksPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::LessonProgressPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::MultiplayerSettingsPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::OnScreenTextureAnimationPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::EditorNetworkPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::GameTestResultsPacket const &)
MCAPI void $handle(::NetworkIdentifier const &, ::EducationSettingsPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ClientboundTextureShiftPacket const &packet)
static MCAPI void _handleUnlockedRecipesByTag(::UnlockedRecipesClientComponent const &component, ::std::map<::HashedString, ::std::map<::std::string, ::std::shared_ptr<::Recipe > > > const &allRecipes, ::std::string const &recipeId, ::HashedString const &tag, ::std::vector<::ToastIconData > &newRecipeToastDataRef)
MCAPI void $handle(::NetworkIdentifier const &source, ::LabTablePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::FeatureRegistryPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::LevelEventGenericPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::AutomationClientConnectPacket const &packet)
MCAPI::OutgoingPacketFilterResult $allowOutgoingPacket(::std::vector<::NetworkIdentifierWithSubId > const &ids, ::Packet const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::GraphicsOverrideParameterPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::SyncActorPropertyPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::CameraSplinePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::AwardAchievementPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::PlayerArmorDamagePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ClientboundDataStorePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ShowProfilePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::CameraInstructionPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::PlayerFogPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ClientboundPlayAudioContentPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::CompletedUsingItemPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::CameraAimAssistActorPriorityPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ToastRequestPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::SetDisplayObjectivePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::ServerToClientHandshakePacket const &packet)
MCAPI void $onValidPacketReceived(::NetworkIdentifier const &netId, ::MinecraftPacketIds packetId, ::SubClientId, ::SubClientId recipientSubId)
MCAPI void $handle(::NetworkIdentifier const &source, ::SetScoreboardIdentityPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::NpcDialoguePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::ResourcePackDataInfoPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::SetPlayerGameTypePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::CorrectPlayerMovePredictionPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::StructureTemplateDataResponsePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::PlayerActionPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::SimpleEventPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::PositionTrackingDBServerBroadcastPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::UpdateEquipPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::SetPlayerFurnaceOptionsPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::PhotoTransferPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::CommandRequestPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ClientboundMatchmakingStatePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::UpdatePlayerGameTypePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::CameraPresetsPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::AddBehaviorTreePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::SetPlayerInventoryOptionsPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ServerStoreInfoPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::TrimDataPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ClientboundDataDrivenUIReloadPacket const &)
MCAPI void $onStoreOfferReceive(::ShowStoreOfferRedirectType const redirectType, ::std::string const &offerID)
MCAPI void $handle(::NetworkIdentifier const &, ::SendPartyDestinationCookiePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::LocatorBarPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ServerPresenceInfoPacket const &packet)
MCAPI void $sendPacketViolationWarningPacket(::std::error_code const &errorCode, ::PacketViolationResponse violationResponse, ::MinecraftPacketIds violatingPacketId, ::std::string const &context, ::NetworkIdentifier const &netId, ::SubClientId clientSubId)
MCAPI void $handle(::NetworkIdentifier const &, ::EduUriResourcePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::CameraShakePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ServerSettingsResponsePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::SimulationTypePacket const &packet)
MCAPI void $onOutgoingPacket(::NetworkIdentifier const &netId, ::MinecraftPacketIds packetId, ::SubClientId, ::SubClientId recipientSubId)
MCAPI void $handle(::NetworkIdentifier const &source, ::BiomeDefinitionListPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::BossEventPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::PlayerEnchantOptionsPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::PlayerVideoCapturePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::AgentAnimationPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::PrimitiveShapesPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::SetLastHurtByPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::SetScorePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ResourcePackChunkDataPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ClientboundDataDrivenUICloseScreenPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ClientboundControlSchemeSetPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ShowStoreOfferPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ClientboundStonecutterSetRecipePacket const &packet)
MCAPI void $handlePacketViolation(::std::shared_ptr<::IPacketSecurityController > const &packetSecurityController, ::std::error_code const &errorCode, ::PacketViolationResponse const response, ::MinecraftPacketIds const packetId, ::std::string &&context, ::NetworkIdentifier const &netId, ::SubClientId const clientSubId, ::SubClientId const senderSubId, uint const packetSize)
MCAPI void $handle(::NetworkIdentifier const &source, ::PlayerLocationPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ServerPlayerPostMovePositionPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::VoxelShapesPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::AgentActionEventPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::AnimateEntityPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::ClientboundMapItemDataPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::CameraAimAssistPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::DeathInfoPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::PlayerStartItemCooldownPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ChunkRadiusUpdatedPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::TextPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::SetTitlePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::LegacyTelemetryEventPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::DebugInfoPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ClientboundDataDrivenUIShowScreenPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::ClientboundUpdateSoundDataPacket const &packet)
static MCAPI ::ClientNetworkHandler::SubscribedHostPacks createHostPacks(::PackDownloadManager &downloadMaager, ::IContentManager &contentManager)
MCAPI void $handle(::NetworkIdentifier const &source, ::GuiDataPickItemPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::StopSoundPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::AddVolumeEntityPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::CodeBuilderPacket const &packet)
MCAPI::IncomingPacketFilterResult $allowIncomingPacketId(::NetworkIdentifierWithSubId const &id, ::MinecraftPacketIds packetId, uint64 packetSize)
MCAPI void $handle(::NetworkIdentifier const &, ::OpenSignPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::PlaySoundPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &source, ::UpdateClientInputLocksPacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::CurrentStructureFeaturePacket const &packet)
MCAPI void $handle(::NetworkIdentifier const &, ::RemoveObjectivePacket const &packet)
Definition ClientNetworkSystem.h:46
Definition ClientboundAttributeLayerSyncPacket.h:19
Definition ClientboundCloseFormPacket.h:19
Definition ClientboundControlSchemeSetPacket.h:19
Definition ClientboundDataDrivenUICloseScreenPacket.h:20
Definition ClientboundDataDrivenUIReloadPacket.h:19
Definition ClientboundDataDrivenUIShowScreenPacket.h:20
Definition ClientboundDataStorePacket.h:19
Definition ClientboundDebugRendererPacket.h:19
Definition ClientboundMapItemDataPacket.h:19
Definition ClientboundMatchmakingStatePacket.h:19
Definition ClientboundPlayAudioContentPacket.h:19
Definition ClientboundStonecutterSetRecipePacket.h:20
Definition ClientboundTextureShiftPacket.h:19
Definition ClientboundUpdateSoundDataPacket.h:19
Definition CodeBuilderPacket.h:19
Definition CommandOutputPacket.h:19
Definition CommandRequestPacket.h:19
Definition CompletedUsingItemPacket.h:19
Definition CorrectPlayerMovePredictionPacket.h:19
Definition CraftingDataPacket.h:19
Definition CurrentStructureFeaturePacket.h:19
Definition DeathInfoPacket.h:19
Definition DebugInfoPacket.h:19
Definition Dimension.h:86
Definition EditorNetworkPacket.h:19
Definition EduUriResourcePacket.h:19
Definition EducationSettingsPacket.h:19
Definition EmoteListPacket.h:19
Definition EmotePacket.h:19
Definition FeatureRegistryPacket.h:19
Definition GameTestResultsPacket.h:19
Definition GraphicsOverrideParameterPacket.h:19
Definition GuiDataPickItemPacket.h:19
Definition HashedString.h:5
Definition IClientInstance.h:5
Definition IContentManager.h:5
Definition IDataDrivenUIRepository.h:44
Definition IGameConnectionListener.h:5
Definition IGameServerStartup.h:5
Definition ILevel.h:223
Definition IPacketSecurityController.h:22
Definition ItemStackResponsePacket.h:19
Definition JigsawStructureDataPacket.h:19
Definition LabTablePacket.h:19
Definition LegacyTelemetryEventPacket.h:19
Definition LessonProgressPacket.h:19
Definition LevelEventGenericPacket.h:19
Definition LevelEventPacket.h:19
Definition LevelSoundEventPacket.h:19
Definition LocatorBarPacket.h:19
Definition MinecraftCommands.h:33
Definition ModalFormRequestPacket.h:19
Definition MultiplayerSettingsPacket.h:19
Definition NetEventCallback.h:273
Definition NetworkChunkPublisherUpdatePacket.h:19
Definition NetworkIdentifier.h:10
Definition NpcDialoguePacket.h:19
Definition OnScreenTextureAnimationPacket.h:19
Definition OpenSignPacket.h:19
Definition PackDownloadManager.h:5
Definition PacketSender.h:17
Definition Packet.h:29
Definition PhotoTransferPacket.h:19
Definition PlaySoundPacket.h:19
Definition PlayStatusPacket.h:19
Definition PlayerActionPacket.h:19
Definition PlayerArmorDamagePacket.h:19
Definition PlayerEnchantOptionsPacket.h:19
Definition PlayerFogPacket.h:19
Definition PlayerLocationPacket.h:19
Definition PlayerStartItemCooldownPacket.h:19
Definition PlayerVideoCapturePacket.h:19
Definition PositionTrackingDBServerBroadcastPacket.h:20
Definition PrimitiveShapesPacket.h:19
Definition PrivateKeyManager.h:10
Definition Recipe.h:32
Definition RecordStartedPacket.h:19
Definition RefreshEntitlementsPacket.h:19
Definition RemoveObjectivePacket.h:19
Definition RemoveVolumeEntityPacket.h:19
Definition ResourcePackChunkDataPacket.h:19
Definition ResourcePackDataInfoPacket.h:19
Definition ResourcePackStackPacket.h:19
Definition ResourcePacksInfoPacket.h:19
Definition RespawnPacket.h:19
Definition ScriptMessagePacket.h:19
Definition SendPartyDestinationCookiePacket.h:19
Definition ServerPlayerPostMovePositionPacket.h:19
Definition ServerPresenceInfoPacket.h:19
Definition ServerSettingsResponsePacket.h:19
Definition ServerStoreInfoPacket.h:19
Definition ServerToClientHandshakePacket.h:19
Definition SetDisplayObjectivePacket.h:19
Definition SetLastHurtByPacket.h:19
Definition SetPlayerFurnaceOptionsPacket.h:19
Definition SetPlayerGameTypePacket.h:19
Definition SetPlayerInventoryOptionsPacket.h:19
Definition SetScorePacket.h:19
Definition SetScoreboardIdentityPacket.h:19
Definition SetTitlePacket.h:19
Definition ShowCreditsPacket.h:19
Definition ShowProfilePacket.h:19
Definition ShowStoreOfferPacket.h:19
Definition SimpleEventPacket.h:19
Definition SimulationTypePacket.h:19
Definition ManagedChatClient.h:7
Definition StopSoundPacket.h:19
Definition StructureTemplateDataResponsePacket.h:19
Definition SubChunkPacket.h:19
Definition SyncActorPropertyPacket.h:19
Definition SyncWorldClocksPacket.h:19
Definition TakeItemActorPacket.h:19
Definition TaskGroup.h:85
Definition TextPacket.h:19
Definition TextureShiftManager.h:5
Definition TickingAreasLoadStatusPacket.h:19
Definition ToastRequestPacket.h:20
Definition TransferPacket.h:19
Definition TrimDataPacket.h:19
Definition UnlockedRecipesClientComponent.h:11
Definition UnlockedRecipesPacket.h:19
Definition UpdateAttributesPacket.h:19
Definition UpdateClientInputLocksPacket.h:19
Definition UpdateEquipPacket.h:19
Definition UpdatePlayerGameTypePacket.h:19
Definition UpdateSoftEnumPacket.h:19
Definition UpdateSubChunkBlocksPacket.h:19
Definition UpdateTradePacket.h:19
Definition VideoCaptureSessionManager.h:5
Definition VoxelShapesPacket.h:19
Definition VoxelShapeRegistry.h:17
Definition ClientNetworkHandler.h:13
Definition NetworkIdentifierWithSubId.h:10
Definition JigsawStructureData.h:16
Definition ToastIconData.h:5
Definition context.h:5