ChestTaskRewardResponse.smali
.class public final Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;
.super Ljava/lang/Object;
.source "ChestTaskRewardResponse.kt"
# instance fields
.field private final acquireCoin:I
.field private final userCoin:I
# direct methods
.method public constructor <init>(II)V
.registers 3
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->acquireCoin:I
iput p2, p0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->userCoin:I
return-void
.end method
.method public static synthetic copy$default(Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;IIILjava/lang/Object;)Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;
.registers 5
and-int/lit8 p4, p3, 0x1
if-eqz p4, :cond_6
iget p1, p0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->acquireCoin:I
:cond_6
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_c
iget p2, p0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->userCoin:I
:cond_c
invoke-virtual {p0, p1, p2}, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->copy(II)Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;
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/ChestTaskRewardResponse;->acquireCoin:I
return v0
.end method
.method public final component2()I
.registers 2
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->userCoin:I
return v0
.end method
.method public final copy(II)Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;
.registers 4
new-instance v0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;
invoke-direct {v0, p1, p2}, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;-><init>(II)V
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.registers 4
if-eq p0, p1, :cond_17
instance-of v0, p1, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;
if-eqz v0, :cond_15
check-cast p1, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->acquireCoin:I
iget v1, p1, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->acquireCoin:I
if-ne v0, v1, :cond_15
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->userCoin:I
iget p1, p1, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->userCoin:I
if-ne v0, p1, :cond_15
goto :goto_17
:cond_15
const/4 p1, 0x0
return p1
:cond_17
:goto_17
const/4 p1, 0x1
return p1
.end method
.method public final getAcquireCoin()I
.registers 2
.line 1
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->acquireCoin:I
return v0
.end method
.method public final getUserCoin()I
.registers 2
.line 1
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->userCoin:I
return v0
.end method
.method public hashCode()I
.registers 3
iget v0, p0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->acquireCoin:I
mul-int/lit8 v0, v0, 0x1f
iget v1, p0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->userCoin: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, "ChestTaskRewardResponse(acquireCoin="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v1, p0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->acquireCoin:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", userCoin="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget v1, p0, Lcom/sandboxol/halloween/entity/ChestTaskRewardResponse;->userCoin: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