#pragma once


enum RYLLOGIN_MESSAGE
{
	LOGIN_MSG_SELECT_SERVER = 0,
	LOGIN_MSG_LAUNCHER_ALREADY_RUNNING,
	LOGIN_MSG_LAUNCHER_RESTART,
	LOGIN_MSG_FAIL_TO_CONNECT_TO_LOGIN_SERVER,
	LOGIN_MSG_FAIL_TO_GET_PATCHINFO,
	LOGIN_MSG_CLIENT_NOT_INSTALLED,
	LOGIN_MSG_CANNOT_FILECHECK_PATCH_IN_PROGRESS,
	LOGIN_MSG_CONFIRM_FILECHECK,
	LOGIN_MSG_CONNECTING_TO_LOGIN_SERVER,
	LOGIN_MSG_CONNECTED_TO_LOGIN_SERVER_SUCCESSFULLY,
	LOGIN_MSG_FAIL_TO_GET_SERVER_LIST,
	LOGIN_MSG_LOADING_PATCHINFO_CACHE,
	LOGIN_MSG_FAIL_TO_APPLY_PATCH,
	LOGIN_MSG_FAIL_TO_GET_NOTICEINFO,
	LOGIN_MSG_FAIL_TO_FILE_CHECK,
	LOGIN_MSG_FILE_CHECK_FINISHED,

	LOGIN_MSG_MAX_COUNT
};

#define	STR_FAIL_NOTICE_URL	"http://www.returnofwarrior.com/closed.html"		// 공지 웹페이지 접속 실패시 출력할 페이지.
#define STR_NEW_ACCOUNT_URL "http://row.cibmall.net/expreg/"	// 런쳐 새계정 버튼 주소
#define STR_CHANGE_PASSWORD_URL "http://row.cibmall.net/reload/"	// 런쳐 비밀번호 변경 버튼 주소
#define STR_PLAY_BGM_ERROR "Error!!"											// BGM 출력시 에러 문구
#define STR_CLIENT_REGISTRY_SUBKEY "Software\\ROW\\MP-Client"

#if defined _REGULAR_
	//////////////////////////////////////////////////////////////////////////
	//
	// 정섭
	#define STR_VERSION_SIGNATURE "REAL_P2_KR"														// 빌드 후 실행파일 확인용 HEX_EDIT로 확인
	#define STR_CLIENT_REGISTRY_VALUE_NAME "Folder"
	#define STR_LOGIN_SERVER_ADDR "login.row.cibmall.net"										// 로그인 서버 주소			
#elif defined _TEST_
	//////////////////////////////////////////////////////////////////////////
	//
	// 테섭
	#define STR_VERSION_SIGNATURE "TEST_P2_KR"
	#define STR_CLIENT_REGISTRY_VALUE_NAME "TestFolder"
	#define STR_LOGIN_SERVER_ADDR "loginTest.returnofwarrior.com"			
#elif defined _BG_
	//////////////////////////////////////////////////////////////////////////
	//
	// 배틀그라운드 전용섭
	#define STR_VERSION_SIGNATURE "BG_P2_KR"
	#define STR_CLIENT_REGISTRY_VALUE_NAME "BGFolder"
	#define STR_LOGIN_SERVER_ADDR "battlelogin.returnofwarrior.com"
#elif defined _INHOUSE_
	//////////////////////////////////////////////////////////////////////////
	//
	// 사내섭
	#define STR_VERSION_SIGNATURE "INHOUSE_P2_KR"
	#define STR_CLIENT_REGISTRY_VALUE_NAME "TestFolder"
	//#define STR_LOGIN_SERVER_ADDR "testlogin.rylonline.com" 사내섭 로그인서버 주소는 하드코딩
#endif

extern const CString &RYLLoginGetMessage(int nMessage);
extern void RYLLoginInitMessage(const char* szrFolder);
