Class WrapperPlayClientChatCommand
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientChatCommand
Send from client to server when a (signed) command should be executed.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayClientChatCommand
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionGets the signed arguments for this commandcom.comphenix.protocol.events.InternalStructure
Deprecated.Retrieves the name of the command (without arguments)Retrieves the value of field 'lastSeenMessages'com.comphenix.protocol.events.InternalStructure
Deprecated.{UsegetLastSeenMessages()
instead}long
getSalt()
Retrieves the salt to verify signaturesRetrieves the value of field 'timeStamp'void
Sets the signed arguments for this commandvoid
setArgumentSignaturesInternal
(com.comphenix.protocol.events.InternalStructure value) Deprecated.{UsesetArgumentSignatures(WrappedArgumentSignatures)
instead}void
setCommand
(String value) Sets the value of the command without argumentsvoid
Sets the value of field 'lastSeenMessages'void
setLastSeenMessagesInternal
(com.comphenix.protocol.events.InternalStructure value) Deprecated.{UsesetLastSeenMessages(WrappedLastSeenMessagesUpdate)
instead}void
setSalt
(long value) Sets the salt to verify signaturesvoid
setTimeStamp
(Instant value) Sets the value of field 'timeStamp'Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPE
-
-
Constructor Details
-
WrapperPlayClientChatCommand
public WrapperPlayClientChatCommand() -
WrapperPlayClientChatCommand
public WrapperPlayClientChatCommand(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getCommand
Retrieves the name of the command (without arguments)- Returns:
- name of command
-
setCommand
Sets the value of the command without arguments- Parameters:
value
- name of command
-
getTimeStamp
Retrieves the value of field 'timeStamp'- Returns:
- 'timeStamp'
-
setTimeStamp
Sets the value of field 'timeStamp'- Parameters:
value
- New value for field 'timeStamp'
-
getSalt
public long getSalt()Retrieves the salt to verify signatures- Returns:
- 'salt'
-
setSalt
public void setSalt(long value) Sets the salt to verify signatures- Parameters:
value
- New value for field 'salt'
-
getArgumentSignaturesInternal
public com.comphenix.protocol.events.InternalStructure getArgumentSignaturesInternal()Deprecated.{UsegetArgumentSignatures()
instead}Retrieves the value of field 'argumentSignatures'- Returns:
- 'argumentSignatures'
-
setArgumentSignaturesInternal
@Deprecated public void setArgumentSignaturesInternal(com.comphenix.protocol.events.InternalStructure value) Deprecated.{UsesetArgumentSignatures(WrappedArgumentSignatures)
instead}Sets the value of field 'argumentSignatures'- Parameters:
value
- New value for field 'argumentSignatures'
-
getArgumentSignatures
Gets the signed arguments for this command- Returns:
- 'argumentSignatures'
-
setArgumentSignatures
Sets the signed arguments for this command- Parameters:
value
- New value for field 'argumentSignatures'
-
getLastSeenMessagesInternal
public com.comphenix.protocol.events.InternalStructure getLastSeenMessagesInternal()Deprecated.{UsegetLastSeenMessages()
instead}Retrieves the value of field 'lastSeenMessages'- Returns:
- 'lastSeenMessages'
-
setLastSeenMessagesInternal
public void setLastSeenMessagesInternal(com.comphenix.protocol.events.InternalStructure value) Deprecated.{UsesetLastSeenMessages(WrappedLastSeenMessagesUpdate)
instead}Sets the value of field 'lastSeenMessages'- Parameters:
value
- New value for field 'lastSeenMessages'
-
getLastSeenMessages
Retrieves the value of field 'lastSeenMessages'- Returns:
- 'lastSeenMessages'
-
setLastSeenMessages
Sets the value of field 'lastSeenMessages'- Parameters:
value
- New value for field 'lastSeenMessages'
-
getArgumentSignatures()
instead}