va.smali
.class Lcom/sandboxol/gamedetail/view/fragment/detail/va;
.super Lcom/sandboxol/common/base/web/OnResponseListener;
.source "GameResDownloadManager.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->a(Lcom/sandboxol/greendao/entity/Game;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/greendao/entity/Game;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;
# direct methods
.method constructor <init>(Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/va;->a:Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;
invoke-direct {p0}, Lcom/sandboxol/common/base/web/OnResponseListener;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lcom/sandboxol/greendao/entity/Game;)V
.registers 5
if-nez p1, :cond_19
.line 1
iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/va;->a:Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;
iget-object p1, p1, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
invoke-static {p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;)Lcom/sandboxol/gamedetail/view/fragment/detail/Pa$a;
move-result-object p1
if-eqz p1, :cond_2f
.line 2
iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/va;->a:Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;
iget-object p1, p1, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
invoke-static {p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;)Lcom/sandboxol/gamedetail/view/fragment/detail/Pa$a;
move-result-object p1
const/4 v0, 0x0
invoke-interface {p1, v0}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa$a;->a(Z)V
goto :goto_2f
.line 3
:cond_19
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getLatestResVersions()Lcom/sandboxol/greendao/entity/ResourceLatestVersionData;
move-result-object v0
if-eqz v0, :cond_28
.line 4
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getLatestResVersions()Lcom/sandboxol/greendao/entity/ResourceLatestVersionData;
move-result-object v0
const-wide/16 v1, 0x0
invoke-virtual {v0, v1, v2}, Lcom/sandboxol/greendao/entity/ResourceLatestVersionData;->setGresVersion(J)V
.line 5
:cond_28
iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/va;->a:Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;
iget-object v0, v0, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
invoke-static {v0, p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;Lcom/sandboxol/greendao/entity/Game;)V
:cond_2f
:goto_2f
return-void
.end method
.method public onError(ILjava/lang/String;)V
.registers 3
.line 1
iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/va;->a:Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;
iget-object p1, p1, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
invoke-static {p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;)Lcom/sandboxol/gamedetail/view/fragment/detail/Pa$a;
move-result-object p1
if-eqz p1, :cond_16
.line 2
iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/va;->a:Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;
iget-object p1, p1, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
invoke-static {p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;)Lcom/sandboxol/gamedetail/view/fragment/detail/Pa$a;
move-result-object p1
const/4 p2, 0x0
invoke-interface {p1, p2}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa$a;->a(Z)V
:cond_16
return-void
.end method
.method public onServerError(I)V
.registers 3
.line 1
iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/va;->a:Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;
iget-object p1, p1, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
invoke-static {p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;)Lcom/sandboxol/gamedetail/view/fragment/detail/Pa$a;
move-result-object p1
if-eqz p1, :cond_16
.line 2
iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/va;->a:Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;
iget-object p1, p1, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;
invoke-static {p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;)Lcom/sandboxol/gamedetail/view/fragment/detail/Pa$a;
move-result-object p1
const/4 v0, 0x0
invoke-interface {p1, v0}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa$a;->a(Z)V
:cond_16
return-void
.end method
.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
.registers 2
.line 1
check-cast p1, Lcom/sandboxol/greendao/entity/Game;
invoke-virtual {p0, p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/va;->a(Lcom/sandboxol/greendao/entity/Game;)V
return-void
.end method