Converts targeting packets (#330)

- [X] Converts targeting packets.

### BREAKING CHANGE TO TARGET CLASS

```cs
public virtual Packet GetPacketFor(NetState ns)
```

Changed to:
```cs
public virtual void SendPacketTo(NetState ns)
```

Bumps release version
This commit is contained in:
Kamron Batman 2020-11-29 23:01:31 -08:00 • committed by GitHub
parent 8c4c30da7d
commit b71c754738
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 113 additions and 133 deletions

View file

@ -18,14 +18,6 @@ namespace Server.Targeting
public Point3D Offset { get; set; }
public override Packet GetPacketFor(NetState ns)
{
if (ns.HighSeas)
{
return new MultiTargetReqHS(this);
}
return new MultiTargetReq(this);
}
public override void SendTargetTo(NetState ns) => ns.SendMultiTargetReq(this);
}
}