Class ServerboundChatCommandSignedPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.ServerboundChatCommandSignedPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundChatCommandSignedPacket(io.netty.buffer.ByteBuf in) ServerboundChatCommandSignedPacket(String command, long timeStamp, long salt, List<ArgumentSignature> signatures, int offset, BitSet acknowledgedMessages, byte checksum) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanbyteintlonggetSalt()longinthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ServerboundChatCommandSignedPacketwithAcknowledgedMessages(BitSet acknowledgedMessages) @NonNull ServerboundChatCommandSignedPacketwithChecksum(byte checksum) @NonNull ServerboundChatCommandSignedPacketwithCommand(String command) @NonNull ServerboundChatCommandSignedPacketwithOffset(int offset) @NonNull ServerboundChatCommandSignedPacketwithSalt(long salt) @NonNull ServerboundChatCommandSignedPacketwithSignatures(List<ArgumentSignature> signatures) @NonNull ServerboundChatCommandSignedPacketwithTimeStamp(long timeStamp) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.mcprotocollib.network.packet.Packet
isTerminal, shouldRunOnGameThread
-
Constructor Details
-
ServerboundChatCommandSignedPacket
public ServerboundChatCommandSignedPacket(io.netty.buffer.ByteBuf in) -
ServerboundChatCommandSignedPacket
public ServerboundChatCommandSignedPacket(String command, long timeStamp, long salt, List<ArgumentSignature> signatures, int offset, BitSet acknowledgedMessages, byte checksum)
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getCommand
-
getTimeStamp
public long getTimeStamp() -
getSalt
public long getSalt() -
getSignatures
-
getOffset
public int getOffset() -
getAcknowledgedMessages
-
getChecksum
public byte getChecksum() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withCommand
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTimeStamp
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSalt
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSignatures
public @NonNull ServerboundChatCommandSignedPacket withSignatures(List<ArgumentSignature> signatures) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withOffset
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAcknowledgedMessages
public @NonNull ServerboundChatCommandSignedPacket withAcknowledgedMessages(BitSet acknowledgedMessages) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withChecksum
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-