feat: eslint 적용 및 관련 코드 일괄 수정
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user