Better data system #101

Closed
opened 2021-04-30 09:22:07 +02:00 by kazhnuz · 1 comment
Owner

For the moment, Radiance gamedata management is isolated in a lot of "utils" files that manage themselves their data. I think that a birb core data manager should be done for that.

It would handle the following:

  • Indexing all the data files (not requiring them, it'll just index)
  • Categorize them using their folder structure, but also be able to get them directly by their filename.
  • Be able to handle both "simple" files (like itemdata) or splitted (like the player data).
  • Know if a data is missing/doesn't exists
  • Asking for files to be unique or not (for instance for itemdata)
  • Be able to simply get the category/folder structure of a file.
  • Throw error if we are trying to get a non-existing data file.
  • Handle maybe data validation ? I feel that it should be more in a special validator utility

Doing that could save us a lot of devtime in the future.

For the moment, Radiance gamedata management is isolated in a lot of "utils" files that manage themselves their data. I think that a birb core data manager should be done for that. It would handle the following: - Indexing all the data files (not requiring them, it'll just index) - Categorize them using their folder structure, but also be able to get them directly by their filename. - Be able to handle both "simple" files (like itemdata) or splitted (like the player data). - Know if a data is missing/doesn't exists - Asking for files to be unique or not (for instance for itemdata) - Be able to simply get the category/folder structure of a file. - Throw error if we are trying to get a non-existing data file. - Handle maybe data validation ? I feel that it should be more in a special validator utility Doing that could save us a lot of devtime in the future.
kazhnuz added the
2. Deliverable
4. Internals
1. Clean-up
labels 2021-04-30 09:22:07 +02:00
kazhnuz added this to the Code Cleanup project 2021-04-30 09:22:07 +02:00
Author
Owner

Done

Done
Sign in to join this conversation.
No description provided.