45 lines
2.1 KiB
Java
45 lines
2.1 KiB
Java
package com.discord.gateway;
|
|
|
|
import com.discord.gateway.GatewaySocket;
|
|
import com.discord.gateway.io.Outgoing;
|
|
import com.discord.gateway.io.OutgoingPayload;
|
|
import com.discord.gateway.opcodes.Opcode;
|
|
import com.discord.utilities.logging.Logger;
|
|
import com.google.gson.Gson;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import java.util.List;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: GatewaySocket.kt */
|
|
public final class GatewaySocket$requestGuildMembers$1 extends o implements Function0<Unit> {
|
|
public final /* synthetic */ List $guildIds;
|
|
public final /* synthetic */ Integer $limit;
|
|
public final /* synthetic */ String $query;
|
|
public final /* synthetic */ List $userIds;
|
|
public final /* synthetic */ GatewaySocket this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public GatewaySocket$requestGuildMembers$1(GatewaySocket gatewaySocket, List list, String str, List list2, Integer num) {
|
|
super(0);
|
|
this.this$0 = gatewaySocket;
|
|
this.$guildIds = list;
|
|
this.$query = str;
|
|
this.$userIds = list2;
|
|
this.$limit = num;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
OutgoingPayload.GuildMembersRequest guildMembersRequest = new OutgoingPayload.GuildMembersRequest(this.$guildIds, this.$query, this.$userIds, this.$limit, false, 16, null);
|
|
GatewaySocket.Companion companion = GatewaySocket.Companion;
|
|
Logger access$getLogger$p = GatewaySocket.access$getLogger$p(this.this$0);
|
|
GatewaySocket.Companion.log$default(companion, access$getLogger$p, "Sending guild member request: " + guildMembersRequest, false, 2, null);
|
|
GatewaySocket gatewaySocket = this.this$0;
|
|
Outgoing outgoing = new Outgoing(Opcode.REQUEST_GUILD_MEMBERS, guildMembersRequest);
|
|
Gson access$getGsonOmitNulls$cp = GatewaySocket.access$getGsonOmitNulls$cp();
|
|
m.checkNotNullExpressionValue(access$getGsonOmitNulls$cp, "gsonOmitNulls");
|
|
GatewaySocket.send$default(gatewaySocket, outgoing, false, access$getGsonOmitNulls$cp, 2, null);
|
|
}
|
|
}
|