Files
Erupe/network/mhfpacket
Houmgaor 5f3c843082 refactor(config): eliminate ErupeConfig global variable
Replace the mutable global `_config.ErupeConfig` with dependency
injection across 79 files. Config is now threaded through existing
paths: `ClientContext.RealClientMode` for packet encoding, `s.server.
erupeConfig` for channel handlers, and explicit parameters for utility
functions. This removes hidden coupling, enables test parallelism
without global save/restore, and prevents low-level packages from
reaching up to the config layer.

Key changes:
- Enrich ClientContext with RealClientMode for packet files
- Add mode parameter to CryptConn, mhfitem, mhfcourse functions
- Convert handlers_commands init() to lazy sync.Once initialization
- Delete global var, init(), and helper functions from config.go
- Update all tests to pass config explicitly
2026-02-20 17:07:42 +01:00
..
2022-10-13 04:21:07 +11:00
2023-12-02 21:16:26 +11:00
2023-01-15 21:36:50 +11:00
2023-01-15 21:36:50 +11:00
2023-01-15 21:36:50 +11:00
2023-06-12 00:01:20 +10:00
2023-01-29 01:27:46 +11:00
2023-01-29 01:27:46 +11:00
2023-12-02 21:10:52 +11:00
2023-01-22 15:16:00 +11:00