2020-05-17 12:40:10 +00:00
|
|
|
.class public Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "ModelNotificationSettings.java"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lcom/discord/models/domain/Model;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/models/domain/ModelNotificationSettings;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x9
|
|
|
|
name = "ChannelOverride"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public channelId:J
|
|
|
|
|
|
|
|
.field public transient derivedMute:Z
|
|
|
|
|
|
|
|
.field public messageNotifications:I
|
|
|
|
|
|
|
|
.field public muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
.field public muted:Z
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muted:Z
|
|
|
|
|
|
|
|
sget v0, Lcom/discord/models/domain/ModelNotificationSettings;->FREQUENCY_UNSET:I
|
|
|
|
|
|
|
|
iput v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->messageNotifications:I
|
|
|
|
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
|
|
|
|
iput-wide v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->channelId:J
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(ZLcom/discord/models/domain/ModelMuteConfig;ZIJ)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muted:Z
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
iput-boolean p3, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->derivedMute:Z
|
|
|
|
|
|
|
|
iput p4, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->messageNotifications:I
|
|
|
|
|
|
|
|
iput-wide p5, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->channelId:J
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic access$000(Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;)Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iget-object p0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public assignField(Lcom/discord/models/domain/Model$JsonReader;)V
|
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/Model$JsonReader;->nextName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x3
|
|
|
|
|
|
|
|
const/4 v3, 0x2
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
sparse-switch v1, :sswitch_data_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:sswitch_0
|
|
|
|
const-string v1, "message_notifications"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x2
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_1
|
|
|
|
const-string v1, "muted"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_2
|
|
|
|
const-string v1, "channel_id"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x3
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_3
|
|
|
|
const-string v1, "mute_config"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
const/4 v0, -0x1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
|
|
|
|
if-eq v0, v4, :cond_3
|
|
|
|
|
|
|
|
if-eq v0, v3, :cond_2
|
|
|
|
|
|
|
|
if-eq v0, v2, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/Model$JsonReader;->skipValue()V
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->channelId:J
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0, v1}, Lcom/discord/models/domain/Model$JsonReader;->nextLong(J)J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
iput-wide v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->channelId:J
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->messageNotifications:I
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/models/domain/Model$JsonReader;->nextInt(I)I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
iput p1, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->messageNotifications:I
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/Model$JsonReader;->peek()Lcom/google/gson/stream/JsonToken;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v1, Lcom/google/gson/stream/JsonToken;->NULL:Lcom/google/gson/stream/JsonToken;
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_4
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/Model$JsonReader;->nextNull()V
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
sget-object v0, Lcom/discord/models/domain/ModelMuteConfig;->Parser:Lcom/discord/models/domain/ModelMuteConfig$Parser;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/models/domain/ModelMuteConfig$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
iget-boolean v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muted:Z
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/models/domain/Model$JsonReader;->nextBoolean(Z)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muted:Z
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
iget-boolean p1, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muted:Z
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
invoke-static {}, Lcom/discord/utilities/time/ClockFactory;->get()Lcom/discord/utilities/time/Clock;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-static {p1, v0, v1}, Lcom/discord/models/domain/NotificationSettingsModelUtils;->isMuted(ZLcom/discord/models/domain/ModelMuteConfig;Lcom/discord/utilities/time/Clock;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->derivedMute:Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:sswitch_data_0
|
|
|
|
.sparse-switch
|
|
|
|
-0x7986afd8 -> :sswitch_3
|
|
|
|
-0x7315ce29 -> :sswitch_2
|
|
|
|
0x636f16b -> :sswitch_1
|
|
|
|
0x53cf4eb0 -> :sswitch_0
|
|
|
|
.end sparse-switch
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public canEqual(Ljava/lang/Object;)Z
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
instance-of p1, p1, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public copyAndRecomputeTransientFields(Lcom/discord/utilities/time/Clock;)Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;
|
|
|
|
.locals 9
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muted:Z
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
invoke-static {v0, v1, p1}, Lcom/discord/models/domain/NotificationSettingsModelUtils;->isMuted(ZLcom/discord/models/domain/ModelMuteConfig;Lcom/discord/utilities/time/Clock;)Z
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
new-instance p1, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;
|
|
|
|
|
|
|
|
iget-boolean v3, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muted:Z
|
|
|
|
|
|
|
|
iget-object v4, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
iget v6, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->messageNotifications:I
|
|
|
|
|
|
|
|
iget-wide v7, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->channelId:J
|
|
|
|
|
|
|
|
move-object v2, p1
|
|
|
|
|
|
|
|
invoke-direct/range {v2 .. v8}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;-><init>(ZLcom/discord/models/domain/ModelMuteConfig;ZIJ)V
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
if-ne p1, p0, :cond_0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
instance-of v1, p1, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;
|
|
|
|
|
|
|
|
invoke-virtual {p1, p0}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->canEqual(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->isMuted()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->isMuted()Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eq v1, v3, :cond_3
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->getMuteConfig()Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->getMuteConfig()Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
if-nez v1, :cond_4
|
|
|
|
|
|
|
|
if-eqz v3, :cond_5
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-virtual {v1, v3}, Lcom/discord/models/domain/ModelMuteConfig;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_5
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
iget-boolean v1, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->derivedMute:Z
|
|
|
|
|
|
|
|
iget-boolean v3, p1, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->derivedMute:Z
|
|
|
|
|
|
|
|
if-eq v1, v3, :cond_6
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->getMessageNotifications()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->getMessageNotifications()I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eq v1, v3, :cond_7
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->getChannelId()J
|
|
|
|
|
|
|
|
move-result-wide v3
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->getChannelId()J
|
|
|
|
|
|
|
|
move-result-wide v5
|
|
|
|
|
|
|
|
cmp-long p1, v3, v5
|
|
|
|
|
|
|
|
if-eqz p1, :cond_8
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getChannelId()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->channelId:J
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getMessageNotifications()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->messageNotifications:I
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getMuteConfig()Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getMuteEndTime()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->muteConfig:Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelMuteConfig;->getEndTime()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public hashCode()I
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->isMuted()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/16 v1, 0x4f
|
|
|
|
|
|
|
|
const/16 v2, 0x61
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/16 v0, 0x4f
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/16 v0, 0x61
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const/16 v3, 0x3b
|
|
|
|
|
|
|
|
add-int/2addr v0, v3
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->getMuteConfig()Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x3b
|
|
|
|
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
|
|
|
|
const/16 v4, 0x2b
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {v4}, Lcom/discord/models/domain/ModelMuteConfig;->hashCode()I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
add-int/2addr v0, v4
|
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x3b
|
|
|
|
|
|
|
|
iget-boolean v4, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->derivedMute:Z
|
|
|
|
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/16 v1, 0x61
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x3b
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->getMessageNotifications()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->getChannelId()J
|
|
|
|
|
|
|
|
move-result-wide v4
|
|
|
|
|
|
|
|
mul-int/lit8 v1, v1, 0x3b
|
|
|
|
|
|
|
|
const/16 v0, 0x20
|
|
|
|
|
|
|
|
ushr-long v2, v4, v0
|
|
|
|
|
|
|
|
xor-long/2addr v2, v4
|
|
|
|
|
|
|
|
long-to-int v0, v2
|
|
|
|
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public isMuted()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->derivedMute:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const-string v0, "ModelNotificationSettings.ChannelOverride(muted="
|
|
|
|
|
2020-11-02 23:44:01 +00:00
|
|
|
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->isMuted()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", muteConfig="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->getMuteConfig()Lcom/discord/models/domain/ModelMuteConfig;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", derivedMute="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-boolean v1, p0, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->derivedMute:Z
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", messageNotifications="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->getMessageNotifications()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", channelId="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/models/domain/ModelNotificationSettings$ChannelOverride;->getChannelId()J
|
|
|
|
|
|
|
|
move-result-wide v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)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
|