package com.znv.linkup;
/**
* 视图配置
*
* @author yzb
*
*/
public class ViewSettings {
/**
* 游戏时间消息
*/
public final static int TimeMessage = 0x1;
/**
* 游戏分数消息
*/
public final static int ScoreMessage = 0x2;
/**
* 游戏失败消息
*/
public final static int FailMessage = 0x3;
/**
* 游戏胜利消息
*/
public final static int WinMessage = 0x4;
/**
* 游戏提示消息
*/
public final static int PromptMessage = 0x5;
/**
* 游戏重排消息
*/
public final static int RefreshMessage = 0x6;
/**
* 用户登录消息
*/
public static final int MSG_LOGIN = 0x11;
/**
* 用户取消登录消息
*/
public static final int MSG_AUTH_CANCEL = 0x12;
/**
* 用户登录错误消息
*/
public static final int MSG_AUTH_ERROR = 0x13;
/**
* 用户上传分数消息同时返回top3
*/
public static final int MSG_LEVEL_ADDGET = 0x14;
/**
* 用户获取分数排行榜
*/
public static final int MSG_LEVEL_GET = 0x15;
/**
* 网络问题
*/
public static final int MSG_NETWORK_EXCEPTION = 0x18;
// /**
// * 获取用户图标
// */
// public static final int MSG_IMAGE_GET = 0x19;
// /**
// * 获取排行榜图标
// */
// public static final int MSG_TOPIMAGES_GET = 0x20;
/**
* 更新用户的钻石和金币
*/
public static final int MSG_UPDATE_GOLD = 0x21;
/**
* 更新用户的点赞数
*/
public static final int MSG_UPDATE_LIKE = 0x22;
/**
* 登录分享提示
*/
public static final int MSG_LOGIN_PROMPT = 0x23;
/**
* 每种皮肤的图片X数量
*/
public static int ImageXCount = 4;
/**
* 每种皮肤的图片Y数量
*/
public static int ImageYCount = 4;
/**
* 最大的提示数
*/
public static int PromptMaxNum = 10;
/**
* 最大的重排数
*/
public static int RefreshMaxNum = 10;
/**
* 最大的重排数
*/
public static int AddTimeMaxNum = 10;
/**
* 增加时间的秒数
*/
public static int AddTimeSeconds = 5;
/**
* 排行榜图像宽度
*/
public static int TopImageWidth = 50;
/**
* 用户图像宽度
*/
public static int UserImageWidth = 60;
/**
* 昵称显示长度
*/
public static int ShowNameLength = 11;
/**
* 每次取排行榜前3名
*/
public static int TopN = 3;
/**
* 排行榜查询取前十
*/
public static int TopRankN = 10;
/**
* 分享奖励钻石数
*/
public static int ShareReward = 20;
/**
* 网站的域名根目录
*/
public static String WebRoot = "http://xxllk.aliapp.com";
/**
* 阿里ACE无法发送推送
*/
public static String LikeWebRoot = "http://182.92.83.63:9080/linkupweb";
/**
* 数据缓存版本字符串
*/
public static String CacheVersion = "140";
/**
* 全局配置的 Shared Preference
*/
public static String GlobalCfgStr = "globalcfg_" + CacheVersion;
/**
* 点赞用户的 Shared Preference
*/
public static String LikeUsersStr = "likeusers";
/**
* 本地数据库文件名
*/
public static String DbFileName = "data" + CacheVersion + ".db";
/**
* 本地数据库的版本
*/
public static int DbVersion = 2;
/**
* 初始激活的关卡,按升序排列
*/
public static int[] DefaultActiveLevels = new int[] { 0, 1, 2, 3, 24, 25, 26, 27, 48, 49, 50, 51, 120, 121, 122, 123, 192, 193, 194, 195, 264, 265, 266,
267, 336, 337, 338, 339 };
/**
* 两次back退出间的间隔
*/
public static int TwoBackExitInterval = 2000;
/**
* 数字图片
*/
public static int[] Numbers = new int[] { R.drawable.n0, R.drawable.n1, R.drawable.n2, R.drawable.n3, R.drawable.n4, R.drawable.n5, R.drawable.n6,
R.drawable.n7, R.drawable.n8, R.drawable.n9, R.drawable.n10, R.drawable.n11, R.drawable.n12, R.drawable.n13, R.drawable.n14, R.drawable.n15,
R.drawable.n16, R.drawable.n17, R.drawable.n18, R.drawable.n19, R.drawable.n20, R.drawable.n21, R.drawable.n22, R.drawable.n23, R.drawable.n24 };
/**
* 游戏背景图片
*/
public static int[] GameBgImageIds = new int[] { R.drawable.p2, R.drawable.p3, R.drawable.p4, R.drawable.p5, R.drawable.p6 };
/**
* 游戏级别背景颜色
*/
public static int[] RankBgColors = new int[] { R.color.rankbg_color1, R.color.rankbg_color2, R.color.rankbg_color3, R.color.rankbg_color4,
R.color.rankbg_color5 };
/**
* 游戏评级
*/
public static int[] StarImages = new int[] { R.drawable.star1, R.drawable.star2, R.drawable.star3 };
/**
* 五套皮肤的名称
*/
public static String[] SkinNames = new String[] { "classic", "fruit", "pet", "fish", "farm" };
/**
* 模式下面的等级数组
*/
public static int[] ModeRanks = new int[] { R.array.totalranks, R.array.mode0ranks, R.array.mode1ranks, R.array.mode2ranks, R.array.mode3ranks,
R.array.mode4ranks };
/**
* 排行榜名次
*/
public static int[] TopOrderImages = new int[] { R.drawable.top_1, R.drawable.top_2, R.drawable.top_3, R.drawable.top_4, R.drawable.top_5,
R.drawable.top_6, R.drawable.top_7, R.drawable.top_8, R.drawable.top_9, R.drawable.top_10, };
/**
* 填写从短信SDK应用后台注册得到的APPKEY
*/
public static String APPKEY = "25c23a360539";
/**
* 填写从短信SDK应用后台注册得到的APPSECRET
*/
public static String APPSECRET = "d224092cafca6db2b5a942d0d298ba92";
/**
* 91发布包,不允许弹出框
*/
public static String Deploy91 = "Deploy91";
/**
* 360发布包,不允许第三方登录
*/
public static String Deploy360 = "Deploy360";
/**
* 其它发布包
*/
public static String DeployOther = "DeployOther";
/**
* 部署方式
*/
public static String DeployType = DeployOther;
}