147 lines
2.2 KiB
Java
147 lines
2.2 KiB
Java
/*
|
|
* Copyright (C) 2004-2015 L2J Server
|
|
*
|
|
* This file is part of L2J Server.
|
|
*
|
|
* L2J Server is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* L2J Server is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
package com.l2jserver.gameserver.model;
|
|
|
|
/**
|
|
* This class ...
|
|
* @version $Revision: 1.2.4.1 $ $Date: 2005/03/27 15:29:32 $
|
|
*/
|
|
public class L2TeleportLocation
|
|
{
|
|
private int _teleId;
|
|
private int _locX;
|
|
private int _locY;
|
|
private int _locZ;
|
|
private int _price;
|
|
private boolean _forNoble;
|
|
private int _itemId;
|
|
|
|
/**
|
|
* @param id
|
|
*/
|
|
public void setTeleId(int id)
|
|
{
|
|
_teleId = id;
|
|
}
|
|
|
|
/**
|
|
* @param locX
|
|
*/
|
|
public void setLocX(int locX)
|
|
{
|
|
_locX = locX;
|
|
}
|
|
|
|
/**
|
|
* @param locY
|
|
*/
|
|
public void setLocY(int locY)
|
|
{
|
|
_locY = locY;
|
|
}
|
|
|
|
/**
|
|
* @param locZ
|
|
*/
|
|
public void setLocZ(int locZ)
|
|
{
|
|
_locZ = locZ;
|
|
}
|
|
|
|
/**
|
|
* @param price
|
|
*/
|
|
public void setPrice(int price)
|
|
{
|
|
_price = price;
|
|
}
|
|
|
|
/**
|
|
* @param val
|
|
*/
|
|
public void setIsForNoble(boolean val)
|
|
{
|
|
_forNoble = val;
|
|
}
|
|
|
|
/**
|
|
* @param val
|
|
*/
|
|
public void setItemId(int val)
|
|
{
|
|
_itemId = val;
|
|
}
|
|
|
|
/**
|
|
* @return
|
|
*/
|
|
public int getTeleId()
|
|
{
|
|
return _teleId;
|
|
}
|
|
|
|
/**
|
|
* @return
|
|
*/
|
|
public int getLocX()
|
|
{
|
|
return _locX;
|
|
}
|
|
|
|
/**
|
|
* @return
|
|
*/
|
|
public int getLocY()
|
|
{
|
|
return _locY;
|
|
}
|
|
|
|
/**
|
|
* @return
|
|
*/
|
|
public int getLocZ()
|
|
{
|
|
return _locZ;
|
|
}
|
|
|
|
/**
|
|
* @return
|
|
*/
|
|
public int getPrice()
|
|
{
|
|
return _price;
|
|
}
|
|
|
|
/**
|
|
* @return
|
|
*/
|
|
public boolean getIsForNoble()
|
|
{
|
|
return _forNoble;
|
|
}
|
|
|
|
/**
|
|
* @return
|
|
*/
|
|
public int getItemId()
|
|
{
|
|
return _itemId;
|
|
}
|
|
}
|