九游游戏中心HD v4.6.8.1版本的 MD5 值为:78c397802cc5ffdcc7f5502ede90502e
以下内容为反编译后的 b.java 源代码,内容仅作参考
package cn.ninegame.library.emoticon.b;
import android.content.Context;
import android.text.TextUtils;
import cn.ninegame.framework.NineGameClientApplication;
import cn.ninegame.library.emoticon.RemoteChatEmoticon;
import cn.ninegame.library.emoticon.RemoteEmojiEmoticon;
import cn.ninegame.library.i.a.b.j;
import cn.ninegame.library.i.a.b.k;
import cn.ninegame.library.i.i;
import cn.ninegame.library.zip.remote.RemotePackageInfo;
import com.tmall.applink.BuildConfig;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
public final class b extends cn.ninegame.library.zip.remote.a {
private static b d;
public static b a() {
if (d == null) {
d = new b(NineGameClientApplication.a());
}
return d;
}
private b(Context context) {
super(context, "chat_emoticon");
}
@Override
public final List<RemotePackageInfo> b() {
ArrayList arrayList = new ArrayList();
RemotePackageInfo remotePackageInfo = new RemotePackageInfo();
remotePackageInfo.downloadUrl = "http://image.uc.cn/s/uae/g/0h/webres/im_chat_emotion_default.zip";
remotePackageInfo.version = BuildConfig.VERSION_NAME;
remotePackageInfo.pkgId = RemoteChatEmoticon.PKG_ID;
arrayList.add(remotePackageInfo);
RemotePackageInfo remotePackageInfo2 = new RemotePackageInfo();
remotePackageInfo2.downloadUrl = "http://image.uc.cn/s/uae/g/0h/webres/im_chat_emotion_emoji.zip";
remotePackageInfo2.version = BuildConfig.VERSION_NAME;
remotePackageInfo2.pkgId = RemoteEmojiEmoticon.PKG_ID;
arrayList.add(remotePackageInfo2);
return arrayList;
}
@Override
public final boolean a(String str) {
return new File(this.c + File.separator + str, "config.json").exists();
}
@Override
public final void b(String str) {
if (!TextUtils.isEmpty(str)) {
i.a((cn.ninegame.library.i.a.b.i) new c(this, j.IO, k.HIGHER, str));
}
}
}