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:
parent
98d31bc707
commit
9cd84ba3d6
14 changed files with 1015 additions and 1191 deletions
|
|
@ -20,8 +20,6 @@ namespace Server.Gumps;
|
|||
|
||||
public class GumpGroup : GumpEntry
|
||||
{
|
||||
private static byte[] _group1 = Gump.StringToBuffer("{ group 1 }");
|
||||
|
||||
public GumpGroup(int group) => Group = group;
|
||||
|
||||
public int Group { get; set; }
|
||||
|
|
@ -30,7 +28,7 @@ public class GumpGroup : GumpEntry
|
|||
{
|
||||
if (Group == 1)
|
||||
{
|
||||
writer.Write(_group1);
|
||||
writer.Write("{ group 1 }"u8);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue