#pragma once #include #include #include namespace GlobalMonsterScript { // 怪物配置 struct MonsterConfig { //编号 int id = -1; //名称 std::string name = "none"; //动作动画 std::map animationPath; //所在文件夹 std::string folder = "none"; }; // 读取怪物列表 std::map InitMonsterLst(); // 读取怪物数据 MonsterConfig ReadMonsterConfig(std::string path); }