chore: sync
This commit is contained in:
18
docs/wiki/planet_generator.md
Normal file
18
docs/wiki/planet_generator.md
Normal file
@@ -0,0 +1,18 @@
|
||||
## Planet Generator Module
|
||||
|
||||
### Module Description
|
||||
Generates planetary environments with unique characteristics and resources.
|
||||
|
||||
### API Endpoints
|
||||
|
||||
- **GET /planet/generate**
|
||||
- *Purpose:* Generate new planet data
|
||||
- *Auth:* Required (JWT token with `planet.generate` permission)
|
||||
- *Payload:* `{"class": "string", "size": "string"}`
|
||||
- *Response:* `{"planet_id": "int", "resources": {"ore": "int", "crystal": "int"}, "climate": "string"}`
|
||||
|
||||
- **GET /planet/detail**
|
||||
- *Purpose:* Retrieve planet details
|
||||
- *Auth:* Required (JWT token)
|
||||
- *Payload:* `{"planet_id": "int"}`
|
||||
- *Response:* `{"planet_id": "int", "class": "string", "resources": {"ore": "int", "crystal": "int"}, "climate": "string"}`
|
||||
Reference in New Issue
Block a user