fix: Adds AssistVersion packet support for Razor (#1094)

- [X] Fixes razor negotiations via 0xF0 packet (open negotiation)
- [X] Adds AssistVersion handling for Razor
- [X] Displays Assistant in Client/Admin gump
This commit is contained in:
Kamron Batman 2022-06-28 01:05:00 -07:00 committed by GitHub
parent 7099329dfe
commit a37b8b285c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 87 additions and 52 deletions

View file

@ -550,7 +550,15 @@ namespace Server.Gumps
var v = ns.Version;
AddLabel(20, y, LabelHue, "Version:");
AddLabel(200, y, LabelHue, v == null ? "(null)" : v.ToString());
if (ns.Assistant != null)
{
AddLabel(200, y, LabelHue, $"{v.SourceString ?? "(null)"} ({ns.Assistant})");
}
else
{
AddLabel(200, y, LabelHue, v.SourceString ?? "(null)");
}
y += 20;
AddLabel(20, y, LabelHue, "Location:");