添加换肤

This commit is contained in:
huangzhuanghua
2016-11-21 18:21:20 +08:00
parent 72a4b4e267
commit 0ab734f777
11 changed files with 933 additions and 27 deletions

View File

@ -0,0 +1,38 @@
package com.gh.gamecenter.changeskin;
/**
* Created by khy on 2016/11/16.
*/
public class SkinConfig {
public static int PG_STATE = 1;
/*
pageNum : 页数
perPage : 请求数量
*/
public static int perPage = 300;
public static final int TYPE_DESUPDATE = 1;
public static final int TYPE_UPDATE = 2;
public static final int TYPE_STOP = 3;
public static final int TYPE_RESTART = 4;
public static final int MSG_DOWNLOAD_OVER = 100;
public static final int MSG_PROGRESS_UPDATE = 101;
public static final int MSG_NETWORK_SPEED = 102;
public static final int MSG_MD5_PROGRSS = 103;
public static final int MSG_MD5_OVER = 104;
public static final int MSG_NETWORK_ERROR = 200;
public static String GAME_ID = "57ce84f88ab49e83728b4572";
// http://api.ghzhushou.com/v2d2/game/57ce84f88ab49e83728b4572/skin/data?page=1&per_page=1000
public static String JSON_PATCHURL = "http://api.ghzhushou.com/v2d2/game/" + GAME_ID + "/skin/data?page=*&per_page=" + perPage;
// ewan.anfeng 安峰
public static String patchVersion = "com.netease.ma.ewan.anfeng";
// public static String patchVersion = "com.netease.ma.bili";
}