How loping151/xutheringwavesuid works
XutheringWavesUID is a multi-platform Wuthering Waves bot plugin, with an online recognition/calculation companion described in the README. Users invoke bot commands for game-data lookups, account activity, character builds, rankings, and other game utilities; the plugin fetches and transforms data and commonly returns rendered cards. It also includes a browser-based panel-image editor. The tree and README establish these capability areas, but sampled source is partial, so links between unsampled command handlers and subsystems are omitted rather than inferred.
Main entry points: api.py Game API client · draw_char_card.py Character cards · __init__.py Plugin entry · routes.py Editor routes
Components 27
Bot interaction
- Plugin entry
XutheringWavesUID/__init__.py
Game data
- Account login
XutheringWavesUID/wutheringwaves_login/__init__.py - User features
XutheringWavesUID/wutheringwaves_user/__init__.py - Game API client
XutheringWavesUID/utils/api/api.py - API models
XutheringWavesUID/utils/api/model/account.py - Gacha history
XutheringWavesUID/wutheringwaves_gachalog/gacha_handler.py - Gacha records
XutheringWavesUID/utils/database/waves_gacha_cloud.py
Build analysis
- Damage calculation
XutheringWavesUID/utils/damage/damage.py - Echo scoring
XutheringWavesUID/utils/score.py - Build data
XutheringWavesUID/utils/ascension/model.py - Rankings
XutheringWavesUID/wutheringwaves_rank/__init__.py - Matrix rankings
XutheringWavesUID/wutheringwaves_rank/matrix_rank.py
Cards and reports
- Character cards
XutheringWavesUID/wutheringwaves_charinfo/draw_char_card.py - Role information
XutheringWavesUID/wutheringwaves_roleinfo/__init__.py - Stamina status
XutheringWavesUID/wutheringwaves_stamina/draw_waves_stamina.py - Challenge cards
XutheringWavesUID/wutheringwaves_abyss/__init__.py - Calendar
XutheringWavesUID/wutheringwaves_calendar/__init__.py - Game wiki
XutheringWavesUID/wutheringwaves_wiki/__init__.py
Web and utilities
- Panel editor UI
XutheringWavesUID/wutheringwaves_resource/panel_editor/static/app.js - Editor routes
XutheringWavesUID/wutheringwaves_resource/panel_editor/routes.py - Image storage
XutheringWavesUID/wutheringwaves_resource/panel_editor/storage.py - Game resources
XutheringWavesUID/utils/resource/download_all_resource.py - Plugin database
XutheringWavesUID/utils/database/models.py
Other components
- Bot user
- Bot framework
- Ranking service
- Kuro game service
Connections 26
- Bot user → Bot framework: sends commands
- Bot framework → Plugin entry: dispatches events
- Plugin entry → Account login: routes login
- Plugin entry → User features: routes requests
- Account login → Game API client: requests account
- User features → Game API client: requests game data
- Game API client → Kuro game service: calls API
- Kuro game service → Game API client: returns data
- Game API client → API models: validates responses
- Game API client → Character cards: supplies data
- Game API client → Role information: supplies data
- Game API client → Stamina status: supplies data
- Game API client → Challenge cards: supplies data
- Game API client → Calendar: supplies data
- Game API client → Game wiki: supplies data
- Gacha history → Gacha records: stores records
- Character cards → Echo scoring: calculates score
- Character cards → Damage calculation: calculates damage
- Character cards → Build data: uses build data
- Matrix rankings → Ranking service: submits ranking query
- Rankings → Ranking service: uses ranking service
- Rankings → Matrix rankings: renders matrix ranks
- Panel editor UI → Editor routes: calls editor API
- Editor routes → Image storage: reads and writes images
- Editor routes → Plugin database: uses plugin state
- Game resources → Kuro game service: downloads resources