{master} rename FishnetPlayer
parent
3a86fa0e2b
commit
4c042bbddd
|
@ -75,7 +75,7 @@ final class Env(
|
|||
lazy val api: FishnetApi = wire[FishnetApi]
|
||||
|
||||
lazy val player = {
|
||||
def mk = (plies: Int) => wire[Player]
|
||||
def mk = (plies: Int) => wire[FishnetPlayer]
|
||||
mk(config.movePlies)
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import lila.common.Future
|
|||
import lila.game.{ Game, GameRepo, UciMemo }
|
||||
import ornicar.scalalib.Random.approximately
|
||||
|
||||
final class Player(
|
||||
final class FishnetPlayer(
|
||||
redis: FishnetRedis,
|
||||
gameRepo: GameRepo,
|
||||
uciMemo: UciMemo,
|
|
@ -33,7 +33,7 @@ final class Env(
|
|||
bookmark: actors.Bookmark,
|
||||
tournamentApi: actors.TournamentApi,
|
||||
chatApi: lila.chat.ChatApi,
|
||||
fishnetPlayer: lila.fishnet.Player,
|
||||
fishnetPlayer: lila.fishnet.FishnetPlayer,
|
||||
crosstableApi: lila.game.CrosstableApi,
|
||||
playban: lila.playban.PlaybanApi,
|
||||
userJsonView: lila.user.JsonView,
|
||||
|
|
|
@ -11,7 +11,7 @@ import lila.game.Game.PlayerId
|
|||
import cats.data.Validated
|
||||
|
||||
final private class Player(
|
||||
fishnetPlayer: lila.fishnet.Player,
|
||||
fishnetPlayer: lila.fishnet.FishnetPlayer,
|
||||
finisher: Finisher,
|
||||
scheduleExpiration: ScheduleExpiration,
|
||||
uciMemo: UciMemo
|
||||
|
|
|
@ -11,7 +11,7 @@ final class Env(
|
|||
appConfig: Configuration,
|
||||
gameRepo: lila.game.GameRepo,
|
||||
idGenerator: lila.game.IdGenerator,
|
||||
fishnetPlayer: lila.fishnet.Player,
|
||||
fishnetPlayer: lila.fishnet.FishnetPlayer,
|
||||
onStart: lila.round.OnStart,
|
||||
gameCache: lila.game.Cached,
|
||||
oauthServer: OAuthServer
|
||||
|
|
|
@ -10,7 +10,7 @@ final private[setup] class Processor(
|
|||
gameCache: lila.game.Cached,
|
||||
gameRepo: lila.game.GameRepo,
|
||||
maxPlaying: Max,
|
||||
fishnetPlayer: lila.fishnet.Player,
|
||||
fishnetPlayer: lila.fishnet.FishnetPlayer,
|
||||
onStart: lila.round.OnStart
|
||||
)(implicit ec: scala.concurrent.ExecutionContext) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue