Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: 🎨 cleaner packet routing in gateway (#2204)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced new services for handling message routing in the MCOTS and NPS ports. - Added new classes for managing game messages and packets. - Enhanced utility functions for socket management and encryption compatibility. - **Bug Fixes** - Corrected indentation for volume declarations in the docker-compose file. - **Removals** - Removed several unused functions and classes related to player and session management. - Eliminated functions for warehouse inventory and part assembly transfer. - Removed user account management functions and associated tests. - **Updates** - Improved socket connection handling and logging. - Enhanced error handling in chat data processing. - Updated TypeScript configurations for better compatibility. - Streamlined export declarations for shared functions. - Added new type definitions for `GatewayOptions`. - Updated function exports for better accessibility. - **Tests** - Added new test suites for port routers and socket utilities. - Introduced unit tests for the new `GamePacket` class. - Added tests for `GameMessagePayload` to validate serialization and encryption functionalities. - Updated tests to reflect changes in class instantiation and method usage. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information