2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/discord/utilities/channel/GuildChannelsInfo$Companion;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "GuildChannelsInfo.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/utilities/channel/GuildChannelsInfo;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "Companion"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>()V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/utilities/channel/GuildChannelsInfo$Companion;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final get(J)Lrx/Observable;
|
2020-03-04 00:13:28 +00:00
|
|
|
.locals 16
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(J)",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"Lcom/discord/utilities/channel/GuildChannelsInfo;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-wide/from16 v0, p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
sget-object v2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreStream$Companion;->getUsers()Lcom/discord/stores/StoreUser;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-virtual {v2, v3}, Lcom/discord/stores/StoreUser;->observeMe(Z)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
sget-object v2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreStream$Companion;->getGuilds()Lcom/discord/stores/StoreGuilds;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-03-19 04:19:10 +00:00
|
|
|
invoke-virtual {v2, v0, v1}, Lcom/discord/stores/StoreGuilds;->observe(J)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
sget-object v2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreStream$Companion;->getUserGuildSettings()Lcom/discord/stores/StoreUserGuildSettings;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-virtual {v2, v0, v1}, Lcom/discord/stores/StoreUserGuildSettings;->get(J)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
sget-object v2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreStream$Companion;->getUserGuildSettings()Lcom/discord/stores/StoreUserGuildSettings;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-virtual {v2, v0, v1}, Lcom/discord/stores/StoreUserGuildSettings;->getHideMutedChannels(J)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
sget-object v2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreStream$Companion;->getGuilds()Lcom/discord/stores/StoreGuilds;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-19 04:19:10 +00:00
|
|
|
invoke-virtual {v2, v0, v1}, Lcom/discord/stores/StoreGuilds;->observeRoles(J)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
sget-object v2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreStream$Companion;->getPermissions()Lcom/discord/stores/StorePermissions;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-virtual {v2, v0, v1}, Lcom/discord/stores/StorePermissions;->getForGuild(J)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
sget-object v2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreStream$Companion;->getPermissions()Lcom/discord/stores/StorePermissions;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-virtual {v2, v0, v1}, Lcom/discord/stores/StorePermissions;->getForChannels(J)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v10
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
sget-object v2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreStream$Companion;->getStoreChannelCategories()Lcom/discord/stores/StoreChannelCategories;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-virtual {v2, v0, v1}, Lcom/discord/stores/StoreChannelCategories;->getChannelCategories(J)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v11
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
sget-object v12, Lcom/discord/utilities/channel/GuildChannelsInfo$Companion$get$1;->INSTANCE:Lcom/discord/utilities/channel/GuildChannelsInfo$Companion$get$1;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
sget-object v15, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
const-wide/16 v13, 0x1f4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
invoke-static/range {v4 .. v15}, Lcom/discord/utilities/rx/ObservableWithLeadingEdgeThrottle;->combineLatest(Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/Observable;Lrx/functions/Func8;JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lrx/Observable;->a()Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
const-string v1, "ObservableWithLeadingEdg\u2026 .distinctUntilChanged()"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-26 05:26:27 +00:00
|
|
|
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-04 00:13:28 +00:00
|
|
|
return-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|