apkfuckery/com.discord/smali/com/discord/stores/StoreMessages$sendMessage$1...

102 lines
3.2 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Lcom/discord/stores/StoreMessages$sendMessage$1;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "StoreMessages.kt"
# interfaces
.implements Lrx/functions/Action1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-01-07 02:40:43 +00:00
value = Lcom/discord/stores/StoreMessages;->sendMessage(JLcom/discord/models/domain/ModelUser;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lcom/discord/models/domain/ModelApplication;Lcom/discord/models/domain/activity/ModelActivity;Lcom/discord/models/domain/ModelMessage$Activity;)Lrx/Observable;
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x19
2019-07-24 11:27:29 +00:00
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Lrx/Emitter<",
"TT;>;>;"
}
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic $channelId:J
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic $request:Lkotlin/jvm/functions/Function1;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Lcom/discord/stores/StoreMessages;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Lcom/discord/stores/StoreMessages;JLkotlin/jvm/functions/Function1;)V
2019-07-24 11:27:29 +00:00
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreMessages$sendMessage$1;->this$0:Lcom/discord/stores/StoreMessages;
iput-wide p2, p0, Lcom/discord/stores/StoreMessages$sendMessage$1;->$channelId:J
iput-object p4, p0, Lcom/discord/stores/StoreMessages$sendMessage$1;->$request:Lkotlin/jvm/functions/Function1;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public bridge synthetic call(Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
.locals 0
check-cast p1, Lrx/Emitter;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessages$sendMessage$1;->call(Lrx/Emitter;)V
return-void
.end method
.method public final call(Lrx/Emitter;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Emitter<",
"Lcom/discord/utilities/messagesend/MessageResult;",
">;)V"
}
.end annotation
iget-object v0, p0, Lcom/discord/stores/StoreMessages$sendMessage$1;->this$0:Lcom/discord/stores/StoreMessages;
iget-wide v1, p0, Lcom/discord/stores/StoreMessages$sendMessage$1;->$channelId:J
invoke-static {v0, v1, v2}, Lcom/discord/stores/StoreMessages;->access$getMessageQueue(Lcom/discord/stores/StoreMessages;J)Lcom/discord/utilities/messagesend/MessageQueue;
move-result-object v0
iget-object v1, p0, Lcom/discord/stores/StoreMessages$sendMessage$1;->$request:Lkotlin/jvm/functions/Function1;
const-string v2, "emitter"
2020-02-20 19:33:18 +00:00
invoke-static {p1, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
invoke-interface {v1, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/discord/utilities/messagesend/MessageRequest;
invoke-virtual {v0, p1}, Lcom/discord/utilities/messagesend/MessageQueue;->enqueue(Lcom/discord/utilities/messagesend/MessageRequest;)V
return-void
.end method