Class PluginMessage
java.lang.Object
net.glowstone.net.message.play.game.PluginMessage
- All Implemented Interfaces:
com.flowpowered.network.Message
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static PluginMessage
fromString
(@NonNls String channel, String text) Creates a message whose contents are a string in UTF8.byte[]
getData()
int
hashCode()
toString()
-
Constructor Details
-
PluginMessage
-
-
Method Details
-
fromString
Creates a message whose contents are a string in UTF8.- Parameters:
channel
- the plugin message channeltext
- the contents as a string- Returns:
- a message for
channel
containing a UTF8-encoded copy oftext
-
getChannel
-
getData
public byte[] getData() -
equals
-
hashCode
public int hashCode() -
toString
-