As some of you should know, I'm working on my rpg project. For this project, I obviously need my own file formats to store all infos I want. To load/save them, I currently use a own content loading system which works fine as it is inteded. However, as I always want to simplify things, I researched a bit if I can also can use the ContentLoader of Delta to avoid having two systems for loading content (To make it better understandable: Content like maps is loaded with my system while Images, Fonts etc would be loaded with the ContentLoader from DE).
My problem is that I didn't exactly understand how I can use your content loader to extend it with own file formats. Currently, all my content is stored as xml file as I want to be able to edit it without the need of any editor or something else while the system is being built. Later, the content will not be as much editable as now as it should be protected from curios people or people who wants to cheat/mess with the content, whatever they intend with their action.
What I want to know is what I have to do to do the following:
Code:ContentLoader.Load<MyContentType>(contentName);
Effectively, there should be then some kind of logic defined, how the content is being processed and it should not be public as I only want that content is loadable with the ContentLoader (my system does actually the same, all content from me is loaded via one single class which handles all the stuff and hides the actual loading routine)
I hope it is understandable what I want, because I had some trouble to explain it :)