HalloweenManager.smali

.class public Lcom/sandboxol/center/router/manager/HalloweenManager;
.super Ljava/lang/Object;
.source "HalloweenManager.java"


# static fields
.field private static iHalloweenService:Lcom/sandboxol/center/router/moduleApi/IHalloweenService;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    const-string v0, "/halloween/service"

    .line 1
    invoke-static {v0}, Lcom/sandboxol/center/router/RouteServiceManager;->provide(Ljava/lang/String;)Lcom/alibaba/android/arouter/facade/template/IProvider;

    move-result-object v0

    check-cast v0, Lcom/sandboxol/center/router/moduleApi/IHalloweenService;

    sput-object v0, Lcom/sandboxol/center/router/manager/HalloweenManager;->iHalloweenService:Lcom/sandboxol/center/router/moduleApi/IHalloweenService;

    return-void
.end method

.method public constructor <init>()V
    .registers 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static enterEventHome(Landroid/content/Context;Ljava/lang/String;)V
    .registers 3

    .line 1
    sget-object v0, Lcom/sandboxol/center/router/manager/HalloweenManager;->iHalloweenService:Lcom/sandboxol/center/router/moduleApi/IHalloweenService;

    if-eqz v0, :cond_7

    .line 2
    invoke-interface {v0, p0, p1}, Lcom/sandboxol/center/router/moduleApi/IHalloweenService;->enterEventHome(Landroid/content/Context;Ljava/lang/String;)V

    :cond_7
    return-void
.end method

.method public static isInEvents(Ljava/lang/String;)Z
    .registers 2

    .line 1
    sget-object v0, Lcom/sandboxol/center/router/manager/HalloweenManager;->iHalloweenService:Lcom/sandboxol/center/router/moduleApi/IHalloweenService;

    if-eqz v0, :cond_9

    .line 2
    invoke-interface {v0, p0}, Lcom/sandboxol/center/router/moduleApi/IHalloweenService;->isInEvents(Ljava/lang/String;)Z

    move-result p0

    return p0

    :cond_9
    const/4 p0, 0x0

    return p0
.end method

.method public static openAllEventHome(Landroid/content/Context;)V
    .registers 2

    .line 1
    sget-object v0, Lcom/sandboxol/center/router/manager/HalloweenManager;->iHalloweenService:Lcom/sandboxol/center/router/moduleApi/IHalloweenService;

    if-eqz v0, :cond_7

    .line 2
    invoke-interface {v0, p0}, Lcom/sandboxol/center/router/moduleApi/IHalloweenService;->openAllEventHome(Landroid/content/Context;)V

    :cond_7
    return-void
.end method

.method public static stage(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/center/listener/OnEventStatusListener;)V
    .registers 5

    .line 1
    sget-object v0, Lcom/sandboxol/center/router/manager/HalloweenManager;->iHalloweenService:Lcom/sandboxol/center/router/moduleApi/IHalloweenService;

    if-eqz v0, :cond_8

    .line 2
    invoke-interface {v0, p0, p1, p2}, Lcom/sandboxol/center/router/moduleApi/IHalloweenService;->stage(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/center/listener/OnEventStatusListener;)V

    goto :goto_e

    :cond_8
    const/4 p0, 0x1

    const-wide/16 v0, 0x0

    .line 3
    invoke-interface {p2, p0, v0, v1}, Lcom/sandboxol/center/listener/OnEventStatusListener;->stage(IJ)V

    :goto_e
    return-void
.end method

.method public static staticDownloadBgPics(Landroid/content/Context;)V
    .registers 2

    .line 1
    sget-object v0, Lcom/sandboxol/center/router/manager/HalloweenManager;->iHalloweenService:Lcom/sandboxol/center/router/moduleApi/IHalloweenService;

    if-eqz v0, :cond_7

    .line 2
    invoke-interface {v0, p0}, Lcom/sandboxol/center/router/moduleApi/IHalloweenService;->loadEventBgPics(Landroid/content/Context;)V

    :cond_7
    return-void
.end method