freshcoders / discorki

MIT License
1 stars 0 forks source link

Load game constants on startup and save to the db #16

Closed jessedezwart closed 1 year ago

jessedezwart commented 1 year ago

Currently, the game constants are static json files downloaded from the Riot developer docs. With the GameConstantService class you can get values out of those json files. This is slow.

The better way would be to retrieve them on app startup and save these to the database (or store them in memory).

ikdekker commented 1 year ago

Related to #45

jessedezwart commented 1 year ago

That's a very nice solution.