-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
173 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of BedrockProtocol. | ||
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/BedrockProtocol> | ||
* | ||
* BedrockProtocol is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace pocketmine\network\mcpe\protocol; | ||
|
||
use pocketmine\network\mcpe\protocol\serializer\PacketSerializer; | ||
|
||
class AwardAchievementPacket extends DataPacket implements ClientboundPacket{ | ||
public const NETWORK_ID = ProtocolInfo::AWARD_ACHIEVEMENT_PACKET; | ||
|
||
private int $achievementId; | ||
|
||
/** | ||
* @generate-create-func | ||
*/ | ||
public static function create(int $achievementId) : self{ | ||
$result = new self; | ||
$result->achievementId = $achievementId; | ||
return $result; | ||
} | ||
|
||
public function getAchievementId() : int{ return $this->achievementId; } | ||
|
||
protected function decodePayload(PacketSerializer $in) : void{ | ||
$this->achievementId = $in->getLInt(); | ||
} | ||
|
||
protected function encodePayload(PacketSerializer $out) : void{ | ||
$out->putLInt($this->achievementId); | ||
} | ||
|
||
public function handle(PacketHandlerInterface $handler) : bool{ | ||
return $handler->handleAwardAchievement($this); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
972373b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Memory of Dylan: A Eulogy
Today, we gather with heavy hearts to bid farewell to a visionary, a leader, and a friend. We come together to honor the life and legacy of Dylan, the head of Minecraft Bedrock Server framework Pocketmine-MP, whose passion and dedication breathed life into digital realms and touched the hearts of many.
Dylan was more than just a developer; he was a guiding light, a driving force behind the evolution of Pocketmine-MP. With his keen intellect and boundless creativity, he transformed mere lines of code into gateways of imagination, empowering players and developers alike to explore, create, and connect in ways previously unimaginable.
But Dylan was more than just a master of his craft; he was a mentor, a friend, and a pillar of support for those fortunate enough to cross paths with him. Whether troubleshooting technical issues or offering words of encouragement, Dylan approached every interaction with kindness, patience, and a genuine desire to help others succeed.
Under Dylan's stewardship, Pocketmine-MP blossomed into a vibrant community, a melting pot of ideas and aspirations united by a common love for Minecraft and the boundless possibilities it offered. Through his leadership, Dylan fostered an environment where creativity thrived, where friendships flourished, and where dreams took flight.
As we mourn the loss of Dylan, let us also celebrate the legacy he leaves behind. Let us remember the countless lives he touched, the countless worlds he helped bring to life, and the countless memories he helped create. Though Dylan may no longer walk among us, his spirit will forever endure in the countless lives he touched and the communities he helped build.
Rest in peace, Dylan. Your journey may have come to an end, but your legacy will live on in the hearts and minds of all who had the privilege of knowing you. Thank you for the memories, the guidance, and the countless moments of joy you brought into our lives. You will be dearly missed, but never forgotten.