PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
PacketHandlerDefaultImplTrait.php
1<?php
2
3/*
4 * This file is part of BedrockProtocol.
5 * Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/BedrockProtocol>
6 *
7 * BedrockProtocol is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 */
12
13declare(strict_types=1);
14
15namespace pocketmine\network\mcpe\protocol;
16
23trait PacketHandlerDefaultImplTrait{
24
25 public function handleLogin(LoginPacket $packet) : bool{
26 return false;
27 }
28
29 public function handlePlayStatus(PlayStatusPacket $packet) : bool{
30 return false;
31 }
32
33 public function handleServerToClientHandshake(ServerToClientHandshakePacket $packet) : bool{
34 return false;
35 }
36
37 public function handleClientToServerHandshake(ClientToServerHandshakePacket $packet) : bool{
38 return false;
39 }
40
41 public function handleDisconnect(DisconnectPacket $packet) : bool{
42 return false;
43 }
44
45 public function handleResourcePacksInfo(ResourcePacksInfoPacket $packet) : bool{
46 return false;
47 }
48
49 public function handleResourcePackStack(ResourcePackStackPacket $packet) : bool{
50 return false;
51 }
52
53 public function handleResourcePackClientResponse(ResourcePackClientResponsePacket $packet) : bool{
54 return false;
55 }
56
57 public function handleText(TextPacket $packet) : bool{
58 return false;
59 }
60
61 public function handleSetTime(SetTimePacket $packet) : bool{
62 return false;
63 }
64
65 public function handleStartGame(StartGamePacket $packet) : bool{
66 return false;
67 }
68
69 public function handleAddPlayer(AddPlayerPacket $packet) : bool{
70 return false;
71 }
72
73 public function handleAddActor(AddActorPacket $packet) : bool{
74 return false;
75 }
76
77 public function handleRemoveActor(RemoveActorPacket $packet) : bool{
78 return false;
79 }
80
81 public function handleAddItemActor(AddItemActorPacket $packet) : bool{
82 return false;
83 }
84
85 public function handleServerPlayerPostMovePosition(ServerPlayerPostMovePositionPacket $packet) : bool{
86 return false;
87 }
88
89 public function handleTakeItemActor(TakeItemActorPacket $packet) : bool{
90 return false;
91 }
92
93 public function handleMoveActorAbsolute(MoveActorAbsolutePacket $packet) : bool{
94 return false;
95 }
96
97 public function handleMovePlayer(MovePlayerPacket $packet) : bool{
98 return false;
99 }
100
101 public function handlePassengerJump(PassengerJumpPacket $packet) : bool{
102 return false;
103 }
104
105 public function handleUpdateBlock(UpdateBlockPacket $packet) : bool{
106 return false;
107 }
108
109 public function handleAddPainting(AddPaintingPacket $packet) : bool{
110 return false;
111 }
112
113 public function handleLevelSoundEventPacketV1(LevelSoundEventPacketV1 $packet) : bool{
114 return false;
115 }
116
117 public function handleLevelEvent(LevelEventPacket $packet) : bool{
118 return false;
119 }
120
121 public function handleBlockEvent(BlockEventPacket $packet) : bool{
122 return false;
123 }
124
125 public function handleActorEvent(ActorEventPacket $packet) : bool{
126 return false;
127 }
128
129 public function handleMobEffect(MobEffectPacket $packet) : bool{
130 return false;
131 }
132
133 public function handleUpdateAttributes(UpdateAttributesPacket $packet) : bool{
134 return false;
135 }
136
137 public function handleInventoryTransaction(InventoryTransactionPacket $packet) : bool{
138 return false;
139 }
140
141 public function handleMobEquipment(MobEquipmentPacket $packet) : bool{
142 return false;
143 }
144
145 public function handleMobArmorEquipment(MobArmorEquipmentPacket $packet) : bool{
146 return false;
147 }
148
149 public function handleInteract(InteractPacket $packet) : bool{
150 return false;
151 }
152
153 public function handleBlockPickRequest(BlockPickRequestPacket $packet) : bool{
154 return false;
155 }
156
157 public function handleActorPickRequest(ActorPickRequestPacket $packet) : bool{
158 return false;
159 }
160
161 public function handlePlayerAction(PlayerActionPacket $packet) : bool{
162 return false;
163 }
164
165 public function handleHurtArmor(HurtArmorPacket $packet) : bool{
166 return false;
167 }
168
169 public function handleSetActorData(SetActorDataPacket $packet) : bool{
170 return false;
171 }
172
173 public function handleSetActorMotion(SetActorMotionPacket $packet) : bool{
174 return false;
175 }
176
177 public function handleSetActorLink(SetActorLinkPacket $packet) : bool{
178 return false;
179 }
180
181 public function handleSetHealth(SetHealthPacket $packet) : bool{
182 return false;
183 }
184
185 public function handleSetSpawnPosition(SetSpawnPositionPacket $packet) : bool{
186 return false;
187 }
188
189 public function handleAnimate(AnimatePacket $packet) : bool{
190 return false;
191 }
192
193 public function handleRespawn(RespawnPacket $packet) : bool{
194 return false;
195 }
196
197 public function handleContainerOpen(ContainerOpenPacket $packet) : bool{
198 return false;
199 }
200
201 public function handleContainerClose(ContainerClosePacket $packet) : bool{
202 return false;
203 }
204
205 public function handlePlayerHotbar(PlayerHotbarPacket $packet) : bool{
206 return false;
207 }
208
209 public function handleInventoryContent(InventoryContentPacket $packet) : bool{
210 return false;
211 }
212
213 public function handleInventorySlot(InventorySlotPacket $packet) : bool{
214 return false;
215 }
216
217 public function handleContainerSetData(ContainerSetDataPacket $packet) : bool{
218 return false;
219 }
220
221 public function handleCraftingData(CraftingDataPacket $packet) : bool{
222 return false;
223 }
224
225 public function handleGuiDataPickItem(GuiDataPickItemPacket $packet) : bool{
226 return false;
227 }
228
229 public function handleBlockActorData(BlockActorDataPacket $packet) : bool{
230 return false;
231 }
232
233 public function handlePlayerInput(PlayerInputPacket $packet) : bool{
234 return false;
235 }
236
237 public function handleLevelChunk(LevelChunkPacket $packet) : bool{
238 return false;
239 }
240
241 public function handleSetCommandsEnabled(SetCommandsEnabledPacket $packet) : bool{
242 return false;
243 }
244
245 public function handleSetDifficulty(SetDifficultyPacket $packet) : bool{
246 return false;
247 }
248
249 public function handleChangeDimension(ChangeDimensionPacket $packet) : bool{
250 return false;
251 }
252
253 public function handleSetPlayerGameType(SetPlayerGameTypePacket $packet) : bool{
254 return false;
255 }
256
257 public function handlePlayerList(PlayerListPacket $packet) : bool{
258 return false;
259 }
260
261 public function handleSimpleEvent(SimpleEventPacket $packet) : bool{
262 return false;
263 }
264
265 public function handleLegacyTelemetryEvent(LegacyTelemetryEventPacket $packet) : bool{
266 return false;
267 }
268
269 public function handleSpawnExperienceOrb(SpawnExperienceOrbPacket $packet) : bool{
270 return false;
271 }
272
273 public function handleClientboundMapItemData(ClientboundMapItemDataPacket $packet) : bool{
274 return false;
275 }
276
277 public function handleMapInfoRequest(MapInfoRequestPacket $packet) : bool{
278 return false;
279 }
280
281 public function handleRequestChunkRadius(RequestChunkRadiusPacket $packet) : bool{
282 return false;
283 }
284
285 public function handleChunkRadiusUpdated(ChunkRadiusUpdatedPacket $packet) : bool{
286 return false;
287 }
288
289 public function handleGameRulesChanged(GameRulesChangedPacket $packet) : bool{
290 return false;
291 }
292
293 public function handleCamera(CameraPacket $packet) : bool{
294 return false;
295 }
296
297 public function handleBossEvent(BossEventPacket $packet) : bool{
298 return false;
299 }
300
301 public function handleShowCredits(ShowCreditsPacket $packet) : bool{
302 return false;
303 }
304
305 public function handleAvailableCommands(AvailableCommandsPacket $packet) : bool{
306 return false;
307 }
308
309 public function handleCommandRequest(CommandRequestPacket $packet) : bool{
310 return false;
311 }
312
313 public function handleCommandBlockUpdate(CommandBlockUpdatePacket $packet) : bool{
314 return false;
315 }
316
317 public function handleCommandOutput(CommandOutputPacket $packet) : bool{
318 return false;
319 }
320
321 public function handleUpdateTrade(UpdateTradePacket $packet) : bool{
322 return false;
323 }
324
325 public function handleUpdateEquip(UpdateEquipPacket $packet) : bool{
326 return false;
327 }
328
329 public function handleResourcePackDataInfo(ResourcePackDataInfoPacket $packet) : bool{
330 return false;
331 }
332
333 public function handleResourcePackChunkData(ResourcePackChunkDataPacket $packet) : bool{
334 return false;
335 }
336
337 public function handleResourcePackChunkRequest(ResourcePackChunkRequestPacket $packet) : bool{
338 return false;
339 }
340
341 public function handleTransfer(TransferPacket $packet) : bool{
342 return false;
343 }
344
345 public function handlePlaySound(PlaySoundPacket $packet) : bool{
346 return false;
347 }
348
349 public function handleStopSound(StopSoundPacket $packet) : bool{
350 return false;
351 }
352
353 public function handleSetTitle(SetTitlePacket $packet) : bool{
354 return false;
355 }
356
357 public function handleAddBehaviorTree(AddBehaviorTreePacket $packet) : bool{
358 return false;
359 }
360
361 public function handleStructureBlockUpdate(StructureBlockUpdatePacket $packet) : bool{
362 return false;
363 }
364
365 public function handleShowStoreOffer(ShowStoreOfferPacket $packet) : bool{
366 return false;
367 }
368
369 public function handlePurchaseReceipt(PurchaseReceiptPacket $packet) : bool{
370 return false;
371 }
372
373 public function handlePlayerSkin(PlayerSkinPacket $packet) : bool{
374 return false;
375 }
376
377 public function handleSubClientLogin(SubClientLoginPacket $packet) : bool{
378 return false;
379 }
380
381 public function handleAutomationClientConnect(AutomationClientConnectPacket $packet) : bool{
382 return false;
383 }
384
385 public function handleSetLastHurtBy(SetLastHurtByPacket $packet) : bool{
386 return false;
387 }
388
389 public function handleBookEdit(BookEditPacket $packet) : bool{
390 return false;
391 }
392
393 public function handleNpcRequest(NpcRequestPacket $packet) : bool{
394 return false;
395 }
396
397 public function handlePhotoTransfer(PhotoTransferPacket $packet) : bool{
398 return false;
399 }
400
401 public function handleModalFormRequest(ModalFormRequestPacket $packet) : bool{
402 return false;
403 }
404
405 public function handleModalFormResponse(ModalFormResponsePacket $packet) : bool{
406 return false;
407 }
408
409 public function handleServerSettingsRequest(ServerSettingsRequestPacket $packet) : bool{
410 return false;
411 }
412
413 public function handleServerSettingsResponse(ServerSettingsResponsePacket $packet) : bool{
414 return false;
415 }
416
417 public function handleShowProfile(ShowProfilePacket $packet) : bool{
418 return false;
419 }
420
421 public function handleSetDefaultGameType(SetDefaultGameTypePacket $packet) : bool{
422 return false;
423 }
424
425 public function handleRemoveObjective(RemoveObjectivePacket $packet) : bool{
426 return false;
427 }
428
429 public function handleSetDisplayObjective(SetDisplayObjectivePacket $packet) : bool{
430 return false;
431 }
432
433 public function handleSetScore(SetScorePacket $packet) : bool{
434 return false;
435 }
436
437 public function handleLabTable(LabTablePacket $packet) : bool{
438 return false;
439 }
440
441 public function handleUpdateBlockSynced(UpdateBlockSyncedPacket $packet) : bool{
442 return false;
443 }
444
445 public function handleMoveActorDelta(MoveActorDeltaPacket $packet) : bool{
446 return false;
447 }
448
449 public function handleSetScoreboardIdentity(SetScoreboardIdentityPacket $packet) : bool{
450 return false;
451 }
452
453 public function handleSetLocalPlayerAsInitialized(SetLocalPlayerAsInitializedPacket $packet) : bool{
454 return false;
455 }
456
457 public function handleUpdateSoftEnum(UpdateSoftEnumPacket $packet) : bool{
458 return false;
459 }
460
461 public function handleNetworkStackLatency(NetworkStackLatencyPacket $packet) : bool{
462 return false;
463 }
464
465 public function handleSpawnParticleEffect(SpawnParticleEffectPacket $packet) : bool{
466 return false;
467 }
468
469 public function handleAvailableActorIdentifiers(AvailableActorIdentifiersPacket $packet) : bool{
470 return false;
471 }
472
473 public function handleLevelSoundEventPacketV2(LevelSoundEventPacketV2 $packet) : bool{
474 return false;
475 }
476
477 public function handleNetworkChunkPublisherUpdate(NetworkChunkPublisherUpdatePacket $packet) : bool{
478 return false;
479 }
480
481 public function handleBiomeDefinitionList(BiomeDefinitionListPacket $packet) : bool{
482 return false;
483 }
484
485 public function handleLevelSoundEvent(LevelSoundEventPacket $packet) : bool{
486 return false;
487 }
488
489 public function handleLevelEventGeneric(LevelEventGenericPacket $packet) : bool{
490 return false;
491 }
492
493 public function handleLecternUpdate(LecternUpdatePacket $packet) : bool{
494 return false;
495 }
496
497 public function handleClientCacheStatus(ClientCacheStatusPacket $packet) : bool{
498 return false;
499 }
500
501 public function handleOnScreenTextureAnimation(OnScreenTextureAnimationPacket $packet) : bool{
502 return false;
503 }
504
505 public function handleMapCreateLockedCopy(MapCreateLockedCopyPacket $packet) : bool{
506 return false;
507 }
508
509 public function handleStructureTemplateDataRequest(StructureTemplateDataRequestPacket $packet) : bool{
510 return false;
511 }
512
513 public function handleStructureTemplateDataResponse(StructureTemplateDataResponsePacket $packet) : bool{
514 return false;
515 }
516
517 public function handleClientCacheBlobStatus(ClientCacheBlobStatusPacket $packet) : bool{
518 return false;
519 }
520
521 public function handleClientCacheMissResponse(ClientCacheMissResponsePacket $packet) : bool{
522 return false;
523 }
524
525 public function handleEducationSettings(EducationSettingsPacket $packet) : bool{
526 return false;
527 }
528
529 public function handleEmote(EmotePacket $packet) : bool{
530 return false;
531 }
532
533 public function handleMultiplayerSettings(MultiplayerSettingsPacket $packet) : bool{
534 return false;
535 }
536
537 public function handleSettingsCommand(SettingsCommandPacket $packet) : bool{
538 return false;
539 }
540
541 public function handleAnvilDamage(AnvilDamagePacket $packet) : bool{
542 return false;
543 }
544
545 public function handleCompletedUsingItem(CompletedUsingItemPacket $packet) : bool{
546 return false;
547 }
548
549 public function handleNetworkSettings(NetworkSettingsPacket $packet) : bool{
550 return false;
551 }
552
553 public function handlePlayerAuthInput(PlayerAuthInputPacket $packet) : bool{
554 return false;
555 }
556
557 public function handleCreativeContent(CreativeContentPacket $packet) : bool{
558 return false;
559 }
560
561 public function handlePlayerEnchantOptions(PlayerEnchantOptionsPacket $packet) : bool{
562 return false;
563 }
564
565 public function handleItemStackRequest(ItemStackRequestPacket $packet) : bool{
566 return false;
567 }
568
569 public function handleItemStackResponse(ItemStackResponsePacket $packet) : bool{
570 return false;
571 }
572
573 public function handlePlayerArmorDamage(PlayerArmorDamagePacket $packet) : bool{
574 return false;
575 }
576
577 public function handleCodeBuilder(CodeBuilderPacket $packet) : bool{
578 return false;
579 }
580
581 public function handleUpdatePlayerGameType(UpdatePlayerGameTypePacket $packet) : bool{
582 return false;
583 }
584
585 public function handleEmoteList(EmoteListPacket $packet) : bool{
586 return false;
587 }
588
589 public function handlePositionTrackingDBServerBroadcast(PositionTrackingDBServerBroadcastPacket $packet) : bool{
590 return false;
591 }
592
593 public function handlePositionTrackingDBClientRequest(PositionTrackingDBClientRequestPacket $packet) : bool{
594 return false;
595 }
596
597 public function handleDebugInfo(DebugInfoPacket $packet) : bool{
598 return false;
599 }
600
601 public function handlePacketViolationWarning(PacketViolationWarningPacket $packet) : bool{
602 return false;
603 }
604
605 public function handleMotionPredictionHints(MotionPredictionHintsPacket $packet) : bool{
606 return false;
607 }
608
609 public function handleAnimateEntity(AnimateEntityPacket $packet) : bool{
610 return false;
611 }
612
613 public function handleCameraShake(CameraShakePacket $packet) : bool{
614 return false;
615 }
616
617 public function handlePlayerFog(PlayerFogPacket $packet) : bool{
618 return false;
619 }
620
621 public function handleCorrectPlayerMovePrediction(CorrectPlayerMovePredictionPacket $packet) : bool{
622 return false;
623 }
624
625 public function handleItemComponent(ItemComponentPacket $packet) : bool{
626 return false;
627 }
628
629 public function handleClientboundDebugRenderer(ClientboundDebugRendererPacket $packet) : bool{
630 return false;
631 }
632
633 public function handleSyncActorProperty(SyncActorPropertyPacket $packet) : bool{
634 return false;
635 }
636
637 public function handleAddVolumeEntity(AddVolumeEntityPacket $packet) : bool{
638 return false;
639 }
640
641 public function handleRemoveVolumeEntity(RemoveVolumeEntityPacket $packet) : bool{
642 return false;
643 }
644
645 public function handleSimulationType(SimulationTypePacket $packet) : bool{
646 return false;
647 }
648
649 public function handleNpcDialogue(NpcDialoguePacket $packet) : bool{
650 return false;
651 }
652
653 public function handleEduUriResource(EduUriResourcePacket $packet) : bool{
654 return false;
655 }
656
657 public function handleCreatePhoto(CreatePhotoPacket $packet) : bool{
658 return false;
659 }
660
661 public function handleUpdateSubChunkBlocks(UpdateSubChunkBlocksPacket $packet) : bool{
662 return false;
663 }
664
665 public function handleSubChunk(SubChunkPacket $packet) : bool{
666 return false;
667 }
668
669 public function handleSubChunkRequest(SubChunkRequestPacket $packet) : bool{
670 return false;
671 }
672
673 public function handlePlayerStartItemCooldown(PlayerStartItemCooldownPacket $packet) : bool{
674 return false;
675 }
676
677 public function handleScriptMessage(ScriptMessagePacket $packet) : bool{
678 return false;
679 }
680
681 public function handleCodeBuilderSource(CodeBuilderSourcePacket $packet) : bool{
682 return false;
683 }
684
685 public function handleTickingAreasLoadStatus(TickingAreasLoadStatusPacket $packet) : bool{
686 return false;
687 }
688
689 public function handleDimensionData(DimensionDataPacket $packet) : bool{
690 return false;
691 }
692
693 public function handleAgentActionEvent(AgentActionEventPacket $packet) : bool{
694 return false;
695 }
696
697 public function handleChangeMobProperty(ChangeMobPropertyPacket $packet) : bool{
698 return false;
699 }
700
701 public function handleLessonProgress(LessonProgressPacket $packet) : bool{
702 return false;
703 }
704
705 public function handleRequestAbility(RequestAbilityPacket $packet) : bool{
706 return false;
707 }
708
709 public function handleRequestPermissions(RequestPermissionsPacket $packet) : bool{
710 return false;
711 }
712
713 public function handleToastRequest(ToastRequestPacket $packet) : bool{
714 return false;
715 }
716
717 public function handleUpdateAbilities(UpdateAbilitiesPacket $packet) : bool{
718 return false;
719 }
720
721 public function handleUpdateAdventureSettings(UpdateAdventureSettingsPacket $packet) : bool{
722 return false;
723 }
724
725 public function handleDeathInfo(DeathInfoPacket $packet) : bool{
726 return false;
727 }
728
729 public function handleEditorNetwork(EditorNetworkPacket $packet) : bool{
730 return false;
731 }
732
733 public function handleFeatureRegistry(FeatureRegistryPacket $packet) : bool{
734 return false;
735 }
736
737 public function handleServerStats(ServerStatsPacket $packet) : bool{
738 return false;
739 }
740
741 public function handleRequestNetworkSettings(RequestNetworkSettingsPacket $packet) : bool{
742 return false;
743 }
744
745 public function handleGameTestRequest(GameTestRequestPacket $packet) : bool{
746 return false;
747 }
748
749 public function handleGameTestResults(GameTestResultsPacket $packet) : bool{
750 return false;
751 }
752
753 public function handleUpdateClientInputLocks(UpdateClientInputLocksPacket $packet) : bool{
754 return false;
755 }
756
757 public function handleCameraPresets(CameraPresetsPacket $packet) : bool{
758 return false;
759 }
760
761 public function handleUnlockedRecipes(UnlockedRecipesPacket $packet) : bool{
762 return false;
763 }
764
765 public function handleCameraInstruction(CameraInstructionPacket $packet) : bool{
766 return false;
767 }
768
769 public function handleCompressedBiomeDefinitionList(CompressedBiomeDefinitionListPacket $packet) : bool{
770 return false;
771 }
772
773 public function handleTrimData(TrimDataPacket $packet) : bool{
774 return false;
775 }
776
777 public function handleOpenSign(OpenSignPacket $packet) : bool{
778 return false;
779 }
780
781 public function handleAgentAnimation(AgentAnimationPacket $packet) : bool{
782 return false;
783 }
784
785 public function handleRefreshEntitlements(RefreshEntitlementsPacket $packet) : bool{
786 return false;
787 }
788
789 public function handlePlayerToggleCrafterSlotRequest(PlayerToggleCrafterSlotRequestPacket $packet) : bool{
790 return false;
791 }
792
793 public function handleSetPlayerInventoryOptions(SetPlayerInventoryOptionsPacket $packet) : bool{
794 return false;
795 }
796
797 public function handleSetHud(SetHudPacket $packet) : bool{
798 return false;
799 }
800
801 public function handleAwardAchievement(AwardAchievementPacket $packet) : bool{
802 return false;
803 }
804
805 public function handleClientboundCloseForm(ClientboundCloseFormPacket $packet) : bool{
806 return false;
807 }
808
809 public function handleServerboundLoadingScreen(ServerboundLoadingScreenPacket $packet) : bool{
810 return false;
811 }
812
813 public function handleJigsawStructureData(JigsawStructureDataPacket $packet) : bool{
814 return false;
815 }
816
817 public function handleCurrentStructureFeature(CurrentStructureFeaturePacket $packet) : bool{
818 return false;
819 }
820
821 public function handleServerboundDiagnostics(ServerboundDiagnosticsPacket $packet) : bool{
822 return false;
823 }
824
825 public function handleCameraAimAssist(CameraAimAssistPacket $packet) : bool{
826 return false;
827 }
828
829 public function handleContainerRegistryCleanup(ContainerRegistryCleanupPacket $packet) : bool{
830 return false;
831 }
832
833 public function handleMovementEffect(MovementEffectPacket $packet) : bool{
834 return false;
835 }
836
837 public function handleSetMovementAuthority(SetMovementAuthorityPacket $packet) : bool{
838 return false;
839 }
840}