How entropy-increase-team/rocomuid works
RocomUID is a 洛克王国世界 bot plugin for several chat platforms. Users issue commands for reference data, egg matching and breeding, account profiles, home and garden information, and merchant listings; the plugin replies with text or rendered images. The documented workflow depends on account binding for personal data and a configured WeGame API key for game-account features. The sampled excerpts confirm parts of the info, login, API, persistence, and rendering paths; other capability links reflect README documentation, so their internal wiring is left unspecified.
Main entry points: rocom_info/__init__.py Dex and breeding · rocom_login/__init__.py Account login · image_tools.py Image utilities · rocom_merchant Merchant listings
Components 18
Bot commands
- Command help
RocomUID/rocom_help/get_help.py - Plugin settings
RocomUID/rocom_config
Game information
- Dex and breeding
RocomUID/rocom_info/__init__.py - Merchant listings
RocomUID/rocom_merchant - Pet details
RocomUID/rocom_petinfo/draw_info_image.py - WeGame API client
RocomUID/utils/rocom_api.py
Accounts and home
- Account login
RocomUID/rocom_login/__init__.py - Player profile
RocomUID/rocom_userinfo - Home and garden
RocomUID/rocom_homeinfo - Account bindings
RocomUID/utils/database/model.py
Presentation
- Profile rendering
RocomUID/rocom_userinfo/draw_info_image.py - Home rendering
RocomUID/rocom_homeinfo/draw_info_image.py - Dex rendering
RocomUID/rocom_info/draw_info_image.py - Egg rendering
RocomUID/rocom_info/draw_egg_image.py - Merchant rendering
RocomUID/rocom_merchant/draw_info_image.py - Image utilities
RocomUID/utils/image/image_tools.py
Other components
- Chat user
- WeGame service
Connections 19
- Chat user → Dex and breeding: requests lookup
- Chat user → Command help: requests help
- Chat user → Merchant listings: requests listings
- Chat user → Account login: starts login
- Chat user → Player profile: requests profile
- Chat user → Home and garden: requests home
- Chat user → Pet details: requests details
- Chat user → Plugin settings: changes settings
- Account login → WeGame API client: requests login
- Account login → Account bindings: saves binding
- WeGame API client → WeGame service: calls API
- Dex and breeding → Egg rendering: renders matches
- Dex and breeding → Dex rendering: renders dex
- Player profile → Profile rendering: renders profile
- Home and garden → Home rendering: renders home
- Merchant listings → Merchant rendering: renders listings
- Dex rendering → Image utilities: converts image
- Profile rendering → Image utilities: converts image
- Home rendering → Image utilities: converts image