dedicated server api update
This commit is contained in:
		| @@ -276,6 +276,7 @@ class QueuePlugin implements CallbackListener, ManialinkPageAnswerListener, Time | ||||
| 	 * @param Player $player | ||||
| 	 */ | ||||
| 	public function handleManiaLinkAnswerAdd(array $chatCallback, Player $player) { | ||||
| 		$this->maniaControl->log('handleManiaLinkAnswerAdd by ' . $player->login); | ||||
| 		$this->addPlayerToQueue($player); | ||||
| 	} | ||||
|  | ||||
| @@ -286,6 +287,7 @@ class QueuePlugin implements CallbackListener, ManialinkPageAnswerListener, Time | ||||
| 	 * @param Player $player | ||||
| 	 */ | ||||
| 	public function handleManiaLinkAnswerRemove(array $chatCallback, Player $player) { | ||||
| 		$this->maniaControl->log('handleManiaLinkAnswerRemove by ' . $player->login); | ||||
| 		$this->removePlayerFromQueue($player->login); | ||||
| 		$this->showJoinQueueWidget($player); | ||||
| 		$this->sendChatMessage('$<$fff' . $player->nickname . '$> has left the queue!'); | ||||
| @@ -561,4 +563,4 @@ class QueuePlugin implements CallbackListener, ManialinkPageAnswerListener, Time | ||||
| 	private function hideQueueWidget(Player $player) { | ||||
| 		$this->maniaControl->manialinkManager->hideManialink(self::ML_ID, $player); | ||||
| 	} | ||||
| } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user