58 lines
2.7 KiB
Java
58 lines
2.7 KiB
Java
package com.discord.stores;
|
|
|
|
import com.discord.api.guildscheduledevent.GuildScheduledEvent;
|
|
import d0.t.u;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: StoreGuildScheduledEvents.kt */
|
|
public final class StoreGuildScheduledEvents$fetchGuildScheduledEventUserCounts$1 extends o implements Function1<List<? extends GuildScheduledEvent>, Unit> {
|
|
public final /* synthetic */ long $guildId;
|
|
public final /* synthetic */ StoreGuildScheduledEvents this$0;
|
|
|
|
/* compiled from: StoreGuildScheduledEvents.kt */
|
|
/* renamed from: com.discord.stores.StoreGuildScheduledEvents$fetchGuildScheduledEventUserCounts$1$1 reason: invalid class name */
|
|
public static final class AnonymousClass1 extends o implements Function0<Unit> {
|
|
public final /* synthetic */ List $events;
|
|
public final /* synthetic */ StoreGuildScheduledEvents$fetchGuildScheduledEventUserCounts$1 this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public AnonymousClass1(StoreGuildScheduledEvents$fetchGuildScheduledEventUserCounts$1 storeGuildScheduledEvents$fetchGuildScheduledEventUserCounts$1, List list) {
|
|
super(0);
|
|
this.this$0 = storeGuildScheduledEvents$fetchGuildScheduledEventUserCounts$1;
|
|
this.$events = list;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
StoreGuildScheduledEvents.access$getGuildScheduledEvents$p(this.this$0.this$0).put(Long.valueOf(this.this$0.$guildId), u.toMutableList((Collection) this.$events));
|
|
this.this$0.this$0.markChanged();
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public StoreGuildScheduledEvents$fetchGuildScheduledEventUserCounts$1(StoreGuildScheduledEvents storeGuildScheduledEvents, long j) {
|
|
super(1);
|
|
this.this$0 = storeGuildScheduledEvents;
|
|
this.$guildId = j;
|
|
}
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(List<? extends GuildScheduledEvent> list) {
|
|
invoke((List<GuildScheduledEvent>) list);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(List<GuildScheduledEvent> list) {
|
|
m.checkNotNullParameter(list, "events");
|
|
StoreGuildScheduledEvents.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this, list));
|
|
}
|
|
}
|