skyrim-multiplayer / skymp

Multiplayer Mod & TypeScript SDK for Skyrim Special Edition
Other
223 stars 75 forks source link

Revert "feat: binary messages" #2225

Closed Pospelove closed 1 week ago

Pospelove commented 1 week ago

Reverts skyrim-multiplayer/skymp#2154


[!IMPORTANT] Reverts binary message feature, removing related files and updating message handling to use JSON serialization across the codebase.

  • Reverts:
    • Reverts feature for binary messages, removing related files and code.
  • Serialization:
    • Removes serialization directory and related CMake configurations.
    • Deletes BitStreamInputArchive.h, BitStreamOutputArchive.h, JsonInputArchive.h, JsonOutputArchive.h, and related concept headers.
    • Updates message handling to use JSON instead of binary serialization.
  • Message Handling:
    • Modifies ChangeValuesMessage, DeathStateContainerMessage, MovementMessage, OpenContainerMessage, TeleportMessage, UpdateAnimationMessage, UpdateEquipmentMessage, and UpdatePropertyMessage to use JSON.
    • Removes extractUpdatePropertyMessageData() in remoteServer.ts and updates message handling.
  • Networking:
    • Updates Networking functions to remove password prefix handling.
  • Tests:
    • Updates unit tests to reflect changes in message serialization and handling.
  • Misc:
    • Removes unused includes and refactors code for clarity.

This description was created by Ellipsis for 65fcead5758373118c9af8b699cf255cadc02a68. It will automatically update as commits are pushed.