2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "ChannelListItemVoiceChannel.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lcom/discord/widgets/channels/list/items/ChannelListItem;
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.field public final guildVideoUserLimit:Ljava/lang/Integer;
|
|
|
|
|
|
|
|
.field public final isAnyoneUsingVideo:Z
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
.field public final isLocked:Z
|
|
|
|
|
|
|
|
.field public final numUsersConnected:I
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
.field public final permission:Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
.field public final selected:Z
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-07-25 00:57:58 +00:00
|
|
|
.method public constructor <init>(Lcom/discord/models/domain/ModelChannel;ZLjava/lang/Long;IZZLjava/lang/Integer;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 1
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "channel"
|
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {p1, v0}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
|
|
|
iput-boolean p2, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->selected:Z
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
iput-object p3, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->permission:Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iput p4, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->numUsersConnected:I
|
|
|
|
|
|
|
|
iput-boolean p5, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isLocked:Z
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput-boolean p6, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isAnyoneUsingVideo:Z
|
|
|
|
|
|
|
|
iput-object p7, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->guildVideoUserLimit:Ljava/lang/Integer;
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
.method public static synthetic copy$default(Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;Lcom/discord/models/domain/ModelChannel;ZLjava/lang/Long;IZZLjava/lang/Integer;ILjava/lang/Object;)Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
and-int/lit8 p9, p8, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
if-eqz p9, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
|
|
|
:cond_0
|
2020-07-08 16:44:49 +00:00
|
|
|
and-int/lit8 p9, p8, 0x2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
if-eqz p9, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget-boolean p2, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->selected:Z
|
|
|
|
|
|
|
|
:cond_1
|
2020-07-08 16:44:49 +00:00
|
|
|
move p9, p2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
and-int/lit8 p2, p8, 0x4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
iget-object p3, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->permission:Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-object v0, p3
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
and-int/lit8 p2, p8, 0x8
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
|
|
|
|
iget p4, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->numUsersConnected:I
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move v1, p4
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
and-int/lit8 p2, p8, 0x10
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
|
|
|
|
iget-boolean p5, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isLocked:Z
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
move v2, p5
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
and-int/lit8 p2, p8, 0x20
|
|
|
|
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
|
|
|
|
iget-boolean p6, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isAnyoneUsingVideo:Z
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
move v3, p6
|
|
|
|
|
|
|
|
and-int/lit8 p2, p8, 0x40
|
|
|
|
|
|
|
|
if-eqz p2, :cond_6
|
|
|
|
|
|
|
|
iget-object p7, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->guildVideoUserLimit:Ljava/lang/Integer;
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
move-object v4, p7
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
move-object p2, p0
|
|
|
|
|
|
|
|
move-object p3, p1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move p4, p9
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-object p5, v0
|
|
|
|
|
|
|
|
move p6, v1
|
|
|
|
|
|
|
|
move p7, v2
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move p8, v3
|
|
|
|
|
|
|
|
move-object p9, v4
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-virtual/range {p2 .. p9}, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->copy(Lcom/discord/models/domain/ModelChannel;ZLjava/lang/Long;IZZLjava/lang/Integer;)Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final component1()Lcom/discord/models/domain/ModelChannel;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final component2()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->selected:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
.method public final component3()Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->permission:Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final component4()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->numUsersConnected:I
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final component5()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isLocked:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public final component6()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isAnyoneUsingVideo:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final component7()Ljava/lang/Integer;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->guildVideoUserLimit:Ljava/lang/Integer;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
.method public final copy(Lcom/discord/models/domain/ModelChannel;ZLjava/lang/Long;IZZLjava/lang/Integer;)Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 9
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "channel"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object v2, p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {p1, v0}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object v1, v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move v3, p2
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object v4, p3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move v5, p4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move v6, p5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move v7, p6
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v8, p7
|
2020-09-08 08:16:32 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct/range {v1 .. v8}, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;-><init>(Lcom/discord/models/domain/ModelChannel;ZLjava/lang/Long;IZZLjava/lang/Integer;)V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
return-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
|
|
|
|
instance-of v0, p1, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v0, v1}, Lb0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->selected:Z
|
|
|
|
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->selected:Z
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->permission:Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
iget-object v1, p1, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->permission:Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v0, v1}, Lb0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->numUsersConnected:I
|
|
|
|
|
|
|
|
iget v1, p1, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->numUsersConnected:I
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isLocked:Z
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isLocked:Z
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isAnyoneUsingVideo:Z
|
|
|
|
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isAnyoneUsingVideo:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->guildVideoUserLimit:Ljava/lang/Integer;
|
|
|
|
|
|
|
|
iget-object p1, p1, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->guildVideoUserLimit:Ljava/lang/Integer;
|
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v0, p1}, Lb0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
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 getChannel()Lcom/discord/models/domain/ModelChannel;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public final getGuildVideoUserLimit()Ljava/lang/Integer;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->guildVideoUserLimit:Ljava/lang/Integer;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
.method public getKey()Ljava/lang/String;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->getType()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
|
|
|
|
|
|
|
move-result-wide v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getNumUsersConnected()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->numUsersConnected:I
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
.method public final getPermission()Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->permission:Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getSelected()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->selected:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getType()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public hashCode()I
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->hashCode()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
|
|
|
|
iget-boolean v2, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->selected:Z
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
add-int/2addr v0, v2
|
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
iget-object v2, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->permission:Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result v2
|
|
|
|
|
|
|
|
goto :goto_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_2
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
add-int/2addr v0, v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget v2, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->numUsersConnected:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
add-int/2addr v0, v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-boolean v2, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isLocked:Z
|
|
|
|
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
add-int/2addr v0, v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-boolean v2, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isAnyoneUsingVideo:Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
if-eqz v2, :cond_4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
goto :goto_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:cond_4
|
|
|
|
move v3, v2
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
add-int/2addr v0, v3
|
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->guildVideoUserLimit:Ljava/lang/Integer;
|
|
|
|
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
:cond_5
|
2020-05-17 12:40:10 +00:00
|
|
|
add-int/2addr v0, v1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public final isAnyoneUsingVideo()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isAnyoneUsingVideo:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
.method public final isLocked()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isLocked:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public toString()Ljava/lang/String;
|
2020-10-03 03:03:24 +00:00
|
|
|
.locals 3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const-string v0, "ChannelListItemVoiceChannel(channel="
|
|
|
|
|
2020-10-03 03:03:24 +00:00
|
|
|
invoke-static {v0}, Lf/e/c/a/a;->F(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", selected="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->selected:Z
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", permission="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->permission:Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", numUsersConnected="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget v1, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->numUsersConnected:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", isLocked="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isLocked:Z
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", isAnyoneUsingVideo="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->isAnyoneUsingVideo:Z
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", guildVideoUserLimit="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceChannel;->guildVideoUserLimit:Ljava/lang/Integer;
|
|
|
|
|
2020-10-03 03:03:24 +00:00
|
|
|
const-string v2, ")"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-10-03 03:03:24 +00:00
|
|
|
invoke-static {v0, v1, v2}, Lf/e/c/a/a;->v(Ljava/lang/StringBuilder;Ljava/lang/Integer;Ljava/lang/String;)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|