feat: eslint 적용 및 관련 코드 일괄 수정

This commit is contained in:
2026-01-05 15:46:47 +00:00
parent cb312f02b3
commit c965b1120f
387 changed files with 39808 additions and 38800 deletions
+11 -11
View File
@@ -7,25 +7,25 @@ and event-driven recruitment. References include `legacy/hwe/sammo/AbsGeneralPoo
## Core Abstractions
- `AbsGeneralPool`
- Wraps a `Scenario\GeneralBuilder` and a raw `info` payload.
- Provides `getGeneralBuilder()`, `getInfo()`, and `occupyGeneralName()`.
- Abstract method: `pickGeneralFromPool(...)`.
- Wraps a `Scenario\GeneralBuilder` and a raw `info` payload.
- Provides `getGeneralBuilder()`, `getInfo()`, and `occupyGeneralName()`.
- Abstract method: `pickGeneralFromPool(...)`.
- `AbsFromUserPool`
- Implements reservation logic backed by the `select_pool` table.
- Reserves candidates for a user (`owner`) until `reserved_until`.
- On selection, clears reservation and binds `general_id`.
- Implements reservation logic backed by the `select_pool` table.
- Reserves candidates for a user (`owner`) until `reserved_until`.
- On selection, clears reservation and binds `general_id`.
## Pool Implementations
- `GeneralPool/RandomNameGeneral`
- Generates random names using `GameConst::$randGen*` lists.
- Checks duplicate counts and appends suffixes if needed.
- Inserts reservation rows into `select_pool` for user selection.
- Generates random names using `GameConst::$randGen*` lists.
- Checks duplicate counts and appends suffixes if needed.
- Inserts reservation rows into `select_pool` for user selection.
- `GeneralPool/SPoolUnderU30`
- Loads a curated pool from `GeneralPool/Pool/UnderS30.json`.
- Inserts rows into `select_pool` with pre-defined stats and specials.
- Loads a curated pool from `GeneralPool/Pool/UnderS30.json`.
- Inserts rows into `select_pool` with pre-defined stats and specials.
## Data Model