e1504c668e
LevelSoundEventPacket: more helpers
2019-03-26 18:23:02 +00:00
0c89159cf2
Merge branch '3.6'
2019-02-09 19:22:00 +00:00
b8703d5dff
Protocol changes for 1.9.0
2019-02-07 21:56:42 +00:00
76f1ee1827
Add restrictions on packet send directions with interfaces
...
This prevents plugins sending wrong packets at the compiler level (or would, if we had a compiler). It's more robust than a getter for client/server and throwing an exception since a static analysis tool can detect faults created by sending wrong packets from the server. This is also used to deny service to dodgy clients which send wrong packets to the server to attack it.
2019-01-17 12:51:24 +00:00
2506947641
Merge branch 'release/3.5'
2018-12-20 20:01:02 +00:00
ea9f9aa250
Update some non-critical protocol magic numbers
2018-12-20 19:59:42 +00:00
ffa733fe0c
Merge branch 'release/3.5'
2018-12-12 19:51:41 +00:00
ec4c61e113
fix extradata defaults for broadcastLevelSoundEvent
...
fixes TNT sounds not working, amongst other things
2018-12-12 17:42:52 +00:00
30f5a8fac6
Protocol changes for 1.8.0 release
2018-12-11 21:05:03 +00:00
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
3a1df1d99e
LevelSoundEventPacket: added STOP_RECORD constant
...
this isn't actually a sound and as such doesn't have a stringy ID, so the script didn't see it.
2018-05-25 17:56:05 +01:00
8ccd13319c
LevelSoundEventPacket: update constants
...
now with whitespace gaps generated because apparently some are missing... ugh!
2018-05-25 17:27:31 +01:00
e85fc54037
LevelSoundEventPacket: found unknown field
...
wtf mojang
2018-04-07 11:35:35 +01:00
ae31ce1d25
LevelSoundEventPacket: updated sounds constants
2018-04-04 11:01:29 +01:00
95d42b9907
Network: Remove legacy Vector3 primitive encode/decode methods
2018-01-20 10:58:39 +00:00
4f8e4f0522
Add EOF newlines where missing (bulk) ( #1836 )
...
This should solve issues with people making GitHub PRs and having the web editor messing things up. GitHub Web Editor sucks :(
2017-12-20 11:56:36 +00:00
1fd9994056
Merge branch 'master' into mcpe-1.2.5
2017-11-21 16:48:18 +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
0072af95cb
Bump version to 1.2.5.12 and protocol changes
2017-10-23 20:04:47 +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
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
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
df577bddc2
Updated LevelSoundEventPacket constants (again)
2017-05-09 14:02:51 +01:00
c383c7b0dd
Found an unknown field in LevelSoundEventPacket
2017-05-05 18:34:52 +01:00
40f2d7fcdc
Updated LevelSoundEventPacket sound constants
2017-05-04 16:00:49 +01:00
08cd944e5d
Merge branch 'master' into api3/network
2017-03-09 18:12:37 +00:00
56990eb28b
MCPE protocol gets its own namespace
2017-03-08 20:28:39 +00:00