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