| @@ 41-61 (lines=21) @@ | ||
| 38 | /** @var WindowHelpDetailsFactory */ |
|
| 39 | protected $windowHelpDetailsFactory; |
|
| 40 | ||
| 41 | public function __construct( |
|
| 42 | $name, |
|
| 43 | $sizeX, |
|
| 44 | $sizeY, |
|
| 45 | $posX, |
|
| 46 | $posY, |
|
| 47 | WindowFactoryContext $context, |
|
| 48 | GridBuilderFactory $gridBuilderFactory, |
|
| 49 | DataCollectionFactory $dataCollectionFactory, |
|
| 50 | ChatCommands $chatCommands, |
|
| 51 | ChatCommandDataProvider $chatCommandDataProvider, |
|
| 52 | WindowHelpDetailsFactory $windowHelpDetailsFactory |
|
| 53 | ) { |
|
| 54 | parent::__construct($name, $sizeX, $sizeY, $posX, $posY, $context); |
|
| 55 | ||
| 56 | $this->gridBuilderFactory = $gridBuilderFactory; |
|
| 57 | $this->dataCollectionFactory = $dataCollectionFactory; |
|
| 58 | $this->chatCommands = $chatCommands; |
|
| 59 | $this->chatCommandDataPovider = $chatCommandDataProvider; |
|
| 60 | $this->windowHelpDetailsFactory = $windowHelpDetailsFactory; |
|
| 61 | } |
|
| 62 | ||
| 63 | ||
| 64 | /** |
|
| @@ 65-87 (lines=23) @@ | ||
| 62 | * @param Maps $mapsPlugin |
|
| 63 | * @param AdminGroups $adminGroups |
|
| 64 | */ |
|
| 65 | public function __construct( |
|
| 66 | $name, |
|
| 67 | $sizeX, |
|
| 68 | $sizeY, |
|
| 69 | $posX, |
|
| 70 | $posY, |
|
| 71 | WindowFactoryContext $context, |
|
| 72 | GridBuilderFactory $gridBuilderFactory, |
|
| 73 | DataCollectionFactory $dataCollectionFactory, |
|
| 74 | Time $time, |
|
| 75 | Jukebox $jukeboxPlugin, |
|
| 76 | Maps $mapsPlugin, |
|
| 77 | AdminGroups $adminGroups |
|
| 78 | ) { |
|
| 79 | parent::__construct($name, $sizeX, $sizeY, $posX, $posY, $context); |
|
| 80 | ||
| 81 | $this->gridBuilderFactory = $gridBuilderFactory; |
|
| 82 | $this->dataCollectionFactory = $dataCollectionFactory; |
|
| 83 | $this->timeFormatter = $time; |
|
| 84 | $this->jukeboxPlugin = $jukeboxPlugin; |
|
| 85 | $this->adminGroups = $adminGroups; |
|
| 86 | $this->mapsPlugin = $mapsPlugin; |
|
| 87 | } |
|
| 88 | ||
| 89 | public function callbackRemove(ManialinkInterface $manialink, $login, $params, $args) |
|
| 90 | { |
|
| @@ 65-87 (lines=23) @@ | ||
| 62 | * @param JukeboxService $jukeboxService |
|
| 63 | * @param AdminGroups $adminGroups |
|
| 64 | */ |
|
| 65 | public function __construct( |
|
| 66 | $name, |
|
| 67 | $sizeX, |
|
| 68 | $sizeY, |
|
| 69 | $posX, |
|
| 70 | $posY, |
|
| 71 | WindowFactoryContext $context, |
|
| 72 | GridBuilderFactory $gridBuilderFactory, |
|
| 73 | DataCollectionFactory $dataCollectionFactory, |
|
| 74 | Time $time, |
|
| 75 | JukeboxService $jukeboxService, |
|
| 76 | AdminGroups $adminGroups |
|
| 77 | ) { |
|
| 78 | parent::__construct($name, $sizeX, $sizeY, $posX, $posY, $context); |
|
| 79 | ||
| 80 | $this->gridBuilderFactory = $gridBuilderFactory; |
|
| 81 | $this->dataCollectionFactory = $dataCollectionFactory; |
|
| 82 | $this->timeFormatter = $time; |
|
| 83 | $this->sizeX = $sizeX; |
|
| 84 | $this->sizeY = $sizeY; |
|
| 85 | $this->jukeboxService = $jukeboxService; |
|
| 86 | $this->adminGroups = $adminGroups; |
|
| 87 | } |
|
| 88 | ||
| 89 | public function setJukeboxPlugin(Jukebox $plugin) |
|
| 90 | { |
|