Class GsonConnectionPacket

java.lang.Object
dev.forbit.server.abstracts.Packet
dev.forbit.server.networks.gson.GSONPacket
dev.forbit.server.networks.gson.packets.GsonConnectionPacket
All Implemented Interfaces:
PacketInterface, ConnectionPacket

public class GsonConnectionPacket extends GSONPacket implements ConnectionPacket
  • Constructor Details

    • GsonConnectionPacket

      public GsonConnectionPacket()
  • Method Details

    • receive

      public void receive(Client client)
      Description copied from interface: PacketInterface
      Method called when the packet is received by the server and information is loaded
      Specified by:
      receive in interface PacketInterface
      Parameters:
      client - the client that sent the packet