2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/discord/gateway/io/OutgoingPayload$PresenceUpdate;
|
|
|
|
.super Lcom/discord/gateway/io/OutgoingPayload;
|
|
|
|
.source "Outgoing.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/gateway/io/OutgoingPayload;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "PresenceUpdate"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field private final activities:Ljava/util/List;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Lcom/discord/models/domain/ModelPresence$Activity;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field private final afk:Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
.field private final since:Ljava/lang/Long;
|
|
|
|
|
|
|
|
.field private final status:Ljava/lang/String;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Long;Ljava/util/List;Ljava/lang/Boolean;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"+",
|
|
|
|
"Lcom/discord/models/domain/ModelPresence$Activity;",
|
|
|
|
">;",
|
|
|
|
"Ljava/lang/Boolean;",
|
|
|
|
")V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "activities"
|
|
|
|
|
|
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Lcom/discord/gateway/io/OutgoingPayload;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/gateway/io/OutgoingPayload$PresenceUpdate;->status:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/gateway/io/OutgoingPayload$PresenceUpdate;->since:Ljava/lang/Long;
|
|
|
|
|
|
|
|
iput-object p3, p0, Lcom/discord/gateway/io/OutgoingPayload$PresenceUpdate;->activities:Ljava/util/List;
|
|
|
|
|
|
|
|
iput-object p4, p0, Lcom/discord/gateway/io/OutgoingPayload$PresenceUpdate;->afk:Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public synthetic constructor <init>(Ljava/lang/String;Ljava/lang/Long;Ljava/util/List;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
and-int/lit8 p6, p5, 0x2
|
|
|
|
|
|
|
|
if-eqz p6, :cond_0
|
|
|
|
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p6, p5, 0x4
|
|
|
|
|
|
|
|
if-eqz p6, :cond_1
|
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
sget-object p3, Lkotlin/a/y;->bjV:Lkotlin/a/y;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast p3, Ljava/util/List;
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
and-int/lit8 p5, p5, 0x8
|
|
|
|
|
|
|
|
if-eqz p5, :cond_2
|
|
|
|
|
|
|
|
sget-object p4, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-direct {p0, p1, p2, p3, p4}, Lcom/discord/gateway/io/OutgoingPayload$PresenceUpdate;-><init>(Ljava/lang/String;Ljava/lang/Long;Ljava/util/List;Ljava/lang/Boolean;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|