apkfuckery/com.discord/smali_classes2/com/discord/widgets/user/presence/ModelRichPresence$Companion.smali
2020-07-08 16:44:49 +00:00

97 lines
2.7 KiB
Smali

.class public final Lcom/discord/widgets/user/presence/ModelRichPresence$Companion;
.super Ljava/lang/Object;
.source "ModelRichPresence.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/user/presence/ModelRichPresence;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/user/presence/ModelRichPresence$Companion;-><init>()V
return-void
.end method
.method public static synthetic get$default(Lcom/discord/widgets/user/presence/ModelRichPresence$Companion;JLcom/discord/stores/StoreUserPresence;ILjava/lang/Object;)Lrx/Observable;
.locals 0
and-int/lit8 p4, p4, 0x2
if-eqz p4, :cond_0
sget-object p3, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {p3}, Lcom/discord/stores/StoreStream$Companion;->getPresences()Lcom/discord/stores/StoreUserPresence;
move-result-object p3
:cond_0
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/widgets/user/presence/ModelRichPresence$Companion;->get(JLcom/discord/stores/StoreUserPresence;)Lrx/Observable;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final get(JLcom/discord/stores/StoreUserPresence;)Lrx/Observable;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(J",
"Lcom/discord/stores/StoreUserPresence;",
")",
"Lrx/Observable<",
"Lcom/discord/widgets/user/presence/ModelRichPresence;",
">;"
}
.end annotation
if-eqz p3, :cond_0
invoke-virtual {p3, p1, p2}, Lcom/discord/stores/StoreUserPresence;->getForUserId(J)Lrx/Observable;
move-result-object p1
sget-object p2, Lcom/discord/widgets/user/presence/ModelRichPresence$Companion$get$1;->INSTANCE:Lcom/discord/widgets/user/presence/ModelRichPresence$Companion$get$1;
invoke-virtual {p1, p2}, Lrx/Observable;->S(Lr0/k/b;)Lrx/Observable;
move-result-object p1
const-string p2, "storeUserPresence\n \u2026 }\n }"
invoke-static {p1, p2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p1
:cond_0
const-string p1, "storeUserPresence"
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method