2020-09-16 23:45:23 +00:00
|
|
|
.class public final Lcom/discord/widgets/status/WidgetChatStatus$Model;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "WidgetChatStatus.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/widgets/status/WidgetChatStatus;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "Model"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lcom/discord/widgets/status/WidgetChatStatus$Model$Companion;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final Companion:Lcom/discord/widgets/status/WidgetChatStatus$Model$Companion;
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final isUnreadEstimate:Z
|
|
|
|
|
|
|
|
.field public final unreadChannelId:J
|
|
|
|
|
|
|
|
.field public final unreadCount:I
|
|
|
|
|
|
|
|
.field public final unreadMessageId:J
|
|
|
|
|
|
|
|
.field public final unreadVisible:Z
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/status/WidgetChatStatus$Model$Companion;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/status/WidgetChatStatus$Model$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->Companion:Lcom/discord/widgets/status/WidgetChatStatus$Model$Companion;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(ZJJIZ)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadVisible:Z
|
|
|
|
|
|
|
|
iput-wide p2, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadMessageId:J
|
|
|
|
|
|
|
|
iput-wide p4, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadChannelId:J
|
|
|
|
|
|
|
|
iput p6, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadCount:I
|
|
|
|
|
|
|
|
iput-boolean p7, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->isUnreadEstimate:Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/widgets/status/WidgetChatStatus$Model;ZJJIZILjava/lang/Object;)Lcom/discord/widgets/status/WidgetChatStatus$Model;
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
and-int/lit8 p9, p8, 0x1
|
|
|
|
|
|
|
|
if-eqz p9, :cond_0
|
|
|
|
|
|
|
|
iget-boolean p1, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadVisible:Z
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p9, p8, 0x2
|
|
|
|
|
|
|
|
if-eqz p9, :cond_1
|
|
|
|
|
|
|
|
iget-wide p2, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadMessageId:J
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-wide v0, p2
|
|
|
|
|
|
|
|
and-int/lit8 p2, p8, 0x4
|
|
|
|
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
|
|
|
|
iget-wide p4, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadChannelId:J
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-wide v2, p4
|
|
|
|
|
|
|
|
and-int/lit8 p2, p8, 0x8
|
|
|
|
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
|
|
|
|
iget p6, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadCount:I
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move p9, p6
|
|
|
|
|
|
|
|
and-int/lit8 p2, p8, 0x10
|
|
|
|
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
|
|
|
|
iget-boolean p7, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->isUnreadEstimate:Z
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
move v4, p7
|
|
|
|
|
|
|
|
move-object p2, p0
|
|
|
|
|
|
|
|
move p3, p1
|
|
|
|
|
|
|
|
move-wide p4, v0
|
|
|
|
|
|
|
|
move-wide p6, v2
|
|
|
|
|
|
|
|
move p8, p9
|
|
|
|
|
|
|
|
move p9, v4
|
|
|
|
|
|
|
|
invoke-virtual/range {p2 .. p9}, Lcom/discord/widgets/status/WidgetChatStatus$Model;->copy(ZJJIZ)Lcom/discord/widgets/status/WidgetChatStatus$Model;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final component1()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadVisible:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final component2()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadMessageId:J
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final component3()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadChannelId:J
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final component4()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadCount:I
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final component5()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->isUnreadEstimate:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final copy(ZJJIZ)Lcom/discord/widgets/status/WidgetChatStatus$Model;
|
|
|
|
.locals 9
|
|
|
|
|
|
|
|
new-instance v8, Lcom/discord/widgets/status/WidgetChatStatus$Model;
|
|
|
|
|
|
|
|
move-object v0, v8
|
|
|
|
|
|
|
|
move v1, p1
|
|
|
|
|
|
|
|
move-wide v2, p2
|
|
|
|
|
|
|
|
move-wide v4, p4
|
|
|
|
|
|
|
|
move v6, p6
|
|
|
|
|
|
|
|
move/from16 v7, p7
|
|
|
|
|
|
|
|
invoke-direct/range {v0 .. v7}, Lcom/discord/widgets/status/WidgetChatStatus$Model;-><init>(ZJJIZ)V
|
|
|
|
|
|
|
|
return-object v8
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
|
|
|
|
instance-of v0, p1, Lcom/discord/widgets/status/WidgetChatStatus$Model;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/widgets/status/WidgetChatStatus$Model;
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadVisible:Z
|
|
|
|
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadVisible:Z
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadMessageId:J
|
|
|
|
|
|
|
|
iget-wide v2, p1, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadMessageId:J
|
|
|
|
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadChannelId:J
|
|
|
|
|
|
|
|
iget-wide v2, p1, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadChannelId:J
|
|
|
|
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadCount:I
|
|
|
|
|
|
|
|
iget v1, p1, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadCount:I
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->isUnreadEstimate:Z
|
|
|
|
|
|
|
|
iget-boolean p1, p1, Lcom/discord/widgets/status/WidgetChatStatus$Model;->isUnreadEstimate:Z
|
|
|
|
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getUnreadChannelId()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadChannelId:J
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getUnreadCount()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadCount:I
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getUnreadMessageId()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadMessageId:J
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getUnreadVisible()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadVisible:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public hashCode()I
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadVisible:Z
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
|
|
|
|
iget-wide v2, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadMessageId:J
|
|
|
|
|
|
|
|
invoke-static {v2, v3}, Ld;->a(J)I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
add-int/2addr v0, v2
|
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
|
|
|
|
iget-wide v2, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadChannelId:J
|
|
|
|
|
|
|
|
invoke-static {v2, v3}, Ld;->a(J)I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
add-int/2addr v0, v2
|
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
|
|
|
|
iget v2, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadCount:I
|
|
|
|
|
|
|
|
add-int/2addr v0, v2
|
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
|
|
|
|
iget-boolean v2, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->isUnreadEstimate:Z
|
|
|
|
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move v1, v2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final isUnreadEstimate()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->isUnreadEstimate:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const-string v0, "Model(unreadVisible="
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadVisible:Z
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", unreadMessageId="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-wide v1, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadMessageId:J
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", unreadChannelId="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-wide v1, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadChannelId:J
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", unreadCount="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget v1, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->unreadCount:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", isUnreadEstimate="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/status/WidgetChatStatus$Model;->isUnreadEstimate:Z
|
|
|
|
|
|
|
|
const-string v2, ")"
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {v0, v1, v2}, Lf/e/c/a/a;->A(Ljava/lang/StringBuilder;ZLjava/lang/String;)Ljava/lang/String;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|