ChestExchangeResponse.smali
.class public final Lcom/sandboxol/halloween/entity/ChestExchangeResponse;
.super Ljava/lang/Object;
.source "ChestExchangeResponse.kt"
# instance fields
.field private final coin:I
.field private final needUpdate:I
.field private final rewardList:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/sandboxol/halloween/entity/Reward;",
">;"
}
.end annotation
.end field
.field private final surplusKey:I
# direct methods
.method public constructor <init>(ILjava/util/List;II)V
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List<",
"Lcom/sandboxol/halloween/entity/Reward;",
">;II)V"
}
.end annotation
const-string v0, "rewardList"
invoke-static {p2, v0}, Lkotlin/jvm/internal/i;->c(Ljava/lang/Object;Ljava/lang/String;)V
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->coin:I
iput-object p2, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->rewardList:Ljava/util/List;
iput p3, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->surplusKey:I
iput p4, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->needUpdate:I
return-void
.end method
.method public static synthetic copy$default(Lcom/sandboxol/halloween/entity/ChestExchangeResponse;ILjava/util/List;IIILjava/lang/Object;)Lcom/sandboxol/halloween/entity/ChestExchangeResponse;
.registers 7
and-int/lit8 p6, p5, 0x1
if-eqz p6, :cond_6
iget p1, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->coin:I
:cond_6
and-int/lit8 p6, p5, 0x2
if-eqz p6, :cond_c
iget-object p2, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->rewardList:Ljava/util/List;
:cond_c
and-int/lit8 p6, p5, 0x4
if-eqz p6, :cond_12
iget p3, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->surplusKey:I
:cond_12
and-int/lit8 p5, p5, 0x8
if-eqz p5, :cond_18
iget p4, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->needUpdate:I
:cond_18
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->copy(ILjava/util/List;II)Lcom/sandboxol/halloween/entity/ChestExchangeResponse;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final component1()I
.registers 2
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->coin:I
return v0
.end method
.method public final component2()Ljava/util/List;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/sandboxol/halloween/entity/Reward;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->rewardList:Ljava/util/List;
return-object v0
.end method
.method public final component3()I
.registers 2
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->surplusKey:I
return v0
.end method
.method public final component4()I
.registers 2
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->needUpdate:I
return v0
.end method
.method public final copy(ILjava/util/List;II)Lcom/sandboxol/halloween/entity/ChestExchangeResponse;
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List<",
"Lcom/sandboxol/halloween/entity/Reward;",
">;II)",
"Lcom/sandboxol/halloween/entity/ChestExchangeResponse;"
}
.end annotation
const-string v0, "rewardList"
invoke-static {p2, v0}, Lkotlin/jvm/internal/i;->c(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;
invoke-direct {v0, p1, p2, p3, p4}, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;-><init>(ILjava/util/List;II)V
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.registers 4
if-eq p0, p1, :cond_27
instance-of v0, p1, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;
if-eqz v0, :cond_25
check-cast p1, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->coin:I
iget v1, p1, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->coin:I
if-ne v0, v1, :cond_25
iget-object v0, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->rewardList:Ljava/util/List;
iget-object v1, p1, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->rewardList:Ljava/util/List;
invoke-static {v0, v1}, Lkotlin/jvm/internal/i;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_25
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->surplusKey:I
iget v1, p1, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->surplusKey:I
if-ne v0, v1, :cond_25
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->needUpdate:I
iget p1, p1, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->needUpdate:I
if-ne v0, p1, :cond_25
goto :goto_27
:cond_25
const/4 p1, 0x0
return p1
:cond_27
:goto_27
const/4 p1, 0x1
return p1
.end method
.method public final getCoin()I
.registers 2
.line 1
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->coin:I
return v0
.end method
.method public final getNeedUpdate()I
.registers 2
.line 1
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->needUpdate:I
return v0
.end method
.method public final getRewardList()Ljava/util/List;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/sandboxol/halloween/entity/Reward;",
">;"
}
.end annotation
.line 1
iget-object v0, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->rewardList:Ljava/util/List;
return-object v0
.end method
.method public final getSurplusKey()I
.registers 2
.line 1
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->surplusKey:I
return v0
.end method
.method public hashCode()I
.registers 3
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->coin:I
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->rewardList:Ljava/util/List;
if-eqz v1, :cond_d
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
goto :goto_e
:cond_d
const/4 v1, 0x0
:goto_e
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget v1, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->surplusKey:I
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget v1, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->needUpdate:I
add-int/2addr v0, v1
return v0
.end method
.method public toString()Ljava/lang/String;
.registers 3
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "ChestExchangeResponse(coin="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v1, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->coin:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", rewardList="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->rewardList:Ljava/util/List;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", surplusKey="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v1, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->surplusKey:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", needUpdate="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v1, p0, Lcom/sandboxol/halloween/entity/ChestExchangeResponse;->needUpdate:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ")"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method