2020-09-16 23:45:23 +00:00
|
|
|
.class public final Lcom/discord/stores/StoreStickers$fetchStickerPack$1;
|
2020-10-05 23:18:16 +00:00
|
|
|
.super Lc0/n/c/k;
|
2020-09-16 23:45:23 +00:00
|
|
|
.source "StoreStickers.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/stores/StoreStickers;->fetchStickerPack(J)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-10-05 23:18:16 +00:00
|
|
|
"Lc0/n/c/k;",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $stickerPackId:J
|
|
|
|
|
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreStickers;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/discord/stores/StoreStickers;J)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreStickers$fetchStickerPack$1;->this$0:Lcom/discord/stores/StoreStickers;
|
|
|
|
|
|
|
|
iput-wide p2, p0, Lcom/discord/stores/StoreStickers$fetchStickerPack$1;->$stickerPackId:J
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-direct {p0, p1}, Lc0/n/c/k;-><init>(I)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/stores/StoreStickers$fetchStickerPack$1;->invoke()V
|
|
|
|
|
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final invoke()V
|
|
|
|
.locals 13
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreStickers$fetchStickerPack$1;->this$0:Lcom/discord/stores/StoreStickers;
|
|
|
|
|
|
|
|
iget-wide v1, p0, Lcom/discord/stores/StoreStickers$fetchStickerPack$1;->$stickerPackId:J
|
|
|
|
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-10-03 03:03:24 +00:00
|
|
|
invoke-static {v1}, Lf/h/a/f/f/n/f;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/stores/StoreStickers;->handleNewLoadingStickerPacks(Ljava/util/List;)V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreStickers$fetchStickerPack$1;->this$0:Lcom/discord/stores/StoreStickers;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreStickers;->access$getApi$p(Lcom/discord/stores/StoreStickers;)Lcom/discord/utilities/rest/RestAPI;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-wide v1, p0, Lcom/discord/stores/StoreStickers$fetchStickerPack$1;->$stickerPackId:J
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/discord/utilities/rest/RestAPI;->getStickerPack(J)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
invoke-static {v0, v1, v2, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreStickers$fetchStickerPack$1;->this$0:Lcom/discord/stores/StoreStickers;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
new-instance v10, Lcom/discord/stores/StoreStickers$fetchStickerPack$1$1;
|
|
|
|
|
|
|
|
invoke-direct {v10, p0}, Lcom/discord/stores/StoreStickers$fetchStickerPack$1$1;-><init>(Lcom/discord/stores/StoreStickers$fetchStickerPack$1;)V
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
const/16 v11, 0x1e
|
|
|
|
|
|
|
|
const/4 v12, 0x0
|
|
|
|
|
|
|
|
invoke-static/range {v4 .. v12}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|