DefaultCapturePreparationService
@Service
Constructors
Link copied to clipboard
constructor(itemReader: ItemReader, speciesReader: SpeciesReader, playerRepository: PlayerRepository, ownedCreatureRepository: OwnedCreatureRepository)
Functions
Link copied to clipboard
open fun prepare(sessionId: String, snapshot: BattleRuntimeSnapshot, command: CaptureCommand, inventoryContext: CaptureInventoryContext = resolveInventoryContext(command.playerId, command.ballItemId)): PreparedCaptureContext
Link copied to clipboard
解析捕捉扣库存所需的最小上下文。