Package me.neznamy.tab.api.protocol
Class PacketPlayOutChat
java.lang.Object
me.neznamy.tab.api.protocol.PacketPlayOutChat
- All Implemented Interfaces:
TabPacket
A class representing platform specific packet class
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAn enum representing positions of a chat message Calling ordinal() will return type's network ID. -
Constructor Summary
ConstructorsConstructorDescriptionPacketPlayOutChat(IChatBaseComponent message, PacketPlayOutChat.ChatMessageType type) Constructs new instance with given parameters -
Method Summary
-
Constructor Details
-
PacketPlayOutChat
Constructs new instance with given parameters- Parameters:
message- Chat message to be senttype- Message position
-
-
Method Details
-
toString
Description copied from interface:TabPacketReturns user-friendly string representation of the packet -
getMessage
Returnsmessage- Returns:
- message
-
getType
Returnstype- Returns:
- type
-