124 lines
3.6 KiB
Smali
124 lines
3.6 KiB
Smali
.class final Lcom/discord/gateway/GatewaySocket$callConnect$1;
|
|
.super Lkotlin/jvm/internal/k;
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/gateway/GatewaySocket;->callConnect(J)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/internal/k;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic $channelId:J
|
|
|
|
.field final synthetic this$0:Lcom/discord/gateway/GatewaySocket;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/discord/gateway/GatewaySocket;J)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/gateway/GatewaySocket$callConnect$1;->this$0:Lcom/discord/gateway/GatewaySocket;
|
|
|
|
iput-wide p2, p0, Lcom/discord/gateway/GatewaySocket$callConnect$1;->$channelId:J
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lkotlin/jvm/internal/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final bridge synthetic invoke()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/gateway/GatewaySocket$callConnect$1;->invoke()V
|
|
|
|
sget-object v0, Lkotlin/Unit;->bPm:Lkotlin/Unit;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final invoke()V
|
|
.locals 12
|
|
|
|
sget-object v0, Lcom/discord/gateway/GatewaySocket;->Companion:Lcom/discord/gateway/GatewaySocket$Companion;
|
|
|
|
iget-object v1, p0, Lcom/discord/gateway/GatewaySocket$callConnect$1;->this$0:Lcom/discord/gateway/GatewaySocket;
|
|
|
|
invoke-static {v1}, Lcom/discord/gateway/GatewaySocket;->access$getLogger$p(Lcom/discord/gateway/GatewaySocket;)Lcom/discord/utilities/logging/Logger;
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
const-string v3, "Sending call connect sync on channel id: "
|
|
|
|
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-wide v3, p0, Lcom/discord/gateway/GatewaySocket$callConnect$1;->$channelId:J
|
|
|
|
invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v3, 0x2e
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x2
|
|
|
|
const/4 v5, 0x0
|
|
|
|
invoke-static/range {v0 .. v5}, Lcom/discord/gateway/GatewaySocket$Companion;->log$default(Lcom/discord/gateway/GatewaySocket$Companion;Lcom/discord/utilities/logging/Logger;Ljava/lang/String;ZILjava/lang/Object;)V
|
|
|
|
iget-object v6, p0, Lcom/discord/gateway/GatewaySocket$callConnect$1;->this$0:Lcom/discord/gateway/GatewaySocket;
|
|
|
|
new-instance v7, Lcom/discord/gateway/io/Outgoing;
|
|
|
|
new-instance v0, Lcom/discord/gateway/io/OutgoingPayload$CallConnect;
|
|
|
|
iget-wide v1, p0, Lcom/discord/gateway/GatewaySocket$callConnect$1;->$channelId:J
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/discord/gateway/io/OutgoingPayload$CallConnect;-><init>(J)V
|
|
|
|
const/16 v1, 0xd
|
|
|
|
invoke-direct {v7, v1, v0}, Lcom/discord/gateway/io/Outgoing;-><init>(ILjava/lang/Object;)V
|
|
|
|
const/4 v8, 0x0
|
|
|
|
const/4 v9, 0x0
|
|
|
|
const/4 v10, 0x6
|
|
|
|
const/4 v11, 0x0
|
|
|
|
invoke-static/range {v6 .. v11}, Lcom/discord/gateway/GatewaySocket;->send$default(Lcom/discord/gateway/GatewaySocket;Lcom/discord/gateway/io/Outgoing;ZLcom/google/gson/Gson;ILjava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|