Closed IDjinn closed 2 years ago
Should _figureDataManager.ProcessFigure
moved into wardrobe manager logic?
I would create a FigureValidator class and rename the process method to Validate
Yeah, I thought same. But if i touch that will need refract 😆
I will do soon
I quite like the plus validator, but all the figure parts and colours should be stored in the database (similar to item_data -> furnidata). Then we can avoid loading in the xml file.
The only downside to this is that when you add new clothing you'll have to add a new entry into the database, but I don't see this being too much off an issue since its already done for items.
Imo, furnidata, figuredata ext should all be auto generated from the database anyway.
I would follow Damiens suggestion and move all the xml stuff to the database. Add a command (console & room & rcon) to generate the XML files. For nitro we probably would have to generate some json files right?
For nitro we probably would have to generate some json files right?
I have no clue how nitro assets work, I appreciate help when need do that
It's probably not best to handle generating the XML/nitro files in the scope of the emulator. This functionality is best suited as a plugin or another external program.
If we were to host it in the database for figure validation; anyone who runs this emulator has to rely on this feature or do the modifications twice.
Also there is no plugin system yet.
Done.
Outdated
TODO: when ClothingComponent will be refractored need update
FigureDataManager.ValidateFigure
logic