米游社.apk(点击下载) / b.java


package ba;

import com.mihoyo.platform.account.sdk.constant.SDKHost;

/* compiled from: Domain */
public class b {

    /* renamed from: a  reason: collision with root package name */
    public static final String[] f8936a = {SDKHost.LOGIN_BASE_URL_DEV, SDKHost.LOGIN_BASE_URL_PRE, "https://api-takumi.mihoyo.com", "https://sandbox-bbs-takumi.mihoyo.com"};

    /* renamed from: b  reason: collision with root package name */
    public static final int f8937b = 0;

    /* renamed from: c  reason: collision with root package name */
    public static final int f8938c = 1;

    /* renamed from: d  reason: collision with root package name */
    public static final int f8939d = 2;

    /* renamed from: e  reason: collision with root package name */
    public static final int f8940e = 3;

    /* renamed from: f  reason: collision with root package name */
    public static int f8941f = 0;

    public static String a() {
        return f8936a[f8941f];
    }

    public static int b() {
        return f8941f;
    }

    public static void c(String str) {
        if (str.equals("release")) {
            f8941f = 2;
        } else if (str.equals("dev")) {
            f8941f = 0;
        } else if (str.equals("pre")) {
            f8941f = 1;
        } else if (str.endsWith("sandbox")) {
            f8941f = 3;
        }
    }
}