816234a379
UpdateBlockSyncedPacket: populate missing information for second field
2020-05-20 13:57:08 +01:00
b7bf92a5e9
SimpleEventPacket: added missing type constant
2020-05-20 13:50:43 +01:00
dcca000ead
PlayerActionPacket: added missing constant
2020-05-20 13:44:52 +01:00
c4ea51f985
NpcRequestPacket: added request type constants
2020-05-20 13:42:40 +01:00
8202bb1cd8
MoveActorAbsolutePacket: added missing flag
2020-05-20 13:39:56 +01:00
b75758e35e
MoveActorDeltaPacket: added missing flags
2020-05-20 13:39:37 +01:00
38a06f76f8
LoginPacket: remove unused constant
2020-05-20 13:15:43 +01:00
84f99ed418
CommandOriginData: Rename previously unknown field
2020-05-20 13:00:03 +01:00
fd63f19199
make use of new GameRuleType constants
2020-05-20 12:35:29 +01:00
66d44aa814
added GameRuleType protocol constants
2020-05-20 12:35:07 +01:00
f3089f577e
StartGamePacket: use new protocol constants for multiplayer visibility
2020-05-20 12:22:33 +01:00
9516ef1632
added GamePublishSetting protocol constants
2020-05-20 12:22:12 +01:00
e982a57cb5
StartGamePacket: use EducationEditionOffer constants
2020-05-20 12:08:56 +01:00
f57fa2252b
added EducationEditionOffer protocol constants
2020-05-20 12:08:36 +01:00
02cc370855
StartGamePacket: use GeneratorType constants
2020-05-20 12:05:41 +01:00
0a5d14a840
added GeneratorType protocol constants
2020-05-20 12:05:41 +01:00
3ec2994d7f
added protocol GameMode constants
2020-05-20 11:53:35 +01:00
25fb5140a2
Merge #3456 : Added protocol DeviceOS constants
...
close #3456
since this is a protocol addition and not API, this belongs on stable so
that protocol changes can consistently use it without worrying about
branch compatibility.
2020-05-17 09:57:39 +01:00
0847358070
SkinImage: fix inverted auto-detect height/width, closes #3490
...
it seems like the client doesn't care if the h/w are inverted for skins anyway, but this is still wrong anyway...
2020-05-14 00:22:12 +01:00
a107ad7404
1.14.60 support ( #3407 )
2020-04-17 09:18:00 +01:00
7a072931df
Merge branch 'stable' of https://github.com/pmmp/pocketmine-mp into stable
2020-04-17 01:58:26 +01:00
f428a9bf52
protocol: rename some useless fields
2020-04-17 01:58:06 +01:00
2e720b48d9
AnimatePacket: added a new constant
2020-04-17 01:57:20 +01:00
a6e79bedf5
ActorEventPacket: plug some gaps
2020-04-17 01:56:56 +01:00
a5ba570fdf
StructureBlockUpdatePacket: Added encode/decode ( #3148 )
2020-04-17 01:11:16 +01:00
0d5164af02
LabTablePacket: updated type field and added constants
2020-04-16 22:03:36 +01:00
534af770f8
InteractPacket: new constant
2020-04-16 22:03:34 +01:00
456d9a722a
reduce some doc comments to single line
2020-03-10 12:36:19 +00:00
6a507bb149
further CS fixes
2020-03-10 12:18:16 +00:00
93e5c80962
MultiplayerSettingsPacket is bothways, close #3331
2020-03-03 12:32:57 +00:00
04581e2700
DataPacket: account for splitscreen header when decoding
2020-02-24 21:20:25 +00:00
93597dcd50
SkinData: fixed loss of data from packet decode
2020-02-24 20:48:03 +00:00
3cd1da196a
UpdateTradePacket: fix order of fields, closes #3327
2020-02-24 20:16:07 +00:00
1257378198
clean up function imports
2020-02-08 09:31:15 +00:00
34972c3327
Assume that getmypid() never returns false
...
my background research on this informs me that this returns false on negative PID, which never happens because the underlying C API call never fails - not on linux, bsd, or windows.
2020-02-05 21:00:56 +00:00
1a5228e7a6
Fixed property types with missing null PhpDoc types
2020-02-05 20:55:03 +00:00
495bfda044
Drop a bunch of invalid null defaults
...
phpstan doesn't report these out of the box, for reasons I'm not clear on. It's also not clear if having null defaults has any effect on nullability behaviour, so they are best removed. In addition, these would be problematic on 7.4.
2020-02-05 20:53:54 +00:00
fa82cb26d8
added native types to closures (phpstan-strict-rules)
2020-02-05 16:35:10 +00:00
e5a2cfb65f
avoid type juggling in conditions, always use explicit boolean conditions
2020-02-05 15:44:06 +00:00
260ac47588
add some phpstan array types
2020-01-30 22:23:11 +00:00
fc0619ee6e
populate missing array value types in network namespace
2020-01-30 21:12:00 +00:00
259f0425a9
ClientboundMapItemDataPacket: replace assoc array with MapDecoration class
...
I thought I'd done this already, but it appears not.
2020-01-30 20:05:18 +00:00
640df1003c
add some Generator generics for PHPStan
2020-01-29 16:38:50 +00:00
8184a6b114
SkinImage: enforce that height/width must be positive
2020-01-22 14:58:36 +00:00
b8d44ff162
SkinImage: fix formatting error
2020-01-22 14:58:00 +00:00
f624871b3f
strip extra blank lines (php-cs-fixer)
2020-01-22 14:50:29 +00:00
bff5bf25ae
LegacySkinAdapter: make resource patch validity check more robust
2020-01-22 14:36:40 +00:00
c4793241f5
Mass removal of useless @param/@return PHPDoc annotations, pass 1
2020-01-21 15:10:18 +00:00
fffeeddca6
DataPacket: add magic method return types to keep phpstan happy
...
this really shouldn't be necessary, but it is what it is.
2020-01-19 17:14:34 +00:00
b42966f61b
network: explicitly specify @return void
2020-01-18 19:35:01 +00:00