Add packet palettes (#1236)

* Add packet type palette
* Fix
* test new palette
* Fix 1.16.2 palette
* Add packet ID dumper
* Add document
* Update naming
* Delete old implementation of packet type
* Rename PacketTypeHandler to PacketType18Handler
* Fix packet type namespace
* Add dump to file method for packet type
* Rename packet palette version number
* Replace unknown packet type to explicit type name
Prevent duplicated key while creating reverse mapping
* Include packets ID in packet palette
Add packet palette helper class
* Remove packet ID dumper methods
As packets ID are included in source code now
This commit is contained in:
ReinforceZwei 2020-08-27 01:19:59 +08:00 committed by GitHub
parent 896cabb6ce
commit 3434d95b81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 1978 additions and 906 deletions

View file

@ -152,10 +152,21 @@
<Compile Include="Protocol\EntityActionType.cs" />
<Compile Include="Protocol\Handlers\DataTypes.cs" />
<Compile Include="Protocol\Handlers\Forge\FMLVersion.cs" />
<Compile Include="Protocol\Handlers\PacketIncomingType.cs" />
<Compile Include="Protocol\Handlers\PacketOutgoingType.cs" />
<Compile Include="Protocol\Handlers\PacketPalettes\PacketPalette110.cs" />
<Compile Include="Protocol\Handlers\PacketPalettes\PacketPalette112.cs" />
<Compile Include="Protocol\Handlers\PacketPalettes\PacketPalette1122.cs" />
<Compile Include="Protocol\Handlers\PacketPalettes\PacketPalette113.cs" />
<Compile Include="Protocol\Handlers\PacketPalettes\PacketPalette114.cs" />
<Compile Include="Protocol\Handlers\PacketPalettes\PacketPalette115.cs" />
<Compile Include="Protocol\Handlers\PacketPalettes\PacketPalette116.cs" />
<Compile Include="Protocol\Handlers\PacketPalettes\PacketPalette1162.cs" />
<Compile Include="Protocol\Handlers\PacketPalettes\PacketPalette17.cs" />
<Compile Include="Protocol\Handlers\PacketPalettes\PacketPaletteHelper.cs" />
<Compile Include="Protocol\Handlers\PacketType18Handler.cs" />
<Compile Include="Protocol\Handlers\PacketPalettes\PacketTypePalette.cs" />
<Compile Include="Protocol\Handlers\PacketTypesIn.cs" />
<Compile Include="Protocol\Handlers\PacketTypesOut.cs" />
<Compile Include="Protocol\Handlers\Protocol18Forge.cs" />
<Compile Include="Protocol\Handlers\Protocol18PacketTypes.cs" />
<Compile Include="Protocol\Handlers\Protocol18Terrain.cs" />
<Compile Include="Protocol\Handlers\SocketWrapper.cs" />
<Compile Include="Protocol\DataTypeGenerator.cs" />
@ -335,4 +346,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>