RecipieLoader.h 486 B

12345678910111213141516171819
  1. #pragma once
  2. #include <Array.h>
  3. #include "RecipieList.h"
  4. class RecipieLoader : public virtual Framework::ReferenceCounter
  5. {
  6. private:
  7. Framework::RCArray<RecipieList> lists;
  8. Framework::JSON::Validator::JSONValidator* validator;
  9. public:
  10. RecipieLoader();
  11. ~RecipieLoader();
  12. void loadRecipies(const char* path);
  13. RecipieList* zRecipieList(const char* name) const;
  14. void registerRecipieList(const char* name);
  15. Framework::Text getCrafingUIML(int itemTypeId);
  16. };