Class WrapperPlayClientChatCommand.WrappedArgumentSignature

java.lang.Object
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientChatCommand.WrappedArgumentSignature
Enclosing class:
WrapperPlayClientChatCommand

public static class WrapperPlayClientChatCommand.WrappedArgumentSignature extends Object
  • Constructor Details

    • WrappedArgumentSignature

      public WrappedArgumentSignature(String name, com.comphenix.protocol.wrappers.WrappedMessageSignature signature)
      Creates a new argument with corresponding signature
      Parameters:
      name - Name of the argument
      signature - Signature of the argument
    • WrappedArgumentSignature

      public WrappedArgumentSignature()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getName

      public String getName()
      Get the name of the signed argument
      Returns:
      name of the signed agument
    • setName

      public void setName(String name)
      Set the name of the signed argument
      Parameters:
      name - name of signed argument
    • getSignature

      public com.comphenix.protocol.wrappers.WrappedMessageSignature getSignature()
      Gets the signature of the signed argument
      Returns:
      signature of signed argument
    • setSignature

      public void setSignature(com.comphenix.protocol.wrappers.WrappedMessageSignature signature)
      Sets the signature of the signed argument
      Parameters:
      signature - signature of signed argument
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object