feat(net): #13 read optional spellbook_filters u32
This commit is contained in:
parent
75e8e260f2
commit
b17dc3b152
2 changed files with 32 additions and 0 deletions
|
|
@ -393,6 +393,11 @@ public static class PlayerDescriptionParser
|
|||
desiredComps.Add((id, amt));
|
||||
}
|
||||
}
|
||||
|
||||
// holtburger events.rs:576-582 — spellbook_filters is optional; defaults
|
||||
// to 0 if EOF.
|
||||
if (payload.Length - pos >= 4)
|
||||
spellbookFilters = ReadU32(payload, ref pos);
|
||||
}
|
||||
}
|
||||
catch (FormatException ex)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue