144 lines
4.2 KiB
Smali
144 lines
4.2 KiB
Smali
.class public final Lcom/discord/stores/StoreAnalytics$inviteSent$1;
|
|
.super Lj0/n/c/i;
|
|
.source "StoreAnalytics.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/StoreAnalytics;->inviteSent(Lcom/discord/models/domain/ModelInvite;Lcom/discord/models/domain/ModelMessage;Ljava/lang/String;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lj0/n/c/i;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $invite:Lcom/discord/models/domain/ModelInvite;
|
|
|
|
.field public final synthetic $location:Ljava/lang/String;
|
|
|
|
.field public final synthetic $message:Lcom/discord/models/domain/ModelMessage;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreAnalytics;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/stores/StoreAnalytics;Ljava/lang/String;Lcom/discord/models/domain/ModelMessage;Lcom/discord/models/domain/ModelInvite;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreAnalytics$inviteSent$1;->this$0:Lcom/discord/stores/StoreAnalytics;
|
|
|
|
iput-object p2, p0, Lcom/discord/stores/StoreAnalytics$inviteSent$1;->$location:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lcom/discord/stores/StoreAnalytics$inviteSent$1;->$message:Lcom/discord/models/domain/ModelMessage;
|
|
|
|
iput-object p4, p0, Lcom/discord/stores/StoreAnalytics$inviteSent$1;->$invite:Lcom/discord/models/domain/ModelInvite;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lj0/n/c/i;-><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/StoreAnalytics$inviteSent$1;->invoke()V
|
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final invoke()V
|
|
.locals 5
|
|
|
|
const/4 v0, 0x2
|
|
|
|
new-array v0, v0, [Lkotlin/Pair;
|
|
|
|
iget-object v1, p0, Lcom/discord/stores/StoreAnalytics$inviteSent$1;->$location:Ljava/lang/String;
|
|
|
|
new-instance v2, Lkotlin/Pair;
|
|
|
|
const-string v3, "location"
|
|
|
|
invoke-direct {v2, v3, v1}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
iget-object v2, p0, Lcom/discord/stores/StoreAnalytics$inviteSent$1;->$message:Lcom/discord/models/domain/ModelMessage;
|
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelMessage;->getId()J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v2
|
|
|
|
new-instance v3, Lkotlin/Pair;
|
|
|
|
const-string v4, "message_id"
|
|
|
|
invoke-direct {v3, v4, v2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
aput-object v3, v0, v1
|
|
|
|
invoke-static {v0}, Lj0/i/u;->mapOf([Lkotlin/Pair;)Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/stores/StoreAnalytics$inviteSent$1;->this$0:Lcom/discord/stores/StoreAnalytics;
|
|
|
|
iget-object v2, p0, Lcom/discord/stores/StoreAnalytics$inviteSent$1;->$message:Lcom/discord/models/domain/ModelMessage;
|
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelMessage;->getChannelId()J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-static {v1, v2, v3}, Lcom/discord/stores/StoreAnalytics;->access$getSnapshotProperties(Lcom/discord/stores/StoreAnalytics;J)Ljava/util/Map;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object v1, Lj0/i/p;->d:Lj0/i/p;
|
|
|
|
:goto_0
|
|
sget-object v2, Lcom/discord/utilities/analytics/AnalyticsTracker;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker;
|
|
|
|
iget-object v3, p0, Lcom/discord/stores/StoreAnalytics$inviteSent$1;->$invite:Lcom/discord/models/domain/ModelInvite;
|
|
|
|
invoke-static {v0, v1}, Lj0/i/u;->plus(Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v2, v3, v0}, Lcom/discord/utilities/analytics/AnalyticsTracker;->inviteSent(Lcom/discord/models/domain/ModelInvite;Ljava/util/Map;)V
|
|
|
|
return-void
|
|
.end method
|