2019-12-06 03:29:40 +00:00
|
|
|
.class public final Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3$1;
|
2020-02-20 19:33:18 +00:00
|
|
|
.super Lw/u/b/k;
|
2019-08-20 03:53:10 +00:00
|
|
|
.source "StoreGifting.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3;->invoke(Ljava/util/List;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
2019-12-06 03:29:40 +00:00
|
|
|
accessFlags = 0x19
|
2019-08-20 03:53:10 +00:00
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-02-20 19:33:18 +00:00
|
|
|
"Lw/u/b/k;",
|
2019-08-20 03:53:10 +00:00
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic $gifts:Ljava/util/List;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>(Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3;Ljava/util/List;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3$1;->this$0:Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3$1;->$gifts:Ljava/util/List;
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
2019-08-20 03:53:10 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3$1;->invoke()V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final invoke()V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3$1;->this$0:Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v1, v0, Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3;->this$0:Lcom/discord/stores/StoreGifting;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v0, v0, Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3;->$comboId:Ljava/lang/String;
|
2019-08-20 03:53:10 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {v1, v0}, Lcom/discord/stores/StoreGifting;->access$removeGiftCode(Lcom/discord/stores/StoreGifting;Ljava/lang/String;)V
|
2019-08-20 03:53:10 +00:00
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3$1;->$gifts:Ljava/util/List;
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
check-cast v1, Lcom/discord/models/domain/ModelGift;
|
|
|
|
|
|
|
|
iget-object v2, p0, Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3$1;->this$0:Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3;
|
|
|
|
|
|
|
|
iget-object v2, v2, Lcom/discord/stores/StoreGifting$fetchMyGiftsForSku$3;->this$0:Lcom/discord/stores/StoreGifting;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelGift;->getCode()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
new-instance v4, Lcom/discord/stores/StoreGifting$GiftState$Resolved;
|
|
|
|
|
|
|
|
invoke-direct {v4, v1}, Lcom/discord/stores/StoreGifting$GiftState$Resolved;-><init>(Lcom/discord/models/domain/ModelGift;)V
|
|
|
|
|
|
|
|
invoke-static {v2, v3, v4}, Lcom/discord/stores/StoreGifting;->access$setGifts(Lcom/discord/stores/StoreGifting;Ljava/lang/String;Lcom/discord/stores/StoreGifting$GiftState;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|