Package top.focess.qq.api.net.packet
Class MessagePacket
- java.lang.Object
-
- top.focess.qq.api.net.packet.Packet
-
- top.focess.qq.api.net.packet.MessagePacket
-
public class MessagePacket extends Packet
Used to send String message.
-
-
Field Summary
Fields Modifier and Type Field Description static intPACKET_ID
-
Constructor Summary
Constructors Constructor Description MessagePacket(String message)Constructs a MessagePacket
-
-
-
Field Detail
-
PACKET_ID
public static final int PACKET_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MessagePacket
public MessagePacket(String message)
Constructs a MessagePacket- Parameters:
message- the message
-
-