102 lines
2.4 KiB
Smali
102 lines
2.4 KiB
Smali
.class public abstract Lcom/discord/stores/StoreV2;
|
|
.super Lcom/discord/stores/Store;
|
|
.source "StoreV2.kt"
|
|
|
|
# interfaces
|
|
.implements Lcom/discord/stores/DispatchHandler;
|
|
.implements Lcom/discord/stores/updates/ObservationDeck$UpdateSource;
|
|
|
|
|
|
# instance fields
|
|
.field public final updateSources:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Lcom/discord/stores/updates/ObservationDeck$UpdateSource;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Lcom/discord/stores/Store;-><init>()V
|
|
|
|
new-instance v0, Ljava/util/HashSet;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/discord/stores/StoreV2;->updateSources:Ljava/util/Set;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getUpdateSources()Ljava/util/Set;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Set<",
|
|
"Lcom/discord/stores/updates/ObservationDeck$UpdateSource;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreV2;->updateSources:Ljava/util/Set;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final markChanged()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreV2;->updateSources:Ljava/util/Set;
|
|
|
|
invoke-interface {v0, p0}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final varargs markChanged([Lcom/discord/stores/updates/ObservationDeck$UpdateSource;)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lcom/discord/stores/StoreV2;->markChanged()V
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreV2;->updateSources:Ljava/util/Set;
|
|
|
|
invoke-static {v0, p1}, Lf/i/a/b/i1/e;->addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "updates"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public onDispatchEnded()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreV2;->updateSources:Ljava/util/Set;
|
|
|
|
invoke-interface {v0}, Ljava/util/Set;->clear()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public snapshotData()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|