Houmgaor
197e44d04c
refactor(channelserver): extract CharacterRepository for characters table access
...
Centralizes all characters table SQL behind a CharacterRepository struct
in repo_character.go. The 4 existing helpers (loadCharacterData,
saveCharacterData, readCharacterInt, adjustCharacterInt) now delegate to
the repository, keeping identical signatures so all ~70 callsites remain
unchanged. Direct queries in handlers_session.go, sys_channel_server.go
(DisconnectUser), and handlers_mail.go are also migrated.
Pure refactor with zero behavior change — first step toward eliminating
the ~130 scattered character queries identified in anti-patterns #9 .
2026-02-20 21:38:21 +01:00
..
2026-02-20 19:11:41 +01:00
2026-02-20 21:22:01 +01:00
2026-02-19 18:13:34 +01:00
2026-02-19 18:13:34 +01:00
2026-02-19 18:13:34 +01:00
2026-02-20 19:50:28 +01:00
2026-02-20 21:18:40 +01:00
2026-02-20 21:18:40 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 19:11:41 +01:00
2026-02-20 19:46:57 +01:00
2026-02-20 21:18:40 +01:00
2026-02-20 17:07:42 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 21:18:40 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-18 15:59:36 +01:00
2026-02-20 21:18:40 +01:00
2026-02-18 21:48:08 +01:00
2026-02-18 21:48:08 +01:00
2026-02-18 21:48:08 +01:00
2026-02-20 17:07:42 +01:00
2026-02-18 00:47:14 +01:00
2026-02-18 21:48:08 +01:00
2026-02-18 15:59:36 +01:00
2026-02-20 20:55:06 +01:00
2026-02-20 21:06:16 +01:00
2026-02-20 21:18:40 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 21:18:40 +01:00
2026-02-20 21:18:40 +01:00
2026-02-20 21:06:16 +01:00
2026-02-19 00:23:04 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 19:11:41 +01:00
2026-02-20 19:13:54 +01:00
2026-02-20 21:06:16 +01:00
2026-02-20 19:50:28 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 21:18:40 +01:00
2026-02-20 19:11:41 +01:00
2026-02-20 19:11:41 +01:00
2026-02-20 17:07:42 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 19:35:25 +01:00
2026-02-20 21:38:21 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 21:06:16 +01:00
2026-02-20 21:06:16 +01:00
2026-02-20 21:18:40 +01:00
2026-02-20 21:38:21 +01:00
2026-02-18 21:48:08 +01:00
2026-02-20 21:18:40 +01:00
2026-02-20 21:18:40 +01:00
2026-02-20 18:42:08 +01:00
2026-02-20 21:18:40 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 19:50:28 +01:00
2026-02-20 18:58:32 +01:00
2026-02-20 21:18:40 +01:00
2026-02-18 18:10:34 +01:00
2026-02-20 19:50:28 +01:00
2026-02-20 21:18:40 +01:00
2026-02-20 17:07:42 +01:00
2026-02-18 21:39:13 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 21:18:40 +01:00
2026-02-20 21:38:21 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 21:06:16 +01:00
2026-02-18 23:02:44 +01:00
2026-02-20 18:58:32 +01:00
2026-02-20 18:58:32 +01:00
2026-02-18 21:48:08 +01:00
2026-02-18 21:48:08 +01:00
2026-02-18 21:48:08 +01:00
2026-02-20 21:06:16 +01:00
2026-02-19 00:05:20 +01:00
2026-02-19 00:05:20 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 19:50:28 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 21:38:21 +01:00
2026-02-20 21:38:21 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 21:38:21 +01:00
2026-02-20 21:06:16 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 18:58:32 +01:00