mirror of
https://github.com/funkemunky/KauriV3.git
synced 2026-05-31 05:51:55 +00:00
Adding ignored files
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
package dev.brighten.ac.packet.wrapper.out;
|
||||
|
||||
import dev.brighten.ac.packet.wrapper.PacketType;
|
||||
import dev.brighten.ac.packet.wrapper.WPacket;
|
||||
import dev.brighten.ac.utils.math.IntVector;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Getter;
|
||||
import org.bukkit.Material;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Builder
|
||||
@Getter
|
||||
public class WPacketPlayOutMapChunk extends WPacket {
|
||||
|
||||
private Map<IntVector, MinBlock> blocks;
|
||||
|
||||
@Override
|
||||
public PacketType getPacketType() {
|
||||
return PacketType.MAP_CHUNK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getPacket() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@AllArgsConstructor
|
||||
public static class MinBlock {
|
||||
public Material material;
|
||||
public byte data;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package dev.brighten.ac.packet.wrapper.out;
|
||||
|
||||
import dev.brighten.ac.Anticheat;
|
||||
import dev.brighten.ac.packet.wrapper.PacketType;
|
||||
import dev.brighten.ac.packet.wrapper.WPacket;
|
||||
import lombok.Builder;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Builder
|
||||
public class WPacketPlayOutTransaction extends WPacket {
|
||||
|
||||
private int id;
|
||||
private short action;
|
||||
private boolean accept;
|
||||
|
||||
@Override
|
||||
public PacketType getPacketType() {
|
||||
return PacketType.SERVER_TRANSACTION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getPacket() {
|
||||
return Anticheat.INSTANCE.getPacketProcessor().getPacketConverter().processServerTransaction(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user