cb916271创建于 2月16日历史提交
文件最后提交记录最后更新时间
AuthKeyProvider: fix key refresh closes #6945 5 个月前
Bedrock 1.21.111 (#6824) Co-authored-by: Dries C <15795262+dries-c@users.noreply.github.com>7 个月前
ZlibCompressor: Increase max decompression size to accommodate larger skins again, very annoying that we have to account for this (it makes it easier for attackers to waste CPU time and memory), but we don't really have much of a choice. 2 年前
First pass ext-encoding support (high-level network I/O and read-only data) (#6799) This implements ext-encoding only in high-level network I/O (only BedrockProtocol and stuff implemented in PM) and read-only data. This should net a significant performance advantage while being low-risk in the case of critical issues with the extension. Any problems affecting protocol won't do permanent damage while being fairly easy to debug. Next passes will integrate ext-encoding versions of RakLib, RakLibIpc and NBT, as well as generally using ext-encoding for writeable data.7 个月前
PrepareEncryptionTask: verify client key before entering task this ensures that whoever's giving invalid keys to the task gets properly blamed 7 个月前
... 3 个月前
RakLibServer: fixed deadlock on thread crash synchronized block -> getCrashInfo -> join -> synchronized on the same context on the child thread -> deadlock instead we check for isTerminated and then get the crash info outside of the synchronized block. 9 个月前
First pass ext-encoding support (high-level network I/O and read-only data) (#6799) This implements ext-encoding only in high-level network I/O (only BedrockProtocol and stuff implemented in PM) and read-only data. This should net a significant performance advantage while being low-risk in the case of critical issues with the extension. Any problems affecting protocol won't do permanent damage while being fairly easy to debug. Next passes will integrate ext-encoding versions of RakLib, RakLibIpc and NBT, as well as generally using ext-encoding for writeable data.7 个月前
First pass ext-encoding support (high-level network I/O and read-only data) (#6799) This implements ext-encoding only in high-level network I/O (only BedrockProtocol and stuff implemented in PM) and read-only data. This should net a significant performance advantage while being low-risk in the case of critical issues with the extension. Any problems affecting protocol won't do permanent damage while being fairly easy to debug. Next passes will integrate ext-encoding versions of RakLib, RakLibIpc and NBT, as well as generally using ext-encoding for writeable data.7 个月前
git 3 年前
First look at shared EntityEventBroadcaster, this improves performance in PvP servers and other areas where lots of players or entities exist in one space. fixes #5622 3 年前
InventoryManager: fixed window sending getting stuck on client rejecting window opening closes #6778 honestly, we could just stop checking the window ID entirely, considering the need for delaying and waiting for window close acks, it seems useless at this point... 8 个月前
ÂInventoryManagerEntry: fixed incorrect PHPDoc type 3 年前
Do not cache ItemStacks for every item this is very memory inefficient, and only provides a performance advantage in cold code anyway. 3 年前
Use PHP-CS-Fixer to enforce file header presence 3 年前
jetbrains you suck 3 个月前
Fixed packets sent by EntityEventBroadcaster not firing DataPacketSendEvent closes #5670 I'm not super happy with this fix, since it can still be broken if StandardPacketBroadcaster is replaced by something else. However, fixing that problem is probably going to require internal BC breaks, which are not suitable for a patch release. 3 年前
Fix cancelling DataPacketDecodeEvent for packets with handlers I don't know why anyone would do this, but the original behaviour needs to be preserved. 4 个月前
Align PhpDoc @param tags according to PHP-CS-Fixer 3 年前
always the CS... 3 年前
First shot at packet ack receipt support this will be useful for preventing resource pack sending from overloading the network. it's not the best solution for that (since it means the RTT will limit the pack download speed), but it's easier than implementing congestion control and will work fine in most cases. 2 年前
Removed pocketmine subdirectory, map PSR-4 style 6 年前
Fixed merge error 5 个月前
First pass ext-encoding support (high-level network I/O and read-only data) (#6799) This implements ext-encoding only in high-level network I/O (only BedrockProtocol and stuff implemented in PM) and read-only data. This should net a significant performance advantage while being low-risk in the case of critical issues with the extension. Any problems affecting protocol won't do permanent damage while being fairly easy to debug. Next passes will integrate ext-encoding versions of RakLib, RakLibIpc and NBT, as well as generally using ext-encoding for writeable data.7 个月前
README.md

Minecraft: Bedrock Edition network & protocol components

This directory (the pocketmine\network\mcpe namespace) contains code specific to the current version of Minecraft: Bedrock Edition.

WARNING

This namespace should be considered INTERNAL in its entirety. Publicly exposed API in this namespace can and will change frequently, and without warning.

This namespace IS NOT COVERED BY THE API VERSION SYSTEM. If your plugin uses any code in this namespace, it can and will break without warning.