Class WrapperPlayClientChatCommand

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientChatCommand

public class WrapperPlayClientChatCommand extends AbstractPacket
Send from client to server when a (signed) command should be executed.
  • 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

      public String getCommand()
      Retrieves the name of the command (without arguments)
      Returns:
      name of command
    • setCommand

      public void setCommand(String value)
      Sets the value of the command without arguments
      Parameters:
      value - name of command
    • getTimeStamp

      public Instant getTimeStamp()
      Retrieves the value of field 'timeStamp'
      Returns:
      'timeStamp'
    • setTimeStamp

      public void setTimeStamp(Instant value)
      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.
      Retrieves the value of field 'argumentSignatures'
      Returns:
      'argumentSignatures'
    • setArgumentSignaturesInternal

      @Deprecated public void setArgumentSignaturesInternal(com.comphenix.protocol.events.InternalStructure value)
      Sets the value of field 'argumentSignatures'
      Parameters:
      value - New value for field 'argumentSignatures'
    • getArgumentSignatures

      Gets the signed arguments for this command
      Returns:
      'argumentSignatures'
    • setArgumentSignatures

      public void setArgumentSignatures(WrapperPlayClientChatCommand.WrappedArgumentSignatures value)
      Sets the signed arguments for this command
      Parameters:
      value - New value for field 'argumentSignatures'
    • getLastSeenMessagesInternal

      public com.comphenix.protocol.events.InternalStructure getLastSeenMessagesInternal()
      Deprecated.
      {Use getLastSeenMessages() instead}
      Retrieves the value of field 'lastSeenMessages'
      Returns:
      'lastSeenMessages'
    • setLastSeenMessagesInternal

      public void setLastSeenMessagesInternal(com.comphenix.protocol.events.InternalStructure value)
      Sets the value of field 'lastSeenMessages'
      Parameters:
      value - New value for field 'lastSeenMessages'
    • getLastSeenMessages

      public WrappedLastSeenMessagesUpdate getLastSeenMessages()
      Retrieves the value of field 'lastSeenMessages'
      Returns:
      'lastSeenMessages'
    • setLastSeenMessages

      public void setLastSeenMessages(WrappedLastSeenMessagesUpdate value)
      Sets the value of field 'lastSeenMessages'
      Parameters:
      value - New value for field 'lastSeenMessages'