root/trunk/AE-go_GameServer/src/com/aionemu/gameserver/model/templates/mail/MailMessage.java

User picture

Author: kosyachok

Revision: 2596 («Previous)


File Size: 1.2 KB

(March 12, 2010 19:47 UTC) About 2 years ago

- MAIL. no express mail for now. Will be done a bit later.

Use mail-1503.sql to put new table to DB.

 
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.templates.mail;

/**
 * @author kosyachok
 *
 */
public enum MailMessage
{
	MAIL_SEND_SECCESS(0),
	NO_SUCH_CHARACTER_NAME(1),
	RECIPIENT_MAILBOX_FULL(2),
	MAIL_IS_ONE_RACE_ONLY(3),
	YOU_ARE_IN_RECIPIENT_IGNORE_LIST(4),
	RECIPIENT_IGNORING_MAIL_FROM_PLAYERS_LOWER_206_LVL(5), //WTF??
	MAILSPAM_WAIT_FOR_SOME_TIME(6);
	
	private int id;
	
	private MailMessage(int id)
	{
		this.id = id;
	}
	
	public int getId()
	{
		return id;
	}
}