Package top.focess.qq.api.net.packet
Class ServerPackPacket
- java.lang.Object
-
- top.focess.qq.api.net.packet.Packet
-
- top.focess.qq.api.net.packet.ServerPacket
-
- top.focess.qq.api.net.packet.ServerPackPacket
-
- All Implemented Interfaces:
Serializable,FocessSerializable
public class ServerPackPacket extends ServerPacket
Used to pack package sent by server.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intPACKET_ID
-
Constructor Summary
Constructors Constructor Description ServerPackPacket(Packet packet)Constructs a ServerPackPacket
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()Get the packet idPacketgetPacket()-
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
-
ServerPackPacket
public ServerPackPacket(Packet packet)
Constructs a ServerPackPacket- Parameters:
packet- the packet sent by server
-
-