package com.sdk.util;

import java.util.HashMap;

import com.lordcard.constant.CacheKey;
import com.lordcard.network.http.GameCache;
import com.sdk.util.vo.PaySiteConfig;

/**
 * 璁¤垂浣嶇疆閰嶇疆鏁版嵁
 * @ClassName: PaySite   
 * @Description: TODO 
 * @author yinhongbiao   
 * @date 2014-2-19 涓嬪崍2:46:08
 */
public class PaySite {
	
	public static final String OFF_LINE = "offline"; 		//鍗曟満璐﹀彿
	public static final String ON_LINE = "online"; 		//杩炵綉璐﹀彿

	public static final String SIGN_IN = "signin"; //鐧诲綍鍚庣鍒伴〉闈?
	public static final String ROOM_ITEM_CLICK = "roomitemclick";//	鎴块棿鍒楄〃鐐瑰嚮閲戣眴涓嶈冻鍏呭€间綅缃?
	public static final String SINGLE_GAME_CLICK = "singlegameclick";//	鍗曟満娓告垙鎴块棿鍐呭厖鍊?
	public static final String PLAYING_CLICK = "playingclick";//	鎴块棿閲岄潰鍏呭€肩偣鍑?
	public static final String VIP_CREATE = "vipcreate";//	鍒涘缓vip鍖呮埧閲戣眴涓嶈冻鏃跺厖鍊?
	public static final String GAME_HELP_CLICK = "gamehelpclick";//	娓告垙鍔╂墜鎻愮ず鐨勫厖鍊?
	public static final String PREPARERECHARGE = "preparerecharge";//	棰勫厖鍊煎脊鍑烘椂鍏呭€?
	public static final String RECORED_CARD = "recoredcard";//	璁扮墝鍣ㄤ娇鐢ㄦ椂鍏呭€?
	public static final String GAME_END_CLICK = "gameendclick";//	缁撴潫鐣岄潰鍏呭€兼寜鎵?
	public static final String GAME_END_AUTO = "gameendauto";//	缁撴潫鐣岄潰鑷姩寮瑰嚭鍏呭€?
	public static final String RECHARGE_LIST_FAST = "rechargelistfast";//	鍏呭€奸〉闈㈠揩閫熷厖鍊?
	public static final String RECHARGE_LIST = "rechargelist";//	鍏呭€奸〉闈㈠厖鍊?
	public static final String GAME_SIGN_UP = "gamesignup";//	姣旇禌鎶ュ悕
	public static final String ROOM_RECEIVE_BEEN = "roomreceivebeen";//澶у巺棰嗗彇閲戣眴
	
	
	/**
	 * 鏍规嵁璁¤垂浣嶇疆鑾峰彇浣嶇疆鐨勯厤缃?
	 * @Title: getSiteMap  
	 * @param @param site
	 * @param @return
	 * @return PaySiteConfig
	 * @throws
	 */
	@SuppressWarnings("unchecked")
	public static PaySiteConfig getSiteMap(String site){
		HashMap<String, PaySiteConfig> map = (HashMap<String, PaySiteConfig>)GameCache.getObj(CacheKey.PAY_SITE_MAP);
		if(map != null){
			return map.get(site);
		}
		return null;
	}	
}