Class WrapperPlayClientChatCommand.WrappedArgumentSignature
java.lang.Object
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientChatCommand.WrappedArgumentSignature
- Enclosing class:
- WrapperPlayClientChatCommand
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedArgumentSignature
(String name, com.comphenix.protocol.wrappers.WrappedMessageSignature signature) Creates a new argument with corresponding signature -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Get the name of the signed argumentcom.comphenix.protocol.wrappers.WrappedMessageSignature
Gets the signature of the signed argumentint
hashCode()
void
Set the name of the signed argumentvoid
setSignature
(com.comphenix.protocol.wrappers.WrappedMessageSignature signature) Sets the signature of the signed argumenttoString()
-
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 argumentsignature
- Signature of the argument
-
WrappedArgumentSignature
public WrappedArgumentSignature()
-
-
Method Details
-
toString
-
getName
Get the name of the signed argument- Returns:
- name of the signed agument
-
setName
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
-
hashCode
public int hashCode()
-