Class ServerboundChatSessionUpdatePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatSessionUpdatePacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundChatSessionUpdatePacket(io.netty.buffer.ByteBuf in) ServerboundChatSessionUpdatePacket(UUID sessionId, long expiresAt, PublicKey publicKey, byte[] keySignature) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanlongbyte[]inthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ServerboundChatSessionUpdatePacketwithExpiresAt(long expiresAt) @NonNull ServerboundChatSessionUpdatePacketwithKeySignature(byte[] keySignature) @NonNull ServerboundChatSessionUpdatePacketwithPublicKey(PublicKey publicKey) @NonNull ServerboundChatSessionUpdatePacketwithSessionId(UUID sessionId) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundChatSessionUpdatePacket
public ServerboundChatSessionUpdatePacket(io.netty.buffer.ByteBuf in) -
ServerboundChatSessionUpdatePacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getSessionId
-
getExpiresAt
public long getExpiresAt() -
getPublicKey
-
getKeySignature
public byte[] getKeySignature() -
equals
-
canEqual
-
hashCode
-
toString
-
withSessionId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withExpiresAt
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPublicKey
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withKeySignature
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-