public class C2SLoginKeyPacket
extends java.lang.Object
implements net.raphimc.netminecraft.packet.Packet
| Modifier and Type | Field and Description |
|---|---|
byte[] |
encryptedNonce |
byte[] |
encryptedSecretKey |
java.lang.Long |
salt |
byte[] |
signature |
| Constructor and Description |
|---|
C2SLoginKeyPacket() |
C2SLoginKeyPacket(byte[] encryptedSecretKey,
byte[] encryptedNonce) |
C2SLoginKeyPacket(byte[] encryptedSecretKey,
long salt,
byte[] signature) |
| Modifier and Type | Method and Description |
|---|---|
void |
read(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion) |
void |
write(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion) |
public byte[] encryptedSecretKey
public byte[] encryptedNonce
public java.lang.Long salt
public byte[] signature
public C2SLoginKeyPacket()
public C2SLoginKeyPacket(byte[] encryptedSecretKey,
byte[] encryptedNonce)
public C2SLoginKeyPacket(byte[] encryptedSecretKey,
long salt,
byte[] signature)
public void read(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion)
read in interface net.raphimc.netminecraft.packet.Packetpublic void write(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion)
write in interface net.raphimc.netminecraft.packet.Packet