1 | <?php namespace FreedomCore\TrinityCore\Console\Commands; |
||
10 | class GM extends BaseCommand |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @inheritdoc |
||
15 | * @var array |
||
16 | */ |
||
17 | protected $concatenate = [ |
||
18 | 'announce', |
||
19 | 'nameAnnounce', |
||
20 | 'notify' |
||
21 | ]; |
||
22 | |||
23 | /** |
||
24 | * Send announcement to all Game Masters |
||
25 | * @param string $announcement |
||
26 | * @return array|string |
||
27 | */ |
||
28 | public function announce(string $announcement) |
||
32 | |||
33 | /** |
||
34 | * Send announcement to all Game Masters (as console) |
||
35 | * @param string $announcement |
||
36 | * @return array|string |
||
37 | */ |
||
38 | public function nameAnnounce(string $announcement) |
||
42 | |||
43 | /** |
||
44 | * Send notification ot all Game Masters |
||
45 | * @param string $notification |
||
46 | * @return array|string |
||
47 | */ |
||
48 | public function notify(string $notification) |
||
52 | } |
||
53 |