109 lines
2.8 KiB
Smali
109 lines
2.8 KiB
Smali
|
.class final Lcom/discord/utilities/channel/ChannelUtils$getDefaultChannel$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "ChannelUtils.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lrx/functions/b;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/discord/utilities/channel/ChannelUtils;->getDefaultChannel(J)Lrx/Observable;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x18
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">",
|
||
|
"Ljava/lang/Object;",
|
||
|
"Lrx/functions/b<",
|
||
|
"TT;",
|
||
|
"Lrx/Observable<",
|
||
|
"+TR;>;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic $guildId:J
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(J)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-wide p1, p0, Lcom/discord/utilities/channel/ChannelUtils$getDefaultChannel$1;->$guildId:J
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Ljava/util/Map;
|
||
|
|
||
|
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$getDefaultChannel$1;->call(Ljava/util/Map;)Lrx/Observable;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public final call(Ljava/util/Map;)Lrx/Observable;
|
||
|
.locals 4
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/util/Map<",
|
||
|
"Ljava/lang/Long;",
|
||
|
"Ljava/lang/Integer;",
|
||
|
">;)",
|
||
|
"Lrx/Observable<",
|
||
|
"Lcom/discord/models/domain/ModelChannel;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getChannels()Lcom/discord/stores/StoreChannels;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-wide v1, p0, Lcom/discord/utilities/channel/ChannelUtils$getDefaultChannel$1;->$guildId:J
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
invoke-virtual {v0, v1, v2, v3}, Lcom/discord/stores/StoreChannels;->getForGuild(JLjava/lang/Integer;)Lrx/Observable;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
new-instance v1, Lcom/discord/utilities/channel/ChannelUtils$getDefaultChannel$1$1;
|
||
|
|
||
|
invoke-direct {v1, p1}, Lcom/discord/utilities/channel/ChannelUtils$getDefaultChannel$1$1;-><init>(Ljava/util/Map;)V
|
||
|
|
||
|
check-cast v1, Lrx/functions/b;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Lrx/Observable;->e(Lrx/functions/b;)Lrx/Observable;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
return-object p1
|
||
|
.end method
|