fix: Removes support for v4 Client and old gump packet. (#1739)

### Summary
* Removes old gump packet support
* Removes support for v4 clients
* Removes `Unpack` flag and assumes it is always true.
* Removes StringToBuffer since this is built into .NET now.

> [!Note]
> View the file changes with white space off: https://github.com/modernuo/ModernUO/pull/1739/files?diff=split&w=1
This commit is contained in:
Kamron Batman 2024-04-24 19:39:37 -07:00 committed by GitHub
parent 98d31bc707
commit 9cd84ba3d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 1015 additions and 1191 deletions

View file

@ -282,10 +282,7 @@ public class ClientVersion : IComparable<ClientVersion>, IComparer<ClientVersion
var v when v >= Version6017 => ProtocolChanges.Version6017,
var v when v >= Version6000 => ProtocolChanges.Version6000,
var v when v >= Version502b => ProtocolChanges.Version502b,
var v when v >= Version500a => ProtocolChanges.Version500a,
var v when v >= Version407a => ProtocolChanges.Version407a,
var v when v >= Version400a => ProtocolChanges.Version400a,
_ => ProtocolChanges.None
_ => ProtocolChanges.Version500a, // We do not support versions lower than 5.0.0a
};
}