Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Add ability to manually define item changes #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

P0keDev
Copy link
Member

@P0keDev P0keDev commented Oct 13, 2021

Adds functionality that merges item changes defined in Data Storage with the Wynncraft API while generating the item list cache. This includes defining completely new items to append to the list.

One potential concern I had is that new items are appended as regular JSONObjects instead of JSONOrderedObjects, which means the elements within the item object have different orders. This appears to have no affect on Athena's ability to generate the cache, and as far as I am aware it should not affect Wynntils clients reading the data, but I would appreciate confirmation on these two things.

After testing, I can confirm that the irregular ordering has no effect on the client.

@P0keDev P0keDev requested a review from HeyZeer0 October 13, 2021 01:28
@Incompleteusern
Copy link

Seems good to me, other than the potential JSONOrderedObject problem

@P0keDev P0keDev marked this pull request as draft October 15, 2021 09:25
@P0keDev
Copy link
Member Author

P0keDev commented Oct 15, 2021

Realized the current code is not compatible with IDs being added to items, will fix

@P0keDev P0keDev marked this pull request as ready for review October 15, 2021 20:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants