src/eXpansion/Bundle/Maps/Plugins/Maps.php 1 location
|
@@ 51-65 (lines=15) @@
|
| 48 |
|
* @param ChatNotification $chatNotification |
| 49 |
|
* @param PlayerStorage $playerStorage |
| 50 |
|
*/ |
| 51 |
|
function __construct( |
| 52 |
|
Connection $connection, |
| 53 |
|
Console $console, |
| 54 |
|
AdminGroups $adminGroups, |
| 55 |
|
MapStorage $mapStorage, |
| 56 |
|
ChatNotification $chatNotification, |
| 57 |
|
PlayerStorage $playerStorage |
| 58 |
|
) { |
| 59 |
|
$this->connection = $connection; |
| 60 |
|
$this->console = $console; |
| 61 |
|
$this->adminGroups = $adminGroups; |
| 62 |
|
$this->mapStorage = $mapStorage; |
| 63 |
|
$this->chatNotification = $chatNotification; |
| 64 |
|
$this->playerStorage = $playerStorage; |
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
/** |
| 68 |
|
* Set the status of the plugin |
src/eXpansion/Framework/Core/Helpers/ChatNotification.php 1 location
|
@@ 47-59 (lines=13) @@
|
| 44 |
|
* @param Console $console |
| 45 |
|
* @param LoggerInterface $logger |
| 46 |
|
*/ |
| 47 |
|
public function __construct( |
| 48 |
|
Connection $connection, |
| 49 |
|
Translations $translations, |
| 50 |
|
PlayerStorage $playerStorage, |
| 51 |
|
Console $console, |
| 52 |
|
LoggerInterface $logger |
| 53 |
|
) { |
| 54 |
|
$this->connection = $connection; |
| 55 |
|
$this->translations = $translations; |
| 56 |
|
$this->playerStorage = $playerStorage; |
| 57 |
|
$this->console = $console; |
| 58 |
|
$this->logger = $logger; |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
/** |
| 62 |
|
* Send message. |
src/eXpansion/Bundle/JoinLeaveMessages/Plugins/JoinLeaveMessages.php 1 location
|
@@ 39-51 (lines=13) @@
|
| 36 |
|
* @param ChatNotification $chatNotification |
| 37 |
|
* @param AdminGroups $adminGroups |
| 38 |
|
*/ |
| 39 |
|
public function __construct( |
| 40 |
|
Connection $connection, |
| 41 |
|
Console $console, |
| 42 |
|
ChatNotification $chatNotification, |
| 43 |
|
AdminGroups $adminGroups, |
| 44 |
|
Countries $countries |
| 45 |
|
) { |
| 46 |
|
$this->connection = $connection; |
| 47 |
|
$this->console = $console; |
| 48 |
|
$this->chatNotification = $chatNotification; |
| 49 |
|
$this->adminGroups = $adminGroups; |
| 50 |
|
$this->countries = $countries; |
| 51 |
|
} |
| 52 |
|
|
| 53 |
|
/** |
| 54 |
|
* @inheritdoc |
src/eXpansion/Bundle/CustomChat/Plugins/CustomChat.php 1 location
|
@@ 52-66 (lines=15) @@
|
| 49 |
|
* @param PlayerStorage $playerStorage |
| 50 |
|
* @param LoggerInterface $logger |
| 51 |
|
*/ |
| 52 |
|
function __construct( |
| 53 |
|
Connection $connection, |
| 54 |
|
Console $console, |
| 55 |
|
AdminGroups $adminGroups, |
| 56 |
|
ChatNotification $chatNotification, |
| 57 |
|
PlayerStorage $playerStorage, |
| 58 |
|
LoggerInterface $logger |
| 59 |
|
) { |
| 60 |
|
$this->connection = $connection; |
| 61 |
|
$this->console = $console; |
| 62 |
|
$this->adminGroups = $adminGroups; |
| 63 |
|
$this->chatNotification = $chatNotification; |
| 64 |
|
$this->playerStorage = $playerStorage; |
| 65 |
|
$this->logger = $logger; |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
/** |
| 69 |
|
* Called when a player chats. |