44 lines
1.8 KiB
Java
44 lines
1.8 KiB
Java
package com.discord.stores;
|
|
|
|
import com.discord.gateway.GatewaySocket;
|
|
import com.discord.gateway.io.OutgoingPayload;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: StoreGatewayConnection.kt */
|
|
public final class StoreGatewayConnection$requestApplicationCommands$1 extends o implements Function1<GatewaySocket, Unit> {
|
|
public final /* synthetic */ boolean $applications;
|
|
public final /* synthetic */ int $commandLimit;
|
|
public final /* synthetic */ long $guildId;
|
|
public final /* synthetic */ String $nonce;
|
|
public final /* synthetic */ Integer $offset;
|
|
public final /* synthetic */ String $query;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public StoreGatewayConnection$requestApplicationCommands$1(long j, String str, boolean z2, Integer num, String str2, int i) {
|
|
super(1);
|
|
this.$guildId = j;
|
|
this.$nonce = str;
|
|
this.$applications = z2;
|
|
this.$offset = num;
|
|
this.$query = str2;
|
|
this.$commandLimit = i;
|
|
}
|
|
|
|
/* 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(GatewaySocket gatewaySocket) {
|
|
invoke(gatewaySocket);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(GatewaySocket gatewaySocket) {
|
|
m.checkNotNullParameter(gatewaySocket, "it");
|
|
long j = this.$guildId;
|
|
String str = this.$nonce;
|
|
boolean z2 = this.$applications;
|
|
gatewaySocket.requestApplicationCommands(new OutgoingPayload.ApplicationCommandRequest(j, this.$query, this.$offset, Integer.valueOf(this.$commandLimit), z2, str));
|
|
}
|
|
}
|