OwnedCreatureController

@RestController
@RequestMapping(value = ["/game/owned-creatures"])
class OwnedCreatureController(ownedCreatureQueryService: OwnedCreatureQueryService)

玩家持有生物与盒子控制器。

Constructors

Link copied to clipboard
constructor(ownedCreatureQueryService: OwnedCreatureQueryService)

Functions

Link copied to clipboard
@GetMapping(value = ["/boxes"])
fun listBoxes(@RequestParam playerId: String): List<CreatureStorageBoxView>

查询玩家盒子。

Link copied to clipboard
@GetMapping
fun listOwnedCreatures(@RequestParam playerId: String): List<OwnedCreatureSummaryView>

查询玩家已拥有的生物。