Y.smali
.class Lcom/sandboxol/gamedetail/view/fragment/detail/Y;
.super Ljava/lang/Object;
.source "GameDetailEnterGameLogic.java"
# interfaces
.implements Lcom/sandboxol/file/d/e;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/gamedetail/view/fragment/detail/ca;->a(Lcom/sandboxol/greendao/entity/Game;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/sandboxol/greendao/entity/Game;
.field final synthetic b:[Lcom/sandboxol/file/entity/DownloadInfo;
.field final synthetic c:Lcom/sandboxol/center/download/entity/GameReqParam;
.field final synthetic d:Lcom/sandboxol/gamedetail/view/fragment/detail/ca;
# direct methods
.method constructor <init>(Lcom/sandboxol/gamedetail/view/fragment/detail/ca;Lcom/sandboxol/greendao/entity/Game;[Lcom/sandboxol/file/entity/DownloadInfo;Lcom/sandboxol/center/download/entity/GameReqParam;)V
.registers 5
.line 1
iput-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Y;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/ca;
iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Y;->a:Lcom/sandboxol/greendao/entity/Game;
iput-object p3, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Y;->b:[Lcom/sandboxol/file/entity/DownloadInfo;
iput-object p4, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Y;->c:Lcom/sandboxol/center/download/entity/GameReqParam;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public synthetic error(Ljava/lang/Throwable;)V
.registers 2
invoke-static {p0, p1}, Lcom/sandboxol/file/d/d;->a(Lcom/sandboxol/file/d/e;Ljava/lang/Throwable;)V
return-void
.end method
.method public synthetic progress(Lcom/sandboxol/file/entity/Progress;)V
.registers 2
invoke-static {p0, p1}, Lcom/sandboxol/file/d/d;->a(Lcom/sandboxol/file/d/e;Lcom/sandboxol/file/entity/Progress;)V
return-void
.end method
.method public success()V
.registers 7
.line 1
iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Y;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/ca;
iget-object v1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Y;->a:Lcom/sandboxol/greendao/entity/Game;
invoke-virtual {v1}, Lcom/sandboxol/greendao/entity/Game;->getLatestResVersions()Lcom/sandboxol/greendao/entity/ResourceLatestVersionData;
move-result-object v1
invoke-virtual {v1}, Lcom/sandboxol/greendao/entity/ResourceLatestVersionData;->getGresVersion()J
move-result-wide v1
iget-object v3, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Y;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/ca;
invoke-static {v3}, Lcom/sandboxol/gamedetail/view/fragment/detail/ca;->b(Lcom/sandboxol/gamedetail/view/fragment/detail/ca;)Landroid/content/Context;
move-result-object v3
const-string v4, "new.engine.common.game.version"
invoke-static {v3, v4}, Lcom/sandboxol/common/utils/SharedUtils;->getLong(Landroid/content/Context;Ljava/lang/String;)J
move-result-wide v3
cmp-long v5, v1, v3
if-nez v5, :cond_1e
const/4 v1, 0x1
goto :goto_1f
:cond_1e
const/4 v1, 0x0
:goto_1f
iput-boolean v1, v0, Lcom/sandboxol/gamedetail/view/fragment/detail/ca;->s:Z
.line 2
iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Y;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/ca;
iget-boolean v1, v0, Lcom/sandboxol/gamedetail/view/fragment/detail/ca;->r:Z
if-eqz v1, :cond_34
iget-boolean v1, v0, Lcom/sandboxol/gamedetail/view/fragment/detail/ca;->s:Z
if-eqz v1, :cond_34
.line 3
iget-object v1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Y;->a:Lcom/sandboxol/greendao/entity/Game;
iget-object v2, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Y;->b:[Lcom/sandboxol/file/entity/DownloadInfo;
iget-object v3, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Y;->c:Lcom/sandboxol/center/download/entity/GameReqParam;
invoke-static {v0, v1, v2, v3}, Lcom/sandboxol/gamedetail/view/fragment/detail/ca;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/ca;Lcom/sandboxol/greendao/entity/Game;[Lcom/sandboxol/file/entity/DownloadInfo;Lcom/sandboxol/center/download/entity/GameReqParam;)V
:cond_34
return-void
.end method