Package top.focess.qq.api.net.packet
Class ConnectPacket
- java.lang.Object
-
- top.focess.qq.api.net.packet.Packet
-
- top.focess.qq.api.net.packet.ConnectPacket
-
public class ConnectPacket extends Packet
Used to connect to the server.
-
-
Field Summary
Fields Modifier and Type Field Description static intPACKET_ID
-
Constructor Summary
Constructors Constructor Description ConnectPacket(String host, int port, String name)Constructs a ConnectPacket
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHost()intgetId()Get the packet idStringgetName()intgetPort()
-
-
-
Field Detail
-
PACKET_ID
public static final int PACKET_ID
- See Also:
- Constant Field Values
-
-