ModelManager.cs 738 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace EQ2ModelViewer
  7. {
  8. public class ModelManager
  9. {
  10. private UInt32 id;
  11. private Dictionary<UInt32, Model> model_list = new Dictionary<UInt32, Model>();
  12. private Dictionary<string, UInt32> id_lookup_list = new Dictionary<string, UInt32>();
  13. ModelManager()
  14. {
  15. id = 0;
  16. }
  17. /*public UInt32 AddModel(string file)
  18. {
  19. if (id_lookup_list.ContainsKey(file))
  20. return id_lookup_list[file];
  21. id_lookup_list[file] = id;
  22. Model model = new Model();
  23. //model.Initialize
  24. }*/
  25. }
  26. }