feat(net): #13 read options2 gated on CHARACTER_OPTIONS2 flag

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erik 2026-05-10 08:46:32 +02:00
parent b17dc3b152
commit 98eebef740
2 changed files with 34 additions and 0 deletions

View file

@ -398,6 +398,9 @@ public static class PlayerDescriptionParser
// to 0 if EOF.
if (payload.Length - pos >= 4)
spellbookFilters = ReadU32(payload, ref pos);
if (optionFlags.HasFlag(CharacterOptionDataFlag.CharacterOptions2))
options2 = ReadU32(payload, ref pos);
}
}
catch (FormatException ex)