Skip to content

Conversation

@Makar8000
Copy link

Why?

  • Make it easier to visually compare generated opcodes against other resources, such as Flawed's output or on the Machina.FFXIV repo
  • Make it easier to copy-paste output from this application onto the OverlayPlugin's opcodes.jsonc file

I'm not familiar with JsonNodes in C# so if there is a cleaner way to do stuff like this:

var sortOrder = opcodeMapData[inputMapKey]?.AsObject().ToDictionary().Keys.ToArray();

...do let me know!

@valarnin
Copy link
Contributor

I think the more "correct" way to handle this would be to do the initial deserialization to a type that preserves order (e.g. OrderedDictionary), rather than deserializing to a JsonNode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants