853 lines
23 KiB
Smali
853 lines
23 KiB
Smali
.class public final Lcom/discord/widgets/guilds/invite/WidgetInviteModel;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetInviteModel.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/discord/widgets/guilds/invite/WidgetInviteModel$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final Companion:Lcom/discord/widgets/guilds/invite/WidgetInviteModel$Companion;
|
|
|
|
|
|
# instance fields
|
|
.field public final dms:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final invitableChannels:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final invite:Lcom/discord/models/domain/ModelInvite;
|
|
|
|
.field public final isGeneratingInvite:Z
|
|
|
|
.field public final isValidInvite:Z
|
|
|
|
.field public final me:Lcom/discord/models/domain/ModelUser;
|
|
|
|
.field public final settings:Lcom/discord/models/domain/ModelInvite$Settings;
|
|
|
|
.field public final targetChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/guilds/invite/WidgetInviteModel$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->Companion:Lcom/discord/widgets/guilds/invite/WidgetInviteModel$Companion;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/discord/models/domain/ModelChannel;Lcom/discord/models/domain/ModelInvite$Settings;Lcom/discord/models/domain/ModelInvite;ZZLjava/util/List;Lcom/discord/models/domain/ModelUser;Ljava/util/List;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
"Lcom/discord/models/domain/ModelInvite$Settings;",
|
|
"Lcom/discord/models/domain/ModelInvite;",
|
|
"ZZ",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
">;",
|
|
"Lcom/discord/models/domain/ModelUser;",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p6, :cond_2
|
|
|
|
if-eqz p7, :cond_1
|
|
|
|
if-eqz p8, :cond_0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->targetChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->settings:Lcom/discord/models/domain/ModelInvite$Settings;
|
|
|
|
iput-object p3, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invite:Lcom/discord/models/domain/ModelInvite;
|
|
|
|
iput-boolean p4, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isGeneratingInvite:Z
|
|
|
|
iput-boolean p5, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isValidInvite:Z
|
|
|
|
iput-object p6, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invitableChannels:Ljava/util/List;
|
|
|
|
iput-object p7, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->me:Lcom/discord/models/domain/ModelUser;
|
|
|
|
iput-object p8, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->dms:Ljava/util/List;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "dms"
|
|
|
|
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "me"
|
|
|
|
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string p1, "invitableChannels"
|
|
|
|
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lcom/discord/models/domain/ModelChannel;Lcom/discord/models/domain/ModelInvite$Settings;Lcom/discord/models/domain/ModelInvite;ZZLjava/util/List;Lcom/discord/models/domain/ModelUser;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 11
|
|
|
|
and-int/lit8 v0, p9, 0x8
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v6, p4
|
|
|
|
:goto_0
|
|
and-int/lit8 v0, p9, 0x10
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const/4 v7, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move/from16 v7, p5
|
|
|
|
:goto_1
|
|
move-object v2, p0
|
|
|
|
move-object v3, p1
|
|
|
|
move-object v4, p2
|
|
|
|
move-object v5, p3
|
|
|
|
move-object/from16 v8, p6
|
|
|
|
move-object/from16 v9, p7
|
|
|
|
move-object/from16 v10, p8
|
|
|
|
invoke-direct/range {v2 .. v10}, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;-><init>(Lcom/discord/models/domain/ModelChannel;Lcom/discord/models/domain/ModelInvite$Settings;Lcom/discord/models/domain/ModelInvite;ZZLjava/util/List;Lcom/discord/models/domain/ModelUser;Ljava/util/List;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/widgets/guilds/invite/WidgetInviteModel;Lcom/discord/models/domain/ModelChannel;Lcom/discord/models/domain/ModelInvite$Settings;Lcom/discord/models/domain/ModelInvite;ZZLjava/util/List;Lcom/discord/models/domain/ModelUser;Ljava/util/List;ILjava/lang/Object;)Lcom/discord/widgets/guilds/invite/WidgetInviteModel;
|
|
.locals 9
|
|
|
|
move-object v0, p0
|
|
|
|
move/from16 v1, p9
|
|
|
|
and-int/lit8 v2, v1, 0x1
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
iget-object v2, v0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->targetChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v2, p1
|
|
|
|
:goto_0
|
|
and-int/lit8 v3, v1, 0x2
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
iget-object v3, v0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->settings:Lcom/discord/models/domain/ModelInvite$Settings;
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move-object v3, p2
|
|
|
|
:goto_1
|
|
and-int/lit8 v4, v1, 0x4
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
iget-object v4, v0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invite:Lcom/discord/models/domain/ModelInvite;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move-object v4, p3
|
|
|
|
:goto_2
|
|
and-int/lit8 v5, v1, 0x8
|
|
|
|
if-eqz v5, :cond_3
|
|
|
|
iget-boolean v5, v0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isGeneratingInvite:Z
|
|
|
|
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/invite/WidgetInviteModel;->isValidInvite:Z
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
move v6, p5
|
|
|
|
:goto_4
|
|
and-int/lit8 v7, v1, 0x20
|
|
|
|
if-eqz v7, :cond_5
|
|
|
|
iget-object v7, v0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invitableChannels:Ljava/util/List;
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
move-object v7, p6
|
|
|
|
:goto_5
|
|
and-int/lit8 v8, v1, 0x40
|
|
|
|
if-eqz v8, :cond_6
|
|
|
|
iget-object v8, v0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->me:Lcom/discord/models/domain/ModelUser;
|
|
|
|
goto :goto_6
|
|
|
|
:cond_6
|
|
move-object/from16 v8, p7
|
|
|
|
:goto_6
|
|
and-int/lit16 v1, v1, 0x80
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
iget-object v1, v0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->dms:Ljava/util/List;
|
|
|
|
goto :goto_7
|
|
|
|
:cond_7
|
|
move-object/from16 v1, p8
|
|
|
|
:goto_7
|
|
move-object p1, v2
|
|
|
|
move-object p2, v3
|
|
|
|
move-object p3, v4
|
|
|
|
move p4, v5
|
|
|
|
move p5, v6
|
|
|
|
move-object p6, v7
|
|
|
|
move-object/from16 p7, v8
|
|
|
|
move-object/from16 p8, v1
|
|
|
|
invoke-virtual/range {p0 .. p8}, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->copy(Lcom/discord/models/domain/ModelChannel;Lcom/discord/models/domain/ModelInvite$Settings;Lcom/discord/models/domain/ModelInvite;ZZLjava/util/List;Lcom/discord/models/domain/ModelUser;Ljava/util/List;)Lcom/discord/widgets/guilds/invite/WidgetInviteModel;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()Lcom/discord/models/domain/ModelChannel;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->targetChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component2()Lcom/discord/models/domain/ModelInvite$Settings;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->settings:Lcom/discord/models/domain/ModelInvite$Settings;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component3()Lcom/discord/models/domain/ModelInvite;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invite:Lcom/discord/models/domain/ModelInvite;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component4()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isGeneratingInvite:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component5()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isValidInvite:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component6()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invitableChannels:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component7()Lcom/discord/models/domain/ModelUser;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->me:Lcom/discord/models/domain/ModelUser;
|
|
|
|
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/ModelChannel;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->dms:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final copy(Lcom/discord/models/domain/ModelChannel;Lcom/discord/models/domain/ModelInvite$Settings;Lcom/discord/models/domain/ModelInvite;ZZLjava/util/List;Lcom/discord/models/domain/ModelUser;Ljava/util/List;)Lcom/discord/widgets/guilds/invite/WidgetInviteModel;
|
|
.locals 10
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
"Lcom/discord/models/domain/ModelInvite$Settings;",
|
|
"Lcom/discord/models/domain/ModelInvite;",
|
|
"ZZ",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
">;",
|
|
"Lcom/discord/models/domain/ModelUser;",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
">;)",
|
|
"Lcom/discord/widgets/guilds/invite/WidgetInviteModel;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p6, :cond_2
|
|
|
|
if-eqz p7, :cond_1
|
|
|
|
if-eqz p8, :cond_0
|
|
|
|
new-instance v0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;
|
|
|
|
move-object v1, v0
|
|
|
|
move-object v2, p1
|
|
|
|
move-object v3, p2
|
|
|
|
move-object v4, p3
|
|
|
|
move v5, p4
|
|
|
|
move v6, p5
|
|
|
|
move-object/from16 v7, p6
|
|
|
|
move-object/from16 v8, p7
|
|
|
|
move-object/from16 v9, p8
|
|
|
|
invoke-direct/range {v1 .. v9}, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;-><init>(Lcom/discord/models/domain/ModelChannel;Lcom/discord/models/domain/ModelInvite$Settings;Lcom/discord/models/domain/ModelInvite;ZZLjava/util/List;Lcom/discord/models/domain/ModelUser;Ljava/util/List;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string v1, "dms"
|
|
|
|
invoke-static {v1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string v1, "me"
|
|
|
|
invoke-static {v1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string v1, "invitableChannels"
|
|
|
|
invoke-static {v1}, Lx/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/guilds/invite/WidgetInviteModel;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->targetChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->targetChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
invoke-static {v0, v1}, Lx/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/guilds/invite/WidgetInviteModel;->settings:Lcom/discord/models/domain/ModelInvite$Settings;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->settings:Lcom/discord/models/domain/ModelInvite$Settings;
|
|
|
|
invoke-static {v0, v1}, Lx/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/guilds/invite/WidgetInviteModel;->invite:Lcom/discord/models/domain/ModelInvite;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invite:Lcom/discord/models/domain/ModelInvite;
|
|
|
|
invoke-static {v0, v1}, Lx/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/guilds/invite/WidgetInviteModel;->isGeneratingInvite:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isGeneratingInvite:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isValidInvite:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isValidInvite:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invitableChannels:Ljava/util/List;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invitableChannels:Ljava/util/List;
|
|
|
|
invoke-static {v0, v1}, Lx/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/guilds/invite/WidgetInviteModel;->me:Lcom/discord/models/domain/ModelUser;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->me:Lcom/discord/models/domain/ModelUser;
|
|
|
|
invoke-static {v0, v1}, Lx/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/guilds/invite/WidgetInviteModel;->dms:Ljava/util/List;
|
|
|
|
iget-object p1, p1, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->dms:Ljava/util/List;
|
|
|
|
invoke-static {v0, p1}, Lx/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 getDms()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->dms:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getInvitableChannels()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invitableChannels:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getInvite()Lcom/discord/models/domain/ModelInvite;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invite:Lcom/discord/models/domain/ModelInvite;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getMe()Lcom/discord/models/domain/ModelUser;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->me:Lcom/discord/models/domain/ModelUser;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getSettings()Lcom/discord/models/domain/ModelInvite$Settings;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->settings:Lcom/discord/models/domain/ModelInvite$Settings;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getTargetChannel()Lcom/discord/models/domain/ModelChannel;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->targetChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->targetChannel: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-object v2, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->settings:Lcom/discord/models/domain/ModelInvite$Settings;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelInvite$Settings;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invite:Lcom/discord/models/domain/ModelInvite;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelInvite;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v2, 0x0
|
|
|
|
:goto_2
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v2, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isGeneratingInvite:Z
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
const/4 v2, 0x1
|
|
|
|
:cond_3
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v2, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isValidInvite:Z
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
const/4 v2, 0x1
|
|
|
|
:cond_4
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invitableChannels:Ljava/util/List;
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->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/guilds/invite/WidgetInviteModel;->me:Lcom/discord/models/domain/ModelUser;
|
|
|
|
if-eqz v2, :cond_6
|
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelUser;->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/guilds/invite/WidgetInviteModel;->dms:Ljava/util/List;
|
|
|
|
if-eqz v2, :cond_7
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
:cond_7
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final isGeneratingInvite()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isGeneratingInvite:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final isValidInvite()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isValidInvite:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
const-string v0, "WidgetInviteModel(targetChannel="
|
|
|
|
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/guilds/invite/WidgetInviteModel;->targetChannel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", settings="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->settings:Lcom/discord/models/domain/ModelInvite$Settings;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", invite="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invite:Lcom/discord/models/domain/ModelInvite;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", isGeneratingInvite="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isGeneratingInvite:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", isValidInvite="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->isValidInvite:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", invitableChannels="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->invitableChannels:Ljava/util/List;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", me="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->me:Lcom/discord/models/domain/ModelUser;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", dms="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/guilds/invite/WidgetInviteModel;->dms:Ljava/util/List;
|
|
|
|
const-string v2, ")"
|
|
|
|
invoke-static {v0, v1, v2}, Le/e/b/a/a;->a(Ljava/lang/StringBuilder;Ljava/util/List;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|