root/trunk/AE-go_GameServer/src/com/aionemu/gameserver/model/gameobjects/player/DeniedStatus.java

User picture

Author: sweetkr

Revision: 2596 («Previous)


File Size: 1.07 KB

(March 14, 2010 03:53 UTC) About 2 years ago

[PlayerSettings] added denied status with messages (you can deny view details, request friend, invite legion & party, exchange, duel)

 
Show/hide line numbers
/*
 * This file is part of aion-unique <aion-unique.org>.
 *
 *  aion-unique 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.
 *
 *  aion-unique 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 aion-unique.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.aionemu.gameserver.model.gameobjects.player;

/**
 * @author Sweetkr
 *
 */
public enum DeniedStatus
{
	VEIW_DETAIL(1),
	TRADE(2),
	GROUP(4),
	GUILD(8),
	FRIEND(16),
	DUEL(32);

	private int id;

	private DeniedStatus(int id)
	{
		this.id = id;
	}

	/**
	 * @return the id
	 */
	public int getId()
	{
		return id;
	}
}