La.smali
.class Lcom/sandboxol/gamedetail/view/fragment/detail/La;
.super Ljava/lang/Object;
.source "GameResDownloadManager.java"
# interfaces
.implements Lcom/sandboxol/file/d/e;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->a(Lcom/sandboxol/greendao/entity/Game;Ljava/util/List;)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/gamedetail/view/fragment/detail/Pa;
# direct methods
.method constructor <init>(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;Lcom/sandboxol/greendao/entity/Game;)V
.registers 3
.line 1
iput-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/La;->b:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/La;->a:Lcom/sandboxol/greendao/entity/Game;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public error(Ljava/lang/Throwable;)V
.registers 3
.line 1
iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/La;->b:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/La;->a:Lcom/sandboxol/greendao/entity/Game;
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getGameId()Ljava/lang/String;
move-result-object v0
invoke-static {p1, v0}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;Ljava/lang/String;)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/La;->b:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
iget-object v1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/La;->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;->getCresVersion()J
move-result-wide v1
iget-object v3, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/La;->b:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
invoke-static {v3}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->f(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;)Landroid/content/Context;
move-result-object v3
iget-object v4, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/La;->a:Lcom/sandboxol/greendao/entity/Game;
invoke-virtual {v4}, Lcom/sandboxol/greendao/entity/Game;->getIsNewEngine()I
move-result v4
iget-object v5, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/La;->a:Lcom/sandboxol/greendao/entity/Game;
invoke-virtual {v5}, Lcom/sandboxol/greendao/entity/Game;->getIsUgc()I
move-result v5
invoke-static {v3, v4, v5}, Lcom/sandboxol/center/router/moduleInfo/game/EngineEnv;->loadCommonResVersion(Landroid/content/Context;II)J
move-result-wide v3
cmp-long v5, v1, v3
if-nez v5, :cond_28
const/4 v1, 0x1
goto :goto_29
:cond_28
const/4 v1, 0x0
:goto_29
invoke-static {v0, v1}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->d(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;Z)Z
.line 2
iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/La;->b:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
invoke-static {v0}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->g(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;)Z
move-result v0
if-eqz v0, :cond_43
iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/La;->b:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
invoke-static {v0}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->b(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;)Z
move-result v0
if-eqz v0, :cond_43
.line 3
iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/La;->b:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
iget-object v1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/La;->a:Lcom/sandboxol/greendao/entity/Game;
invoke-static {v0, v1}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->c(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;Lcom/sandboxol/greendao/entity/Game;)V
:cond_43
return-void
.end method