1360 lines
44 KiB
Smali
1360 lines
44 KiB
Smali
.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;
|
|
.super Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
|
|
.source "WidgetUserSheetViewModel.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Loaded"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final adminViewState:Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;
|
|
|
|
.field public final channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
.field public final channelVoiceState:Lcom/discord/models/domain/ModelVoice$State;
|
|
|
|
.field public final connectionsViewState:Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;
|
|
|
|
.field public final guildName:Ljava/lang/String;
|
|
|
|
.field public final guildSectionHeaderText:Ljava/lang/String;
|
|
|
|
.field public final isMe:Z
|
|
|
|
.field public final richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
|
|
|
|
.field public final roleItems:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/models/domain/ModelGuildRole;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final showVoiceSettings:Z
|
|
|
|
.field public final streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
.field public final user:Lcom/discord/models/domain/ModelUser;
|
|
|
|
.field public final userNote:Ljava/lang/CharSequence;
|
|
|
|
.field public final userRelationshipType:I
|
|
|
|
.field public final voiceSettingsViewState:Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/models/domain/ModelUser;ZZLcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;Lcom/discord/models/domain/ModelVoice$State;Lcom/discord/widgets/user/presence/ModelRichPresence;Ljava/lang/String;Ljava/util/List;Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;Lcom/discord/models/domain/ModelChannel;Lcom/discord/utilities/streams/StreamContext;Ljava/lang/String;ILcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;Ljava/lang/CharSequence;)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/models/domain/ModelUser;",
|
|
"ZZ",
|
|
"Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;",
|
|
"Lcom/discord/models/domain/ModelVoice$State;",
|
|
"Lcom/discord/widgets/user/presence/ModelRichPresence;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Lcom/discord/models/domain/ModelGuildRole;",
|
|
">;",
|
|
"Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
"Lcom/discord/utilities/streams/StreamContext;",
|
|
"Ljava/lang/String;",
|
|
"I",
|
|
"Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;",
|
|
"Ljava/lang/CharSequence;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move-object v2, p4
|
|
|
|
move-object v3, p8
|
|
|
|
move-object/from16 v4, p14
|
|
|
|
move-object/from16 v5, p15
|
|
|
|
const/4 v6, 0x0
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
invoke-direct {p0, v6}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
iput-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->user:Lcom/discord/models/domain/ModelUser;
|
|
|
|
move v1, p2
|
|
|
|
iput-boolean v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->isMe:Z
|
|
|
|
move v1, p3
|
|
|
|
iput-boolean v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->showVoiceSettings:Z
|
|
|
|
iput-object v2, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->voiceSettingsViewState:Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;
|
|
|
|
move-object v1, p5
|
|
|
|
iput-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channelVoiceState:Lcom/discord/models/domain/ModelVoice$State;
|
|
|
|
move-object v1, p6
|
|
|
|
iput-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
|
|
|
|
move-object v1, p7
|
|
|
|
iput-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildSectionHeaderText:Ljava/lang/String;
|
|
|
|
iput-object v3, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->roleItems:Ljava/util/List;
|
|
|
|
move-object/from16 v1, p9
|
|
|
|
iput-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->adminViewState:Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;
|
|
|
|
move-object/from16 v1, p10
|
|
|
|
iput-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
move-object/from16 v1, p11
|
|
|
|
iput-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
move-object/from16 v1, p12
|
|
|
|
iput-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildName:Ljava/lang/String;
|
|
|
|
move/from16 v1, p13
|
|
|
|
iput v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userRelationshipType:I
|
|
|
|
iput-object v4, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->connectionsViewState:Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;
|
|
|
|
iput-object v5, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userNote:Ljava/lang/CharSequence;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string v1, "userNote"
|
|
|
|
invoke-static {v1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v6
|
|
|
|
:cond_1
|
|
const-string v1, "connectionsViewState"
|
|
|
|
invoke-static {v1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v6
|
|
|
|
:cond_2
|
|
const-string v1, "roleItems"
|
|
|
|
invoke-static {v1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v6
|
|
|
|
:cond_3
|
|
const-string v1, "voiceSettingsViewState"
|
|
|
|
invoke-static {v1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v6
|
|
|
|
:cond_4
|
|
const-string v1, "user"
|
|
|
|
invoke-static {v1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v6
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;Lcom/discord/models/domain/ModelUser;ZZLcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;Lcom/discord/models/domain/ModelVoice$State;Lcom/discord/widgets/user/presence/ModelRichPresence;Ljava/lang/String;Ljava/util/List;Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;Lcom/discord/models/domain/ModelChannel;Lcom/discord/utilities/streams/StreamContext;Ljava/lang/String;ILcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;Ljava/lang/CharSequence;ILjava/lang/Object;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;
|
|
.locals 16
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move/from16 v1, p16
|
|
|
|
and-int/lit8 v2, v1, 0x1
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
iget-object v2, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->user:Lcom/discord/models/domain/ModelUser;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object/from16 v2, p1
|
|
|
|
:goto_0
|
|
and-int/lit8 v3, v1, 0x2
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
iget-boolean v3, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->isMe:Z
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move/from16 v3, p2
|
|
|
|
:goto_1
|
|
and-int/lit8 v4, v1, 0x4
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
iget-boolean v4, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->showVoiceSettings:Z
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move/from16 v4, p3
|
|
|
|
:goto_2
|
|
and-int/lit8 v5, v1, 0x8
|
|
|
|
if-eqz v5, :cond_3
|
|
|
|
iget-object v5, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->voiceSettingsViewState:Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move-object/from16 v5, p4
|
|
|
|
:goto_3
|
|
and-int/lit8 v6, v1, 0x10
|
|
|
|
if-eqz v6, :cond_4
|
|
|
|
iget-object v6, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channelVoiceState:Lcom/discord/models/domain/ModelVoice$State;
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
move-object/from16 v6, p5
|
|
|
|
:goto_4
|
|
and-int/lit8 v7, v1, 0x20
|
|
|
|
if-eqz v7, :cond_5
|
|
|
|
iget-object v7, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
move-object/from16 v7, p6
|
|
|
|
:goto_5
|
|
and-int/lit8 v8, v1, 0x40
|
|
|
|
if-eqz v8, :cond_6
|
|
|
|
iget-object v8, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildSectionHeaderText:Ljava/lang/String;
|
|
|
|
goto :goto_6
|
|
|
|
:cond_6
|
|
move-object/from16 v8, p7
|
|
|
|
:goto_6
|
|
and-int/lit16 v9, v1, 0x80
|
|
|
|
if-eqz v9, :cond_7
|
|
|
|
iget-object v9, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->roleItems:Ljava/util/List;
|
|
|
|
goto :goto_7
|
|
|
|
:cond_7
|
|
move-object/from16 v9, p8
|
|
|
|
:goto_7
|
|
and-int/lit16 v10, v1, 0x100
|
|
|
|
if-eqz v10, :cond_8
|
|
|
|
iget-object v10, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->adminViewState:Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;
|
|
|
|
goto :goto_8
|
|
|
|
:cond_8
|
|
move-object/from16 v10, p9
|
|
|
|
:goto_8
|
|
and-int/lit16 v11, v1, 0x200
|
|
|
|
if-eqz v11, :cond_9
|
|
|
|
iget-object v11, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
goto :goto_9
|
|
|
|
:cond_9
|
|
move-object/from16 v11, p10
|
|
|
|
:goto_9
|
|
and-int/lit16 v12, v1, 0x400
|
|
|
|
if-eqz v12, :cond_a
|
|
|
|
iget-object v12, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
goto :goto_a
|
|
|
|
:cond_a
|
|
move-object/from16 v12, p11
|
|
|
|
:goto_a
|
|
and-int/lit16 v13, v1, 0x800
|
|
|
|
if-eqz v13, :cond_b
|
|
|
|
iget-object v13, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildName:Ljava/lang/String;
|
|
|
|
goto :goto_b
|
|
|
|
:cond_b
|
|
move-object/from16 v13, p12
|
|
|
|
:goto_b
|
|
and-int/lit16 v14, v1, 0x1000
|
|
|
|
if-eqz v14, :cond_c
|
|
|
|
iget v14, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userRelationshipType:I
|
|
|
|
goto :goto_c
|
|
|
|
:cond_c
|
|
move/from16 v14, p13
|
|
|
|
:goto_c
|
|
and-int/lit16 v15, v1, 0x2000
|
|
|
|
if-eqz v15, :cond_d
|
|
|
|
iget-object v15, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->connectionsViewState:Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;
|
|
|
|
goto :goto_d
|
|
|
|
:cond_d
|
|
move-object/from16 v15, p14
|
|
|
|
:goto_d
|
|
and-int/lit16 v1, v1, 0x4000
|
|
|
|
if-eqz v1, :cond_e
|
|
|
|
iget-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userNote:Ljava/lang/CharSequence;
|
|
|
|
goto :goto_e
|
|
|
|
:cond_e
|
|
move-object/from16 v1, p15
|
|
|
|
:goto_e
|
|
move-object/from16 p1, v2
|
|
|
|
move/from16 p2, v3
|
|
|
|
move/from16 p3, v4
|
|
|
|
move-object/from16 p4, v5
|
|
|
|
move-object/from16 p5, v6
|
|
|
|
move-object/from16 p6, v7
|
|
|
|
move-object/from16 p7, v8
|
|
|
|
move-object/from16 p8, v9
|
|
|
|
move-object/from16 p9, v10
|
|
|
|
move-object/from16 p10, v11
|
|
|
|
move-object/from16 p11, v12
|
|
|
|
move-object/from16 p12, v13
|
|
|
|
move/from16 p13, v14
|
|
|
|
move-object/from16 p14, v15
|
|
|
|
move-object/from16 p15, v1
|
|
|
|
invoke-virtual/range {p0 .. p15}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->copy(Lcom/discord/models/domain/ModelUser;ZZLcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;Lcom/discord/models/domain/ModelVoice$State;Lcom/discord/widgets/user/presence/ModelRichPresence;Ljava/lang/String;Ljava/util/List;Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;Lcom/discord/models/domain/ModelChannel;Lcom/discord/utilities/streams/StreamContext;Ljava/lang/String;ILcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;Ljava/lang/CharSequence;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()Lcom/discord/models/domain/ModelUser;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->user:Lcom/discord/models/domain/ModelUser;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component10()Lcom/discord/models/domain/ModelChannel;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component11()Lcom/discord/utilities/streams/StreamContext;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component12()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildName:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component13()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userRelationshipType:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component14()Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->connectionsViewState:Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component15()Ljava/lang/CharSequence;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userNote:Ljava/lang/CharSequence;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component2()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->isMe:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component3()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->showVoiceSettings:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component4()Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->voiceSettingsViewState:Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component5()Lcom/discord/models/domain/ModelVoice$State;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channelVoiceState:Lcom/discord/models/domain/ModelVoice$State;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component6()Lcom/discord/widgets/user/presence/ModelRichPresence;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component7()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildSectionHeaderText:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component8()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/models/domain/ModelGuildRole;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->roleItems:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component9()Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->adminViewState:Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final copy(Lcom/discord/models/domain/ModelUser;ZZLcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;Lcom/discord/models/domain/ModelVoice$State;Lcom/discord/widgets/user/presence/ModelRichPresence;Ljava/lang/String;Ljava/util/List;Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;Lcom/discord/models/domain/ModelChannel;Lcom/discord/utilities/streams/StreamContext;Ljava/lang/String;ILcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;Ljava/lang/CharSequence;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;
|
|
.locals 17
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/models/domain/ModelUser;",
|
|
"ZZ",
|
|
"Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;",
|
|
"Lcom/discord/models/domain/ModelVoice$State;",
|
|
"Lcom/discord/widgets/user/presence/ModelRichPresence;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Lcom/discord/models/domain/ModelGuildRole;",
|
|
">;",
|
|
"Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
"Lcom/discord/utilities/streams/StreamContext;",
|
|
"Ljava/lang/String;",
|
|
"I",
|
|
"Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;",
|
|
"Ljava/lang/CharSequence;",
|
|
")",
|
|
"Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
if-eqz p4, :cond_3
|
|
|
|
if-eqz p8, :cond_2
|
|
|
|
if-eqz p14, :cond_1
|
|
|
|
if-eqz p15, :cond_0
|
|
|
|
new-instance v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;
|
|
|
|
move-object v1, v0
|
|
|
|
move-object/from16 v2, p1
|
|
|
|
move/from16 v3, p2
|
|
|
|
move/from16 v4, p3
|
|
|
|
move-object/from16 v5, p4
|
|
|
|
move-object/from16 v6, p5
|
|
|
|
move-object/from16 v7, p6
|
|
|
|
move-object/from16 v8, p7
|
|
|
|
move-object/from16 v9, p8
|
|
|
|
move-object/from16 v10, p9
|
|
|
|
move-object/from16 v11, p10
|
|
|
|
move-object/from16 v12, p11
|
|
|
|
move-object/from16 v13, p12
|
|
|
|
move/from16 v14, p13
|
|
|
|
move-object/from16 v15, p14
|
|
|
|
move-object/from16 v16, p15
|
|
|
|
invoke-direct/range {v1 .. v16}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;-><init>(Lcom/discord/models/domain/ModelUser;ZZLcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;Lcom/discord/models/domain/ModelVoice$State;Lcom/discord/widgets/user/presence/ModelRichPresence;Ljava/lang/String;Ljava/util/List;Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;Lcom/discord/models/domain/ModelChannel;Lcom/discord/utilities/streams/StreamContext;Ljava/lang/String;ILcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;Ljava/lang/CharSequence;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string v1, "userNote"
|
|
|
|
invoke-static {v1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string v1, "connectionsViewState"
|
|
|
|
invoke-static {v1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string v1, "roleItems"
|
|
|
|
invoke-static {v1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_3
|
|
const-string v1, "voiceSettingsViewState"
|
|
|
|
invoke-static {v1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_4
|
|
const-string v1, "user"
|
|
|
|
invoke-static {v1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw 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/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->user:Lcom/discord/models/domain/ModelUser;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->user:Lcom/discord/models/domain/ModelUser;
|
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->isMe:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->isMe:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->showVoiceSettings:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->showVoiceSettings:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->voiceSettingsViewState:Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->voiceSettingsViewState:Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;
|
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channelVoiceState:Lcom/discord/models/domain/ModelVoice$State;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channelVoiceState:Lcom/discord/models/domain/ModelVoice$State;
|
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
|
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildSectionHeaderText:Ljava/lang/String;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildSectionHeaderText:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->roleItems:Ljava/util/List;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->roleItems:Ljava/util/List;
|
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->adminViewState:Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->adminViewState:Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;
|
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildName:Ljava/lang/String;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildName:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userRelationshipType:I
|
|
|
|
iget v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userRelationshipType:I
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->connectionsViewState:Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->connectionsViewState:Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;
|
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userNote:Ljava/lang/CharSequence;
|
|
|
|
iget-object p1, p1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userNote:Ljava/lang/CharSequence;
|
|
|
|
invoke-static {v0, p1}, Lw/u/b/j;->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 getAdminViewState()Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->adminViewState:Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getChannel()Lcom/discord/models/domain/ModelChannel;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getChannelVoiceState()Lcom/discord/models/domain/ModelVoice$State;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channelVoiceState:Lcom/discord/models/domain/ModelVoice$State;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getConnectionsViewState()Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->connectionsViewState:Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getGuildName()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildName:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getGuildSectionHeaderText()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildSectionHeaderText:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getPresence()Lcom/discord/models/domain/ModelPresence;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/user/presence/ModelRichPresence;->getPresence()Lcom/discord/models/domain/ModelPresence;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getRichPresence()Lcom/discord/widgets/user/presence/ModelRichPresence;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getRoleItems()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/models/domain/ModelGuildRole;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->roleItems:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getShowVoiceSettings()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->showVoiceSettings:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getStreamContext()Lcom/discord/utilities/streams/StreamContext;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getUser()Lcom/discord/models/domain/ModelUser;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->user:Lcom/discord/models/domain/ModelUser;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getUserNote()Ljava/lang/CharSequence;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userNote:Ljava/lang/CharSequence;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getUserRelationshipType()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userRelationshipType:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getVoiceSettingsViewState()Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->voiceSettingsViewState:Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->user:Lcom/discord/models/domain/ModelUser;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelUser;->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/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->isMe: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
|
|
|
|
iget-boolean v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->showVoiceSettings:Z
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
const/4 v2, 0x1
|
|
|
|
:cond_2
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->voiceSettingsViewState:Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
invoke-virtual {v2}, Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channelVoiceState:Lcom/discord/models/domain/ModelVoice$State;
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelVoice$State;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
const/4 v2, 0x0
|
|
|
|
:goto_2
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
invoke-virtual {v2}, Lcom/discord/widgets/user/presence/ModelRichPresence;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
const/4 v2, 0x0
|
|
|
|
:goto_3
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildSectionHeaderText:Ljava/lang/String;
|
|
|
|
if-eqz v2, :cond_6
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_4
|
|
|
|
:cond_6
|
|
const/4 v2, 0x0
|
|
|
|
:goto_4
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->roleItems:Ljava/util/List;
|
|
|
|
if-eqz v2, :cond_7
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_5
|
|
|
|
:cond_7
|
|
const/4 v2, 0x0
|
|
|
|
:goto_5
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->adminViewState:Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;
|
|
|
|
if-eqz v2, :cond_8
|
|
|
|
invoke-virtual {v2}, Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_6
|
|
|
|
:cond_8
|
|
const/4 v2, 0x0
|
|
|
|
:goto_6
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
if-eqz v2, :cond_9
|
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelChannel;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_7
|
|
|
|
:cond_9
|
|
const/4 v2, 0x0
|
|
|
|
:goto_7
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
if-eqz v2, :cond_a
|
|
|
|
invoke-virtual {v2}, Lcom/discord/utilities/streams/StreamContext;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_8
|
|
|
|
:cond_a
|
|
const/4 v2, 0x0
|
|
|
|
:goto_8
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildName:Ljava/lang/String;
|
|
|
|
if-eqz v2, :cond_b
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_9
|
|
|
|
:cond_b
|
|
const/4 v2, 0x0
|
|
|
|
:goto_9
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userRelationshipType:I
|
|
|
|
invoke-static {v2}, Lc;->a(I)I
|
|
|
|
move-result v2
|
|
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->connectionsViewState:Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;
|
|
|
|
if-eqz v2, :cond_c
|
|
|
|
invoke-virtual {v2}, Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_a
|
|
|
|
:cond_c
|
|
const/4 v2, 0x0
|
|
|
|
:goto_a
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userNote:Ljava/lang/CharSequence;
|
|
|
|
if-eqz v2, :cond_d
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
:cond_d
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final isMe()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->isMe:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const-string v0, "Loaded(user="
|
|
|
|
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->user:Lcom/discord/models/domain/ModelUser;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", isMe="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->isMe:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", showVoiceSettings="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->showVoiceSettings:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", voiceSettingsViewState="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->voiceSettingsViewState:Lcom/discord/widgets/user/usersheet/UserProfileVoiceSettingsView$ViewState;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", channelVoiceState="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channelVoiceState:Lcom/discord/models/domain/ModelVoice$State;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", richPresence="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->richPresence:Lcom/discord/widgets/user/presence/ModelRichPresence;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", guildSectionHeaderText="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildSectionHeaderText:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", roleItems="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->roleItems:Ljava/util/List;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", adminViewState="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->adminViewState:Lcom/discord/widgets/user/profile/UserProfileAdminView$ViewState;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", channel="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", streamContext="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", guildName="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->guildName:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", userRelationshipType="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userRelationshipType:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", connectionsViewState="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->connectionsViewState:Lcom/discord/widgets/user/profile/UserProfileConnectionsView$ViewState;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", userNote="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->userNote:Ljava/lang/CharSequence;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)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
|