package extend.pk;

public class Config {

	public static final int XIPAI_SCORE = 10;
	public static final int ANCHOU_SCORE = 10;
	//-------------------------------玩法配置---------------------------------
	/**
	 * 玩法 单QKA2  去掉234
	 */
	public static final String ROOM_CONFIG_SELECTDIQU = "selectDiqu";


	/**
	 * 有大必大
	 */
	public static final String ROOM_CONFIG_YOUDABIDA = "youdabida";


	/**
	 * 报单必大
	 */
	public static final String ROOM_CONFIG_BAODANBIDA = "baodanbida";

	/**
	 * 三带二
	 */
	public static final String ROOM_CONFIG_SANDAIER = "sandaier";

	/**
	 * 四带一
	 */
	public static final String ROOM_CONFIG_SIDAIYI = "sidaiyi";


	/**
	 * 反春
	 */
	public static final String ROOM_CONFIG_FANCHUN = "fanchun";

	/**
	 * 杀春翻倍
	 */
	public static final String ROOM_CONFIG_SHACHUNFANBEI= "shachunfanbei";


	public static final String	ROOM_CONFIG_ANCHOU_SCORE		= "an_chou_score";

	/**
	 * 自然春翻倍
	 */
	public static final String ROOM_CONFIG_ZIRANCHUNFANBEI = "ziranchunfanbei";


	/**
	 * 4个A自然春
	 */
	public static final String ROOM_CONFIG_SIGEAZIRANCHUN = "sigeAziranchun";

	


	public static final String	ROOM_CONFIG_XIPAI				= "xi_pai";

	public static final String	ROOM_CONFIG_XIPAI_SCORE			= "xi_pai_score";
	
	//-------------------------------牌类型---------------------------------
	/**
	 * 单牌
	 */
	public final static int TYPE_DANPAI = 1;
	/**
	 * 对子
	 */
	public final static int TYPE_DUIZI = 2;
	/**
	 * 顺子
	 */
	public final static int TYPE_SHUNZI = 3;
	/**
	 * 连对
	 */
	public final static int TYPE_LIANDUI = 4;


	/**
	 * 3带2
	 */
	public final static int TYPE_3_2 = 5;
	/**
	 * 飞机
	 */
	public final static int TYPE_FEIJI = 6;

   
	/**
	 * 炸
	 */
	public final static int TYPE_ZHA = 8;

	/**
	 * 4带1
	 */
	public final static int TYPE_4_1 = 9;


	/**
	 * 三条
	 */
	public final static int TYPE_3_0 = 10;

	/**
	 * 拖拉机
	 *  连三对，或者4对
	 */
	public final static int TYPE_TUOLAJI = 11;

	public final static int TYPE_WUDUI = 12;
	

	//-------------------------------协议---------------------------------
	
	public static final String	GAME_EVT_MING_PAI			= "2117";
	/**
	 * 发牌协议
	 */
	public static final String	GAME_EVT_PLAYER_DEAL			= "2011";
	/**
	 * 出牌
	 */
	public static final String	GAME_DIS_CARD					= "1013";

	/**
	 * 不出
	 */
	public static final String 	GAME_DIS_PASS					= "1014";

	/**
	 * 出牌事件
	 */
	public static final String	GAME_EVT_DISCARD				= "2021";
	/**
	 * 出牌提示事件
	 */
	public static final String	GAME_EVT_DISCARD_TIP			= "2004";

	/**
	 * 转盘指向事件
	 */
	public static final String	GAME_EVT_CHANGE_ACTIVE_PLAYER	= "2016";

	/**
	 * pass事件
	 */
	public static final String 	GAME_EVT_PASS 					= "2030";

	/**
	 * 更新炸弹分数
	 */
	public static final String  GAME_EVT_UPDATE_BOM_SCORE       = "2118";
	
	/**
	 * 小结算
	 */
	public static final String	GAME_EVT_RESULT1				= "2007";


	/**
	 * 出牌错误
	 */
	public static final String GAME_EVT_PUT_ERROR	= "2111";


	/**
	 * 报春
	 */
	public static final String GAME_NOTIFY_BAO_CHUN = "22033";

	public static final String GAME_EVT_USER_BAO_CHUN_REQ = "22034";

	public static final String GAME_EVT_ALERT_TongYi_BAO_CHUN = "22035";

	public static final String GAME_EVT_USER_BAO_CHUN_RSP = "22036";


	/**
	 * 通知新的最后报春成功
	 */
	public static final String GAME_EVT_BAO_CHUN_JIA = "22037";

	/**
	 * 玩家抢报春
	 */
	public static final int PUT_ERROR_MUST_OUT_MIN = 0;
	public static final int PUT_ERROR_INVALID_TYPE = 1;
	public static final int PUT_ERROR_MUST_OUT_MAX = 2;
	public static final int PUT_ERROR_BOMB_CHAI =3;
	
	public static final String	SETTLE_WIN_COUNT				= "winnum";
	public static final String	SETTLE_CHUNTIAN_COUNT	    = "springnum";

	public static final String SETTLE_CTSTATUS    =  "springstatus";
	public static final String	SETTLE_BOMB_COUNT			= "boomnum";
	public static final String	SETTLE_MAX_SCORE				= "maxscore";
}
