64ecc373be
Split up session base logic and packet handling
...
this will allow for mutable packet handlers which can be used to cleanly implement multi-stage game sessions.
2018-07-20 12:36:44 +01:00
2bba3a0805
Apply typehints to pocketmine\network\mcpe\protocol namespace
...
this is pulled from network-nuke in order to reduce the size of the diff.
2018-07-05 13:19:15 +01:00
05af87e1d4
Strip empty lines at the end of classes
2018-06-11 13:19:23 +01:00
eb28622823
Protocol changes for 1.5.0.0
...
this feels so strange to type... can we ditch the versioning system already?
2018-05-02 12:03:29 +01:00
d384df1f2e
fixed some mistakes in the protocol
2018-05-02 12:03:29 +01:00
db5890fddb
Rename more unknown things in the protocol
2018-04-07 11:35:35 +01:00
fc795b80ae
Protocol changes for 1.2.10
2018-04-04 10:58:49 +01:00
e0ed877494
Protocol changes for 1.2.10 release
...
Looks like they reverted near enough everything they did in the beta.
2018-02-08 11:19:04 +00:00
95d42b9907
Network: Remove legacy Vector3 primitive encode/decode methods
2018-01-20 10:58:39 +00:00
74b074753f
Bulk addition of constant visibilities
...
thanks PhpStorm inspections plugin for annoying the shit out of me until
I did this.
2017-11-21 14:44:10 +00:00
5fc50aeda5
Found an unknown field in StartGamePacket
2017-08-16 10:10:42 +01:00
9be1b929a5
Added PhpDoc for packet field types and changed float x,y,z to Vector3
2017-08-13 20:02:07 +01:00
9bae4d8ef6
updates for 1.2.0.11
2017-08-10 11:15:23 +01:00
7886918140
Cleaned up some bad code in DataPacket, added encode/decodeHeader and made encode/decodePayload protected
2017-08-06 17:21:51 +01:00
77cd8e7799
More broken mess to spawn 1.2
2017-08-06 17:21:51 +01:00
2726f2a011
Solved packet encode/decode boilerplate code issue
...
Something as simple as forgetting the reset() when encoding would cause lots of problems which could go unnoticed. This should be fully backwards-compatible but needs more tests.
2017-07-07 13:59:09 +01:00
ecfcf49984
Added basic encode/decode for gamerules data and added GameRulesChangedPacket
...
needed it for tests
Squashed:
oops
PhpStorm you asshole
2017-06-25 15:43:08 +01:00
78c09267e5
Typehinted things in BinaryStream, sorted some methods and related bugfixes
2017-06-07 13:53:10 +01:00
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
846e3b6f1e
New fields for StartGamePacket
2017-06-01 19:48:06 +01:00
0a4d62b405
Added encode and decode methods for more packets
2017-05-15 15:56:59 +01:00
a327a74ece
Protocol changes for 1.1.0.3, fixed red sky, fixed crashes
2017-04-14 15:17:56 +01:00
022f33b256
Fixed encoding of StartGamePacket, fixed world name not showing up in settings screen
2017-04-03 16:04:15 +01:00
9311b4f248
Remove unneeded comments
2017-03-08 20:29:24 +00:00
295d9bc80b
Cleaned up muddled varint/varlong mess, added separate methods for entity unique and runtime ids, moved some MCPE-protocol-specific methods out of BinaryStream
2017-03-08 20:29:24 +00:00
56990eb28b
MCPE protocol gets its own namespace
2017-03-08 20:28:39 +00:00