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:
parent
b17dc3b152
commit
98eebef740
2 changed files with 34 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue