60 lines
3.5 KiB
Java
60 lines
3.5 KiB
Java
package com.discord.stores;
|
|
|
|
import com.discord.models.commands.ApplicationCommandLocalSendData;
|
|
import com.discord.utilities.messagesend.MessageResult;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: StoreApplicationInteractions.kt */
|
|
public final class StoreApplicationInteractions$handleSendApplicationCommandRequest$1 extends o implements Function1<MessageResult, Unit> {
|
|
public final /* synthetic */ ApplicationCommandLocalSendData $localSendData;
|
|
public final /* synthetic */ Function1 $onFail;
|
|
public final /* synthetic */ Function0 $onSuccess;
|
|
public final /* synthetic */ StoreApplicationInteractions this$0;
|
|
|
|
/* compiled from: StoreApplicationInteractions.kt */
|
|
/* renamed from: com.discord.stores.StoreApplicationInteractions$handleSendApplicationCommandRequest$1$1 reason: invalid class name */
|
|
public static final class AnonymousClass1 extends o implements Function0<Unit> {
|
|
public final /* synthetic */ MessageResult $result;
|
|
public final /* synthetic */ StoreApplicationInteractions$handleSendApplicationCommandRequest$1 this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public AnonymousClass1(StoreApplicationInteractions$handleSendApplicationCommandRequest$1 storeApplicationInteractions$handleSendApplicationCommandRequest$1, MessageResult messageResult) {
|
|
super(0);
|
|
this.this$0 = storeApplicationInteractions$handleSendApplicationCommandRequest$1;
|
|
this.$result = messageResult;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
StoreApplicationInteractions$handleSendApplicationCommandRequest$1 storeApplicationInteractions$handleSendApplicationCommandRequest$1 = this.this$0;
|
|
StoreApplicationInteractions.access$handleApplicationCommandResult(storeApplicationInteractions$handleSendApplicationCommandRequest$1.this$0, this.$result, storeApplicationInteractions$handleSendApplicationCommandRequest$1.$localSendData, storeApplicationInteractions$handleSendApplicationCommandRequest$1.$onSuccess, storeApplicationInteractions$handleSendApplicationCommandRequest$1.$onFail);
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public StoreApplicationInteractions$handleSendApplicationCommandRequest$1(StoreApplicationInteractions storeApplicationInteractions, ApplicationCommandLocalSendData applicationCommandLocalSendData, Function0 function0, Function1 function1) {
|
|
super(1);
|
|
this.this$0 = storeApplicationInteractions;
|
|
this.$localSendData = applicationCommandLocalSendData;
|
|
this.$onSuccess = function0;
|
|
this.$onFail = function1;
|
|
}
|
|
|
|
/* 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(MessageResult messageResult) {
|
|
invoke(messageResult);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(MessageResult messageResult) {
|
|
m.checkNotNullParameter(messageResult, "result");
|
|
StoreApplicationInteractions.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this, messageResult));
|
|
}
|
|
}
|