Modernize code#6
Modernize code#6Haselnussbomber wants to merge 1 commit intoperchbirdd:mainfrom Haselnussbomber:update
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
I just checked the current HandleName function again and it turns out PrefPro never supported replacing names in expressions to begin with. It compares full payloads with the For example the name in quest/014/GaiUsd017_01412 Row 55 wouldn't be modified:
|
|
Thank you Hassel, I incorporated the compatible changes from your branch with Nebel's adjustments and modular hooks. Thank you! |
Unfortunately, I worked on this aside from knowing nebel is working on #5.
My PR could use some testing though, as I've only tried it out on a couple NPCs.
Main changes:
ReadOnlySeStringSpanandSeStringBuilderfrom using Lumina instead of DalamudsSeStringclass.byte[]comparisons for more self-explaining code.PlayerState.Config window changes:
I formatted the whole codebase with VS, so sorry about that. You don't have to merge this if you don't want to! 🙂
Edit: Drafted. I PR’d it too early, the payloads need to be looped over recursively, which makes things a bit more difficult.