854 lines
21 KiB
Smali
854 lines
21 KiB
Smali
.class public final Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;
|
|
.super Lcom/discord/widgets/guilds/list/GuildListItem;
|
|
.source "GuildListItem.kt"
|
|
|
|
# interfaces
|
|
.implements Lcom/discord/widgets/channels/list/WidgetChannelListUnreads$UnreadItem;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/guilds/list/GuildListItem;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "GuildItem"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final folderId:Ljava/lang/Long;
|
|
|
|
.field public final guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
.field public final hasOngoingApplicationStream:Z
|
|
|
|
.field public final isConnectedToVoice:Z
|
|
|
|
.field public final isLastGuildInFolder:Ljava/lang/Boolean;
|
|
|
|
.field public final isLurkingGuild:Z
|
|
|
|
.field public final isSelected:Z
|
|
|
|
.field public final isTargetedForFolderCreation:Z
|
|
|
|
.field public final isUnread:Z
|
|
|
|
.field public final mentionCount:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/models/domain/ModelGuild;IZZZLjava/lang/Long;ZZZLjava/lang/Boolean;)V
|
|
.locals 3
|
|
|
|
const-string v0, "guild"
|
|
|
|
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->getId()J
|
|
|
|
move-result-wide v0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {p0, v0, v1, v2}, Lcom/discord/widgets/guilds/list/GuildListItem;-><init>(JLkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
iput p2, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->mentionCount:I
|
|
|
|
iput-boolean p3, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLurkingGuild:Z
|
|
|
|
iput-boolean p4, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isUnread:Z
|
|
|
|
iput-boolean p5, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isSelected:Z
|
|
|
|
iput-object p6, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->folderId:Ljava/lang/Long;
|
|
|
|
iput-boolean p7, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isConnectedToVoice:Z
|
|
|
|
iput-boolean p8, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->hasOngoingApplicationStream:Z
|
|
|
|
iput-boolean p9, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isTargetedForFolderCreation:Z
|
|
|
|
iput-object p10, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLastGuildInFolder:Ljava/lang/Boolean;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lcom/discord/models/domain/ModelGuild;IZZZLjava/lang/Long;ZZZLjava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 14
|
|
|
|
move/from16 v0, p11
|
|
|
|
and-int/lit8 v1, v0, 0x40
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v10, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move/from16 v10, p7
|
|
|
|
:goto_0
|
|
and-int/lit16 v1, v0, 0x80
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
const/4 v11, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move/from16 v11, p8
|
|
|
|
:goto_1
|
|
and-int/lit16 v1, v0, 0x100
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
const/4 v12, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move/from16 v12, p9
|
|
|
|
:goto_2
|
|
and-int/lit16 v0, v0, 0x200
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
move-object v13, v0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move-object/from16 v13, p10
|
|
|
|
:goto_3
|
|
move-object v3, p0
|
|
|
|
move-object v4, p1
|
|
|
|
move/from16 v5, p2
|
|
|
|
move/from16 v6, p3
|
|
|
|
move/from16 v7, p4
|
|
|
|
move/from16 v8, p5
|
|
|
|
move-object/from16 v9, p6
|
|
|
|
invoke-direct/range {v3 .. v13}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;-><init>(Lcom/discord/models/domain/ModelGuild;IZZZLjava/lang/Long;ZZZLjava/lang/Boolean;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;Lcom/discord/models/domain/ModelGuild;IZZZLjava/lang/Long;ZZZLjava/lang/Boolean;ILjava/lang/Object;)Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;
|
|
.locals 11
|
|
|
|
move-object v0, p0
|
|
|
|
move/from16 v1, p11
|
|
|
|
and-int/lit8 v2, v1, 0x1
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
iget-object v2, v0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v2, p1
|
|
|
|
:goto_0
|
|
and-int/lit8 v3, v1, 0x2
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->getMentionCount()I
|
|
|
|
move-result v3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v3, p2
|
|
|
|
:goto_1
|
|
and-int/lit8 v4, v1, 0x4
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
iget-boolean v4, v0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLurkingGuild:Z
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move v4, p3
|
|
|
|
:goto_2
|
|
and-int/lit8 v5, v1, 0x8
|
|
|
|
if-eqz v5, :cond_3
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isUnread()Z
|
|
|
|
move-result v5
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move v5, p4
|
|
|
|
:goto_3
|
|
and-int/lit8 v6, v1, 0x10
|
|
|
|
if-eqz v6, :cond_4
|
|
|
|
iget-boolean v6, v0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isSelected:Z
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
move/from16 v6, p5
|
|
|
|
:goto_4
|
|
and-int/lit8 v7, v1, 0x20
|
|
|
|
if-eqz v7, :cond_5
|
|
|
|
iget-object v7, v0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->folderId:Ljava/lang/Long;
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
move-object/from16 v7, p6
|
|
|
|
:goto_5
|
|
and-int/lit8 v8, v1, 0x40
|
|
|
|
if-eqz v8, :cond_6
|
|
|
|
iget-boolean v8, v0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isConnectedToVoice:Z
|
|
|
|
goto :goto_6
|
|
|
|
:cond_6
|
|
move/from16 v8, p7
|
|
|
|
:goto_6
|
|
and-int/lit16 v9, v1, 0x80
|
|
|
|
if-eqz v9, :cond_7
|
|
|
|
iget-boolean v9, v0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->hasOngoingApplicationStream:Z
|
|
|
|
goto :goto_7
|
|
|
|
:cond_7
|
|
move/from16 v9, p8
|
|
|
|
:goto_7
|
|
and-int/lit16 v10, v1, 0x100
|
|
|
|
if-eqz v10, :cond_8
|
|
|
|
iget-boolean v10, v0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isTargetedForFolderCreation:Z
|
|
|
|
goto :goto_8
|
|
|
|
:cond_8
|
|
move/from16 v10, p9
|
|
|
|
:goto_8
|
|
and-int/lit16 v1, v1, 0x200
|
|
|
|
if-eqz v1, :cond_9
|
|
|
|
iget-object v1, v0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLastGuildInFolder:Ljava/lang/Boolean;
|
|
|
|
goto :goto_9
|
|
|
|
:cond_9
|
|
move-object/from16 v1, p10
|
|
|
|
:goto_9
|
|
move-object p1, v2
|
|
|
|
move p2, v3
|
|
|
|
move p3, v4
|
|
|
|
move p4, v5
|
|
|
|
move/from16 p5, v6
|
|
|
|
move-object/from16 p6, v7
|
|
|
|
move/from16 p7, v8
|
|
|
|
move/from16 p8, v9
|
|
|
|
move/from16 p9, v10
|
|
|
|
move-object/from16 p10, v1
|
|
|
|
invoke-virtual/range {p0 .. p10}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->copy(Lcom/discord/models/domain/ModelGuild;IZZZLjava/lang/Long;ZZZLjava/lang/Boolean;)Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()Lcom/discord/models/domain/ModelGuild;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component10()Ljava/lang/Boolean;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLastGuildInFolder:Ljava/lang/Boolean;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component2()I
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->getMentionCount()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component3()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLurkingGuild:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component4()Z
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isUnread()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component5()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isSelected:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component6()Ljava/lang/Long;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->folderId:Ljava/lang/Long;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component7()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isConnectedToVoice:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component8()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->hasOngoingApplicationStream:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component9()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isTargetedForFolderCreation:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final copy(Lcom/discord/models/domain/ModelGuild;IZZZLjava/lang/Long;ZZZLjava/lang/Boolean;)Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;
|
|
.locals 12
|
|
|
|
const-string v0, "guild"
|
|
|
|
move-object v2, p1
|
|
|
|
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;
|
|
|
|
move-object v1, v0
|
|
|
|
move v3, p2
|
|
|
|
move v4, p3
|
|
|
|
move/from16 v5, p4
|
|
|
|
move/from16 v6, p5
|
|
|
|
move-object/from16 v7, p6
|
|
|
|
move/from16 v8, p7
|
|
|
|
move/from16 v9, p8
|
|
|
|
move/from16 v10, p9
|
|
|
|
move-object/from16 v11, p10
|
|
|
|
invoke-direct/range {v1 .. v11}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;-><init>(Lcom/discord/models/domain/ModelGuild;IZZZLjava/lang/Long;ZZZLjava/lang/Boolean;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
instance-of v0, p1, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->getMentionCount()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->getMentionCount()I
|
|
|
|
move-result v1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLurkingGuild:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLurkingGuild:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isUnread()Z
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isUnread()Z
|
|
|
|
move-result v1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isSelected:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isSelected:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->folderId:Ljava/lang/Long;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->folderId:Ljava/lang/Long;
|
|
|
|
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isConnectedToVoice:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isConnectedToVoice:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->hasOngoingApplicationStream:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->hasOngoingApplicationStream:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isTargetedForFolderCreation:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isTargetedForFolderCreation:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLastGuildInFolder:Ljava/lang/Boolean;
|
|
|
|
iget-object p1, p1, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLastGuildInFolder:Ljava/lang/Boolean;
|
|
|
|
invoke-static {v0, p1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz 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 getFolderId()Ljava/lang/Long;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->folderId:Ljava/lang/Long;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getGuild()Lcom/discord/models/domain/ModelGuild;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getHasOngoingApplicationStream()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->hasOngoingApplicationStream:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getMentionCount()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->mentionCount:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelGuild;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->getMentionCount()I
|
|
|
|
move-result v2
|
|
|
|
add-int/2addr v2, v0
|
|
|
|
mul-int/lit8 v2, v2, 0x1f
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLurkingGuild:Z
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:cond_1
|
|
add-int/2addr v2, v0
|
|
|
|
mul-int/lit8 v2, v2, 0x1f
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isUnread()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:cond_2
|
|
add-int/2addr v2, v0
|
|
|
|
mul-int/lit8 v2, v2, 0x1f
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isSelected:Z
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:cond_3
|
|
add-int/2addr v2, v0
|
|
|
|
mul-int/lit8 v2, v2, 0x1f
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->folderId:Ljava/lang/Long;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
const/4 v0, 0x0
|
|
|
|
:goto_1
|
|
add-int/2addr v2, v0
|
|
|
|
mul-int/lit8 v2, v2, 0x1f
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isConnectedToVoice:Z
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:cond_5
|
|
add-int/2addr v2, v0
|
|
|
|
mul-int/lit8 v2, v2, 0x1f
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->hasOngoingApplicationStream:Z
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:cond_6
|
|
add-int/2addr v2, v0
|
|
|
|
mul-int/lit8 v2, v2, 0x1f
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isTargetedForFolderCreation:Z
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
goto :goto_2
|
|
|
|
:cond_7
|
|
move v3, v0
|
|
|
|
:goto_2
|
|
add-int/2addr v2, v3
|
|
|
|
mul-int/lit8 v2, v2, 0x1f
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLastGuildInFolder:Ljava/lang/Boolean;
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
:cond_8
|
|
add-int/2addr v2, v1
|
|
|
|
return v2
|
|
.end method
|
|
|
|
.method public final isConnectedToVoice()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isConnectedToVoice:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final isLastGuildInFolder()Ljava/lang/Boolean;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLastGuildInFolder:Ljava/lang/Boolean;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final isLurkingGuild()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLurkingGuild:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final isSelected()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isSelected:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final isTargetedForFolderCreation()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isTargetedForFolderCreation:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public isUnread()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isUnread:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const-string v0, "GuildItem(guild="
|
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->guild:Lcom/discord/models/domain/ModelGuild;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", mentionCount="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->getMentionCount()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", isLurkingGuild="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLurkingGuild:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", isUnread="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isUnread()Z
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", isSelected="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isSelected:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", folderId="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->folderId:Ljava/lang/Long;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", isConnectedToVoice="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isConnectedToVoice:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", hasOngoingApplicationStream="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->hasOngoingApplicationStream:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", isTargetedForFolderCreation="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isTargetedForFolderCreation:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", isLastGuildInFolder="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/guilds/list/GuildListItem$GuildItem;->isLastGuildInFolder:Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)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
|