예제 #1
0
 public function canWarpTo(XcelPlayer $player)
 {
     if ($player->getGame() !== null && $player->getBundleData(XcelPlayer::BUNDLE_KEY_CURRENT_STATUS) !== XcelPlayer::PLAYER_STATUS_NO_GAME) {
         return false;
     }
     return $this->currentStatus !== self::STATUS_IN_GAME;
 }