132 lines
4.6 KiB
Smali
132 lines
4.6 KiB
Smali
.class public final Lcom/discord/stores/StoreApplicationCommands$requestApplications$1;
|
|
.super Lz/n/c/k;
|
|
.source "StoreApplicationCommands.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/StoreApplicationCommands;->requestApplications(J)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lz/n/c/k;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $guildId:J
|
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreApplicationCommands;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/stores/StoreApplicationCommands;J)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreApplicationCommands$requestApplications$1;->this$0:Lcom/discord/stores/StoreApplicationCommands;
|
|
|
|
iput-wide p2, p0, Lcom/discord/stores/StoreApplicationCommands$requestApplications$1;->$guildId:J
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lz/n/c/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/stores/StoreApplicationCommands$requestApplications$1;->invoke()V
|
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final invoke()V
|
|
.locals 11
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreApplicationCommands$requestApplications$1;->this$0:Lcom/discord/stores/StoreApplicationCommands;
|
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreApplicationCommands;->access$generateNonce(Lcom/discord/stores/StoreApplicationCommands;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreApplicationCommands$requestApplications$1;->this$0:Lcom/discord/stores/StoreApplicationCommands;
|
|
|
|
invoke-static {v0, v4}, Lcom/discord/stores/StoreApplicationCommands;->access$setApplicationNonce$p(Lcom/discord/stores/StoreApplicationCommands;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreApplicationCommands$requestApplications$1;->this$0:Lcom/discord/stores/StoreApplicationCommands;
|
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreApplicationCommands;->access$getApplications$p(Lcom/discord/stores/StoreApplicationCommands;)Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->clear()V
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreApplicationCommands$requestApplications$1;->this$0:Lcom/discord/stores/StoreApplicationCommands;
|
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreApplicationCommands;->access$getApplicationCommandIndexes$p(Lcom/discord/stores/StoreApplicationCommands;)Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Ljava/util/Map;->clear()V
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreApplicationCommands$requestApplications$1;->this$0:Lcom/discord/stores/StoreApplicationCommands;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
new-array v1, v1, [Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
|
|
|
|
sget-object v2, Lcom/discord/stores/StoreApplicationCommands;->Companion:Lcom/discord/stores/StoreApplicationCommands$Companion;
|
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreApplicationCommands$Companion;->getGuildApplicationsUpdate()Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
aput-object v2, v1, v3
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/stores/StoreV2;->markChanged([Lcom/discord/stores/updates/ObservationDeck$UpdateSource;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreApplicationCommands$requestApplications$1;->this$0:Lcom/discord/stores/StoreApplicationCommands;
|
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreApplicationCommands;->access$getStoreGatewayConnection$p(Lcom/discord/stores/StoreApplicationCommands;)Lcom/discord/stores/StoreGatewayConnection;
|
|
|
|
move-result-object v1
|
|
|
|
iget-wide v2, p0, Lcom/discord/stores/StoreApplicationCommands$requestApplications$1;->$guildId:J
|
|
|
|
const/4 v5, 0x1
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v8, 0x0
|
|
|
|
const/16 v9, 0x18
|
|
|
|
const/4 v10, 0x0
|
|
|
|
invoke-static/range {v1 .. v10}, Lcom/discord/stores/StoreGatewayConnection;->requestApplicationCommands$default(Lcom/discord/stores/StoreGatewayConnection;JLjava/lang/String;ZLjava/lang/String;Ljava/lang/Integer;IILjava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|