| 1 | <?php |
||
| 10 | abstract class AbstractUserGroupPlugin implements PlayerDataListenerInterface |
||
| 11 | { |
||
| 12 | protected $userGroup; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * AbstractUserGroupPlugin constructor. |
||
| 16 | * |
||
| 17 | * @param Group $userGroup |
||
| 18 | */ |
||
| 19 | 4 | public function __construct(Group $userGroup) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @inheritdoc |
||
| 26 | */ |
||
| 27 | 1 | public function onPlayerDisconnect(Player $player, $disconnectionReason) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritdoc |
||
| 34 | */ |
||
| 35 | 1 | public function onPlayerInfoChanged(Player $oldPlayer, Player $player) |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @inheritdoc |
||
| 42 | */ |
||
| 43 | 1 | public function onPlayerAlliesChanged(Player $oldPlayer, Player $player) |
|
| 47 | } |