Class LegacyChannelIdentifier
java.lang.Object
com.velocitypowered.api.proxy.messages.LegacyChannelIdentifier
- All Implemented Interfaces:
ChannelIdentifier
Represents a legacy channel identifier (for Minecraft 1.12 and below). For modern 1.13 plugin
messages, please see
MinecraftChannelIdentifier
. This class is immutable and safe for
multi-threaded use.-
Constructor Summary
ConstructorDescriptionCreates a new legacy channel identifier. -
Method Summary
-
Constructor Details
-
LegacyChannelIdentifier
Creates a new legacy channel identifier.- Parameters:
name
- the name for the channel
-
-
Method Details
-
getName
-
toString
-
equals
-
hashCode
public int hashCode() -
getId
Description copied from interface:ChannelIdentifier
Returns the textual representation of this identifier.- Specified by:
getId
in interfaceChannelIdentifier
- Returns:
- the textual representation of the identifier
-