Class ServerPackPacket


  • public class ServerPackPacket
    extends ServerPacket
    Used to pack package sent by server.
    • Constructor Detail

      • ServerPackPacket

        public ServerPackPacket​(Packet packet)
        Constructs a ServerPackPacket
        Parameters:
        packet - the packet sent by server
    • Method Detail

      • getId

        public int getId()
        Description copied from class: Packet
        Get the packet id
        Specified by:
        getId in class Packet
        Returns:
        the packet id
      • getPacket

        public Packet getPacket()