#include "EquipmentConfig.h"
#include "Asset/AssetManager.h"
#include "Tool/Tool_String.h"
namespace GlobalEquipmentScript
{

    std::map<int, std::string> InitEquipmentLst()
    {
        std::map<int, std::string> EquipList;
        ScriptData Data = AssetManager::GetInstance().GetScriptInfo("equipment/equipment.lst");
        while (!Data.IsEnd())
        {
            std::string Index = Data.Get();
            std::string EquipInfoPath = std::string("equipment/") + Data.Get();
            EquipList[std::stoi(Index)] = EquipInfoPath;
        }
        return EquipList;
    }
}