Package top.focess.qq.api.net.packet
Class SidedConnectPacket
- java.lang.Object
-
- top.focess.qq.api.net.packet.Packet
-
- top.focess.qq.api.net.packet.SidedConnectPacket
-
- All Implemented Interfaces:
Serializable,FocessSerializable
public class SidedConnectPacket extends Packet
Used to connect to the server.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intPACKET_ID
-
Constructor Summary
Constructors Constructor Description SidedConnectPacket(String name)Constructs a SidedConnectPacket
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()Get the packet idStringgetName()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface top.focess.qq.api.serialize.FocessSerializable
serialize
-
-
-
-
Field Detail
-
PACKET_ID
public static final int PACKET_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SidedConnectPacket
public SidedConnectPacket(String name)
Constructs a SidedConnectPacket- Parameters:
name- the client name
-
-