package taurus.util;

public class Config {

	/**
	 * 玩法  1 经典玩法 2临汾玩法 3运城玩法
	 */
	public static final String ROOM_CONFIG_WANFA = "wanfa";

	/**
	 * 模式  1普通模式 2积分模式
	 */
	public static final String ROOM_CONFIG_MOSHI = "moshi";

	/**
	 * 积分 底分
	 */
//	public static final String ROOM_CONFIG_JI_FEN= "tex_jrzxjf";


	/**
	 * 房费  1 房主支付 2 AA支付 3大赢家支付
	 */
	public static final String ROOM_CONFIG_FANGFEI = "fangfei";
	/**
	 * 封顶   1 --3炸  2-- 4炸  3-- 5炸   4-- 不封顶
	 */
	public static final String ROOM_CONFIG_FENGDING = "fengding";
	/**
	 * 叫地主  1-- 经典123   2-- 固定 叫抢地主
	 */
	public static final String ROOM_CONFIG_JIAODIZHU = "jiaodizhu";
	/**
	 * 不显示牌数   0 未勾选   1 已勾选
	 */
	public static final String ROOM_CONFIG_BUZHANSHIPAISHU = "buxianshipaishu";
	/**
	 * 暗牌   0 未勾选  1 已勾选
	 */
	public static final String ROOM_CONFIG_ANPAI = "anpai";
	/**
	 * 双王或四个2必叫地主   0 未勾选  1 已勾选
	 */
	public static final String ROOM_CONFIG_SHUANGWANGSIER = "shuangwangsier";
	/**
	 * 可三带二  0 未勾选  1 已勾选
	 */
	public static final String ROOM_CONFIG_KESANDAIER = "kesandaier";


	/**
	 * 任俩三为炸弹   0为未勾选  1 已勾选
	 */
	public static final String renliasanweizhadan = "renliasanweizhadan";

	/**
	 * 同色三为炸弹  0为未勾选  1 已勾选
	 */
	public static final String tongsesanweizhadan = "tongsesanweizhadan";

	/**
	 * 人数
	 */
	public static final String maxPlayers = "maxPlayers";

	/**
	 * 赖子
	 */
	public static final String laizi = "laizi"; //0 是无赖子，1是有赖子


	public static final String tuoguanshijian = "tuoguan_active_time";


	//-------------------------------牌类型---------------------------------
	/**
	 * 单牌
	 */
	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;

	/**
	 * 三带一
	 */
	public final static int TYPE_3_1 = 5;
	/**
	 * 3带2
	 */
	public final static int TYPE_3_2 = 7;

	/**
	 * 3不带
	 */
	public final static int TYPE_BU_DAI = 11;

	/**
	 * 飞机
	 */
	public final static int TYPE_FEIJI = 6;


	/**
	 * 飞机带单
	 */
	public final static int TYPE_FEIJI_DAI_DAN = 14;


	/**
	 * 飞机带双
	 */
	public final static int TYPE_FEIJI_DAI_SHUANG = 15;

	/**
	 * 4带2
	 */
	public final static int TYPE_4_2 = 8;

	/**
	 * 四带一对  4444 55
	 */
	public final static int TYPE_4_2_dui = 12;


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


	/**
	 * 火箭-双王
	 */
	public final static int TYPE_ROCKET = 10;


	//-------------------------------协议---------------------------------

	/**
	 * 明牌
	 */
	public static final String GAME_EVT_MING_PAI = "2117";

	/**
	 * 发牌协议g
	 */
	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";

	/**
	 * 通知玩家叫地主 1
	 */
	public static final String JIAO_DIZHU = "2041";


	/**
	 * 玩家叫地主 2
	 */
	public static final String JAIO_DIZHU_REO = "1042";

	/**
	 * 通知玩家踢人 抢地主 3
	 */
	public static final String TONG_ZHI_TONG_ZHI_WANJIA = "2043";



	/**
	 * 玩家叫地主广播
	 */
	public static final String TONG_ZHI_JIAO_DI_ZHU_GUANG_BO = "2070";


	/**
	 * 流局通知
	 */
	public static final String TONG_ZHI_LIU_JU = "2015";


	/**
	 * 玩家抢地主广播
	 */
	public static final String TONG_ZHI_QIANG_DI_ZHU_GUANG_BO = "2046";

	/**
	 * 通知所有人谁是地主广播
	 */
	public static final String TONG_ZHI_DI_ZHU_GUANG_BO = "2047";


	/**
	 * 玩家抢地主  踢人/不踢
	 */
	public static final String TI_OR_BUTI_RSQ = "1044";

	/**
	 * 轮流叫地主 1是 轮流   没有的话就默认第一把庄家先出，第二把谁赢了谁是庄家就先出
	 */
	public static final String lunliujiaodizhu = "lunliujiaodizhu";


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

	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_BOMB_COUNT = "boomnum";
	public static final String SETTLE_MAX_SCORE = "maxscore";
	public static final String ENABLE_DOUBLE_AFTER_LANDLORD = "keti";
	/**
	 * 广播加倍
	 */
	public static final String TONG_ZHI_DOUBLE_CHOICE = "2053";
	/**
	 * 通知农民加倍
	 */
	public static final String GAME_EVT_FARMER_DOUBLE_TIP = "2060";


}