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:
parent
8c4c30da7d
commit
b71c754738
19 changed files with 113 additions and 133 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue