S.smali
.class public final Lcom/sandboxol/greendao/c/S;
.super Lcom/sandboxol/greendao/c/y;
.source "GameListDbHelper.java"
# static fields
.field private static a:Lcom/sandboxol/greendao/c/S;
# instance fields
.field private b:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private c:Lcom/sandboxol/greendao/entity/DaoSession;
.field private d:Lcom/sandboxol/greendao/entity/JoinGameListWithGamesDao;
# direct methods
.method private constructor <init>(Lcom/sandboxol/greendao/e/h;)V
.registers 2
.line 1
invoke-direct {p0, p1}, Lcom/sandboxol/greendao/c/y;-><init>(Lcom/sandboxol/greendao/e/h;)V
.line 2
new-instance p1, Ljava/util/HashMap;
invoke-direct {p1}, Ljava/util/HashMap;-><init>()V
iput-object p1, p0, Lcom/sandboxol/greendao/c/S;->b:Ljava/util/Map;
return-void
.end method
.method static synthetic a(Lcom/sandboxol/greendao/c/S;)Ljava/util/Map;
.registers 1
.line 1
iget-object p0, p0, Lcom/sandboxol/greendao/c/S;->b:Ljava/util/Map;
return-object p0
.end method
.method private a(Lcom/sandboxol/greendao/entity/Game;)V
.registers 8
.line 10
invoke-virtual {p0}, Lcom/sandboxol/greendao/c/S;->getDao()Lcom/sandboxol/greendao/entity/GameDao;
move-result-object v0
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameId()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Lorg/greenrobot/greendao/a;->load(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/sandboxol/greendao/entity/Game;
if-nez v0, :cond_19
.line 11
invoke-virtual {p0}, Lcom/sandboxol/greendao/c/S;->getDao()Lcom/sandboxol/greendao/entity/GameDao;
move-result-object v0
invoke-virtual {v0, p1}, Lorg/greenrobot/greendao/a;->insert(Ljava/lang/Object;)J
goto/16 :goto_1f1
.line 12
:cond_19
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameTitle()Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_2a
.line 13
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameTitle()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setGameTitle(Ljava/lang/String;)V
.line 14
:cond_2a
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameName()Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_3b
.line 15
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameName()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setGameName(Ljava/lang/String;)V
.line 16
:cond_3b
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameCoverPic()Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_4c
.line 17
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameCoverPic()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setGameCoverPic(Ljava/lang/String;)V
.line 18
:cond_4c
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getBannerPic()Ljava/util/List;
move-result-object v1
if-eqz v1, :cond_63
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getBannerPic()Ljava/util/List;
move-result-object v1
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
if-lez v1, :cond_63
.line 19
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getBannerPic()Ljava/util/List;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setBannerPic(Ljava/util/List;)V
.line 20
:cond_63
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameBannerVideoInfos()Ljava/util/List;
move-result-object v1
if-eqz v1, :cond_7a
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameBannerVideoInfos()Ljava/util/List;
move-result-object v1
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
if-lez v1, :cond_7a
.line 21
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameBannerVideoInfos()Ljava/util/List;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setGameBannerVideoInfos(Ljava/util/List;)V
.line 22
:cond_7a
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameTypes()Ljava/util/List;
move-result-object v1
if-eqz v1, :cond_91
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameTypes()Ljava/util/List;
move-result-object v1
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
if-lez v1, :cond_91
.line 23
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameTypes()Ljava/util/List;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setGameTypes(Ljava/util/List;)V
.line 24
:cond_91
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getAppreciate()Z
move-result v1
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getAppreciate()Z
move-result v2
if-eq v1, v2, :cond_a2
.line 25
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getAppreciate()Z
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setAppreciate(Z)V
.line 26
:cond_a2
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameMode()I
move-result v1
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getGameMode()I
move-result v2
if-eq v1, v2, :cond_b3
.line 27
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameMode()I
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setGameMode(I)V
.line 28
:cond_b3
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getVisitorEnter()I
move-result v1
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getVisitorEnter()I
move-result v2
if-eq v1, v2, :cond_c4
.line 29
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getVisitorEnter()I
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setVisitorEnter(I)V
.line 30
:cond_c4
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getVersion()I
move-result v1
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getVersion()I
move-result v2
if-eq v1, v2, :cond_d5
.line 31
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getVersion()I
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setVersion(I)V
.line 32
:cond_d5
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getIsRankOnline()I
move-result v1
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getIsRankOnline()I
move-result v2
if-eq v1, v2, :cond_e6
.line 33
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getIsRankOnline()I
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setIsRankOnline(I)V
.line 34
:cond_e6
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getIsShopOnline()I
move-result v1
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getIsShopOnline()I
move-result v2
if-eq v1, v2, :cond_f7
.line 35
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getIsShopOnline()I
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setIsShopOnline(I)V
.line 36
:cond_f7
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getIsOpenParty()I
move-result v1
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getIsOpenParty()I
move-result v2
if-eq v1, v2, :cond_108
.line 37
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getIsOpenParty()I
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setIsOpenParty(I)V
.line 38
:cond_108
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getIsPay()I
move-result v1
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getIsPay()I
move-result v2
if-eq v1, v2, :cond_119
.line 39
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getIsPay()I
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setIsPay(I)V
.line 40
:cond_119
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getTurntableStatus()I
move-result v1
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getTurntableStatus()I
move-result v2
if-eq v1, v2, :cond_12a
.line 41
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getTurntableStatus()I
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setTurntableStatus(I)V
.line 42
:cond_12a
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getTurntableRemainCount()I
move-result v1
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getTurntableRemainCount()I
move-result v2
if-eq v1, v2, :cond_13b
.line 43
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getTurntableRemainCount()I
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setTurntableRemainCount(I)V
.line 44
:cond_13b
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getIsNewEngine()I
move-result v1
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getIsNewEngine()I
move-result v2
if-eq v1, v2, :cond_14c
.line 45
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getIsNewEngine()I
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setIsNewEngine(I)V
.line 46
:cond_14c
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getComplexNum()I
move-result v1
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getComplexNum()I
move-result v2
if-eq v1, v2, :cond_15d
.line 47
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getComplexNum()I
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setComplexNum(I)V
.line 48
:cond_15d
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getCreateTime()J
move-result-wide v1
const-wide/16 v3, 0x0
cmp-long v5, v1, v3
if-lez v5, :cond_16e
.line 49
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getCreateTime()J
move-result-wide v1
invoke-virtual {v0, v1, v2}, Lcom/sandboxol/greendao/entity/Game;->setCreateTime(J)V
.line 50
:cond_16e
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameUgcType()Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-eqz v1, :cond_17f
.line 51
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameUgcType()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setGameUgcType(Ljava/lang/String;)V
.line 52
:cond_17f
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getIndex()I
move-result v1
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getIndex()I
move-result v2
if-eq v1, v2, :cond_190
.line 53
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getIndex()I
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setIndex(I)V
.line 54
:cond_190
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGamePayInfo()Lcom/sandboxol/greendao/entity/GamePayInfo;
move-result-object v1
if-eqz v1, :cond_1a3
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getGamePayInfo()Lcom/sandboxol/greendao/entity/GamePayInfo;
move-result-object v1
if-nez v1, :cond_1a3
.line 55
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGamePayInfo()Lcom/sandboxol/greendao/entity/GamePayInfo;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setGamePayInfo(Lcom/sandboxol/greendao/entity/GamePayInfo;)V
.line 56
:cond_1a3
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getWarmUpResponse()Lcom/sandboxol/greendao/entity/GameWarmUpResponse;
move-result-object v1
if-eqz v1, :cond_1b6
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getWarmUpResponse()Lcom/sandboxol/greendao/entity/GameWarmUpResponse;
move-result-object v1
if-nez v1, :cond_1b6
.line 57
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getWarmUpResponse()Lcom/sandboxol/greendao/entity/GameWarmUpResponse;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setWarmUpResponse(Lcom/sandboxol/greendao/entity/GameWarmUpResponse;)V
.line 58
:cond_1b6
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;
move-result-object v1
if-eqz v1, :cond_1c9
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;
move-result-object v1
if-nez v1, :cond_1c9
.line 59
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setAuthorInfo(Lcom/sandboxol/greendao/entity/AuthorInfo;)V
.line 60
:cond_1c9
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getRealPlayGameList()Ljava/util/List;
move-result-object v1
if-eqz v1, :cond_1dc
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getRealPlayGameList()Ljava/util/List;
move-result-object v1
if-nez v1, :cond_1dc
.line 61
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getRealPlayGameList()Ljava/util/List;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setRealPlayGameList(Ljava/util/List;)V
.line 62
:cond_1dc
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getOnlineNumber()I
move-result v1
invoke-virtual {v0, v1}, Lcom/sandboxol/greendao/entity/Game;->setOnlineNumber(I)V
.line 63
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getPraiseNumber()I
move-result p1
invoke-virtual {v0, p1}, Lcom/sandboxol/greendao/entity/Game;->setPraiseNumber(I)V
.line 64
invoke-virtual {p0}, Lcom/sandboxol/greendao/c/S;->getDao()Lcom/sandboxol/greendao/entity/GameDao;
move-result-object p1
invoke-virtual {p1, v0}, Lorg/greenrobot/greendao/a;->update(Ljava/lang/Object;)V
:goto_1f1
return-void
.end method
.method private varargs a(Ljava/lang/String;I[Lcom/sandboxol/greendao/entity/Game;)V
.registers 5
.line 65
new-instance v0, Lcom/sandboxol/greendao/c/h;
invoke-direct {v0, p0, p3, p1, p2}, Lcom/sandboxol/greendao/c/h;-><init>(Lcom/sandboxol/greendao/c/S;[Lcom/sandboxol/greendao/entity/Game;Ljava/lang/String;I)V
.line 66
new-instance p1, Lcom/sandboxol/greendao/c/g;
invoke-direct {p1, p0, v0}, Lcom/sandboxol/greendao/c/g;-><init>(Lcom/sandboxol/greendao/c/S;Ljava/lang/Runnable;)V
invoke-virtual {p0, p1}, Lcom/sandboxol/greendao/c/y;->post(Ljava/lang/Runnable;)V
return-void
.end method
.method public static getInstance()Lcom/sandboxol/greendao/c/S;
.registers 3
.line 1
sget-object v0, Lcom/sandboxol/greendao/c/S;->a:Lcom/sandboxol/greendao/c/S;
if-nez v0, :cond_1b
.line 2
const-class v0, Lcom/sandboxol/greendao/c/S;
monitor-enter v0
.line 3
:try_start_7
sget-object v1, Lcom/sandboxol/greendao/c/S;->a:Lcom/sandboxol/greendao/c/S;
if-nez v1, :cond_16
.line 4
new-instance v1, Lcom/sandboxol/greendao/c/S;
invoke-static {}, Lcom/sandboxol/greendao/e/f;->a()Lcom/sandboxol/greendao/e/f;
move-result-object v2
invoke-direct {v1, v2}, Lcom/sandboxol/greendao/c/S;-><init>(Lcom/sandboxol/greendao/e/h;)V
sput-object v1, Lcom/sandboxol/greendao/c/S;->a:Lcom/sandboxol/greendao/c/S;
.line 5
:cond_16
monitor-exit v0
goto :goto_1b
:catchall_18
move-exception v1
monitor-exit v0
:try_end_1a
.catchall {:try_start_7 .. :try_end_1a} :catchall_18
throw v1
.line 6
:cond_1b
:goto_1b
sget-object v0, Lcom/sandboxol/greendao/c/S;->a:Lcom/sandboxol/greendao/c/S;
return-object v0
.end method
# virtual methods
.method public synthetic a(Ljava/lang/Runnable;)V
.registers 3
.line 73
iget-object v0, p0, Lcom/sandboxol/greendao/c/S;->c:Lcom/sandboxol/greendao/entity/DaoSession;
invoke-virtual {v0, p1}, Lorg/greenrobot/greendao/c;->runInTx(Ljava/lang/Runnable;)V
return-void
.end method
.method public a(Ljava/lang/String;)V
.registers 3
.line 9
new-instance v0, Lcom/sandboxol/greendao/c/f;
invoke-direct {v0, p0, p1}, Lcom/sandboxol/greendao/c/f;-><init>(Lcom/sandboxol/greendao/c/S;Ljava/lang/String;)V
invoke-virtual {p0, v0}, Lcom/sandboxol/greendao/c/y;->post(Ljava/lang/Runnable;)V
return-void
.end method
.method public a(Ljava/lang/String;JIILcom/sandboxol/greendao/a/c;)V
.registers 16
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"JII",
"Lcom/sandboxol/greendao/a/c<",
"Ljava/util/List<",
"Lcom/sandboxol/greendao/entity/Game;",
">;>;)V"
}
.end annotation
.line 7
new-instance v8, Lcom/sandboxol/greendao/c/Q;
move-object v0, v8
move-object v1, p0
move-object v2, p1
move v3, p4
move v4, p5
move-wide v5, p2
move-object v7, p6
invoke-direct/range {v0 .. v7}, Lcom/sandboxol/greendao/c/Q;-><init>(Lcom/sandboxol/greendao/c/S;Ljava/lang/String;IIJLcom/sandboxol/greendao/a/c;)V
invoke-virtual {p0, v8}, Lcom/sandboxol/greendao/c/y;->post(Lcom/sandboxol/greendao/e/g;)V
return-void
.end method
.method public a(Ljava/lang/String;Lcom/sandboxol/greendao/a/c;)V
.registers 10
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Lcom/sandboxol/greendao/a/c<",
"Ljava/util/List<",
"Lcom/sandboxol/greendao/entity/Game;",
">;>;)V"
}
.end annotation
const-wide/16 v2, -0x1
const/4 v4, 0x0
const/16 v5, 0x14
move-object v0, p0
move-object v1, p1
move-object v6, p2
.line 8
invoke-virtual/range {v0 .. v6}, Lcom/sandboxol/greendao/c/S;->a(Ljava/lang/String;JIILcom/sandboxol/greendao/a/c;)V
return-void
.end method
.method public a(Ljava/lang/String;Lcom/sandboxol/greendao/entity/Game;)V
.registers 5
if-nez p2, :cond_3
return-void
:cond_3
const/4 v0, 0x1
.line 2
new-array v0, v0, [Lcom/sandboxol/greendao/entity/Game;
const/4 v1, 0x0
aput-object p2, v0, v1
invoke-direct {p0, p1, v1, v0}, Lcom/sandboxol/greendao/c/S;->a(Ljava/lang/String;I[Lcom/sandboxol/greendao/entity/Game;)V
return-void
.end method
.method public a(Ljava/lang/String;Ljava/util/List;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/util/List<",
"Lcom/sandboxol/greendao/entity/Game;",
">;)V"
}
.end annotation
if-eqz p2, :cond_1a
.line 5
invoke-interface {p2}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x1
if-ge v0, v1, :cond_a
goto :goto_1a
:cond_a
const/4 v0, 0x0
.line 6
invoke-interface {p2}, Ljava/util/List;->size()I
move-result v1
new-array v1, v1, [Lcom/sandboxol/greendao/entity/Game;
invoke-interface {p2, v1}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p2
check-cast p2, [Lcom/sandboxol/greendao/entity/Game;
invoke-direct {p0, p1, v0, p2}, Lcom/sandboxol/greendao/c/S;->a(Ljava/lang/String;I[Lcom/sandboxol/greendao/entity/Game;)V
:cond_1a
:goto_1a
return-void
.end method
.method public a(Ljava/lang/String;Ljava/util/List;I)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/util/List<",
"Lcom/sandboxol/greendao/entity/Game;",
">;I)V"
}
.end annotation
if-eqz p2, :cond_19
.line 3
invoke-interface {p2}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x1
if-ge v0, v1, :cond_a
goto :goto_19
.line 4
:cond_a
invoke-interface {p2}, Ljava/util/List;->size()I
move-result v0
new-array v0, v0, [Lcom/sandboxol/greendao/entity/Game;
invoke-interface {p2, v0}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p2
check-cast p2, [Lcom/sandboxol/greendao/entity/Game;
invoke-direct {p0, p1, p3, p2}, Lcom/sandboxol/greendao/c/S;->a(Ljava/lang/String;I[Lcom/sandboxol/greendao/entity/Game;)V
:cond_19
:goto_19
return-void
.end method
.method public synthetic a([Lcom/sandboxol/greendao/entity/Game;Ljava/lang/String;I)V
.registers 8
const/4 v0, 0x0
.line 67
:goto_1
array-length v1, p1
if-ge v0, v1, :cond_1a
.line 68
aget-object v1, p1, v0
.line 69
invoke-direct {p0, v1}, Lcom/sandboxol/greendao/c/S;->a(Lcom/sandboxol/greendao/entity/Game;)V
.line 70
iget-object v2, p0, Lcom/sandboxol/greendao/c/S;->d:Lcom/sandboxol/greendao/entity/JoinGameListWithGamesDao;
new-instance v3, Lcom/sandboxol/greendao/entity/gamedb/JoinGameListWithGames;
.line 71
invoke-virtual {v1}, Lcom/sandboxol/greendao/entity/Game;->getGameId()Ljava/lang/String;
move-result-object v1
invoke-direct {v3, p2, v1, p3, v0}, Lcom/sandboxol/greendao/entity/gamedb/JoinGameListWithGames;-><init>(Ljava/lang/String;Ljava/lang/String;II)V
.line 72
invoke-virtual {v2, v3}, Lorg/greenrobot/greendao/a;->insertOrReplace(Ljava/lang/Object;)J
add-int/lit8 v0, v0, 0x1
goto :goto_1
:cond_1a
return-void
.end method
.method public synthetic b(Ljava/lang/String;)V
.registers 4
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/c/S;->d:Lcom/sandboxol/greendao/entity/JoinGameListWithGamesDao;
invoke-virtual {v0}, Lorg/greenrobot/greendao/a;->queryBuilder()Lorg/greenrobot/greendao/d/i;
move-result-object v0
sget-object v1, Lcom/sandboxol/greendao/entity/JoinGameListWithGamesDao$Properties;->GameListType:Lorg/greenrobot/greendao/f;
.line 2
invoke-virtual {v1, p1}, Lorg/greenrobot/greendao/f;->a(Ljava/lang/Object;)Lorg/greenrobot/greendao/d/k;
move-result-object p1
const/4 v1, 0x0
new-array v1, v1, [Lorg/greenrobot/greendao/d/k;
invoke-virtual {v0, p1, v1}, Lorg/greenrobot/greendao/d/i;->a(Lorg/greenrobot/greendao/d/k;[Lorg/greenrobot/greendao/d/k;)Lorg/greenrobot/greendao/d/i;
.line 3
invoke-virtual {v0}, Lorg/greenrobot/greendao/d/i;->b()Lorg/greenrobot/greendao/d/e;
move-result-object p1
.line 4
invoke-virtual {p1}, Lorg/greenrobot/greendao/d/e;->b()V
return-void
.end method
.method public d()V
.registers 2
.line 1
new-instance v0, Lcom/sandboxol/greendao/c/i;
invoke-direct {v0, p0}, Lcom/sandboxol/greendao/c/i;-><init>(Lcom/sandboxol/greendao/c/S;)V
invoke-virtual {p0, v0}, Lcom/sandboxol/greendao/c/y;->post(Ljava/lang/Runnable;)V
return-void
.end method
.method public synthetic e()V
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/c/S;->d:Lcom/sandboxol/greendao/entity/JoinGameListWithGamesDao;
invoke-virtual {v0}, Lorg/greenrobot/greendao/a;->deleteAll()V
return-void
.end method
.method protected getDao()Lcom/sandboxol/greendao/entity/GameDao;
.registers 2
.line 2
invoke-super {p0}, Lcom/sandboxol/greendao/c/y;->getDao()Lorg/greenrobot/greendao/a;
move-result-object v0
check-cast v0, Lcom/sandboxol/greendao/entity/GameDao;
return-object v0
.end method
.method protected bridge synthetic getDao()Lorg/greenrobot/greendao/a;
.registers 2
.line 1
invoke-virtual {p0}, Lcom/sandboxol/greendao/c/S;->getDao()Lcom/sandboxol/greendao/entity/GameDao;
move-result-object v0
return-object v0
.end method
.method protected init(Lcom/sandboxol/greendao/entity/DaoSession;)Lorg/greenrobot/greendao/a;
.registers 3
.line 1
iput-object p1, p0, Lcom/sandboxol/greendao/c/S;->c:Lcom/sandboxol/greendao/entity/DaoSession;
.line 2
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/DaoSession;->getJoinGameListWithGamesDao()Lcom/sandboxol/greendao/entity/JoinGameListWithGamesDao;
move-result-object v0
iput-object v0, p0, Lcom/sandboxol/greendao/c/S;->d:Lcom/sandboxol/greendao/entity/JoinGameListWithGamesDao;
.line 3
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/DaoSession;->getGameDao()Lcom/sandboxol/greendao/entity/GameDao;
move-result-object p1
return-object p1
.end method