/*
 * Copyright (c) 2013 L2jMobius
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
 * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
package org.l2jmobius.loginserver.enums;

public enum PlayFailReason
{
	REASON_NO_MESSAGE(0x00),
	REASON_SYSTEM_ERROR_LOGIN_LATER(0x01),
	REASON_USER_OR_PASS_WRONG(0x02),
	REASON_ACCESS_FAILED_TRY_AGAIN_LATER(0x04),
	REASON_ACCOUNT_INFO_INCORRECT_CONTACT_SUPPORT(0x05),
	REASON_ACCOUNT_IN_USE(0x07),
	REASON_UNDER_18_YEARS_KR(0x0C),
	REASON_SERVER_OVERLOADED(0x0F),
	REASON_SERVER_MAINTENANCE(0x10),
	REASON_TEMP_PASS_EXPIRED(0x11),
	REASON_GAME_TIME_EXPIRED(0x12),
	REASON_NO_TIME_LEFT(0x13),
	REASON_SYSTEM_ERROR(0x14),
	REASON_ACCESS_FAILED(0x15),
	REASON_RESTRICTED_IP(0x16),
	REASON_WEEK_USAGE_FINISHED(0x1E),
	REASON_SECURITY_CARD_NUMBER_INVALID(0x1F),
	REASON_AGE_NOT_VERIFIED_CANT_LOG_BEETWEEN_10PM_6AM(0x20),
	REASON_SERVER_CANNOT_BE_ACCESSED_BY_YOUR_COUPON(0x21),
	REASON_DUAL_BOX(0x23),
	REASON_INACTIVE(0x24),
	REASON_USER_AGREEMENT_REJECTED_ON_WEBSITE(0x25),
	REASON_GUARDIAN_CONSENT_REQUIRED(0x26),
	REASON_USER_AGREEMENT_DECLINED_OR_WITHDRAWL_REQUEST(0x27),
	REASON_ACCOUNT_SUSPENDED_CALL(0x28),
	REASON_CHANGE_PASSWORD_AND_QUIZ_ON_WEBSITE(0x29),
	REASON_ALREADY_LOGGED_INTO_10_ACCOUNTS(0x2A),
	REASON_MASTER_ACCOUNT_RESTRICTED(0x2B),
	REASON_CERTIFICATION_FAILED(0x2E),
	REASON_TELEPHONE_CERTIFICATION_UNAVAILABLE(0x2F),
	REASON_TELEPHONE_SIGNALS_DELAYED(0x30),
	REASON_CERTIFICATION_FAILED_LINE_BUSY(0x31),
	REASON_CERTIFICATION_SERVICE_NUMBER_EXPIRED_OR_INCORRECT(0x32),
	REASON_CERTIFICATION_SERVICE_CURRENTLY_BEING_CHECKED(0x33),
	REASON_CERTIFICATION_SERVICE_CANT_BE_USED_HEAVY_VOLUME(0x34),
	REASON_CERTIFICATION_SERVICE_EXPIRED_GAMEPLAY_BLOCKED(0x35),
	REASON_CERTIFICATION_FAILED_3_TIMES_GAMEPLAY_BLOCKED_30_MIN(0x36),
	REASON_CERTIFICATION_DAILY_USE_EXCEEDED(0x37),
	REASON_CERTIFICATION_UNDERWAY_TRY_AGAIN_LATER(0x38);
	
	private final int _code;
	
	PlayFailReason(int code)
	{
		_code = code;
	}
	
	public int getCode()
	{
		return _code;
	}
}
