![JAR search and dependency download from the Maven repository](/logo.png)
emu.grasscutter.server.packet.send.PacketCombatInvocationsNotify Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grasscutter Show documentation
Show all versions of grasscutter Show documentation
A server software reimplementation for an anime game.
package emu.grasscutter.server.packet.send;
import java.util.List;
import emu.grasscutter.net.packet.BasePacket;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.CombatInvocationsNotifyOuterClass.CombatInvocationsNotify;
import emu.grasscutter.net.proto.CombatInvokeEntryOuterClass.CombatInvokeEntry;
public class PacketCombatInvocationsNotify extends BasePacket {
public PacketCombatInvocationsNotify(CombatInvokeEntry entry) {
super(PacketOpcodes.CombatInvocationsNotify, true);
CombatInvocationsNotify proto = CombatInvocationsNotify.newBuilder()
.addInvokeList(entry)
.build();
this.setData(proto);
}
public PacketCombatInvocationsNotify(List entries) {
super(PacketOpcodes.CombatInvocationsNotify, true);
CombatInvocationsNotify proto = CombatInvocationsNotify.newBuilder()
.addAllInvokeList(entries)
.build();
this.setData(proto);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy