Exemplo n.º 1
0
 public static void HandlePacketRespawn(Client client, RespawnPacket packet)
 {
     client.Owner.HandleRespawn();
 }
Exemplo n.º 2
0
 private void OnRespawn(RespawnPacket p)
 {
     if (Respawn != null) Respawn.Invoke(this, new PacketEventArgs<RespawnPacket>(p));
 }
Exemplo n.º 3
0
        public static void ReadRespawn(Client client, PacketReader reader)
        {
            RespawnPacket rp = new RespawnPacket();
            rp.Read(reader);

            if (!reader.Failed)
                Client.HandlePacketRespawn(client, rp);
        }