|
@@ -1306,6 +1306,7 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
|
{
|
|
|
using (CsvParser csvParser = new CsvParser())
|
|
|
{
|
|
|
+ csvParser.Open(file);
|
|
|
for (int cell_y = 1; cell_y < csvParser.max_cell_y; ++cell_y)
|
|
|
{
|
|
|
if (csvParser.IsCellToExistData(0, cell_y))
|
|
@@ -1330,16 +1331,17 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
|
|
|
|
using (AFileBase file = GameUty.FileSystem.FileOpen("desk_item_detail.nei"))
|
|
|
{
|
|
|
- using (CsvParser csv = new CsvParser())
|
|
|
+ using (CsvParser csvParser = new CsvParser())
|
|
|
{
|
|
|
- for (int index = 1; index < csv.max_cell_y; ++index)
|
|
|
+ csvParser.Open(file);
|
|
|
+ for (int index = 1; index < csvParser.max_cell_y; ++index)
|
|
|
{
|
|
|
- if (csv.IsCellToExistData(0, index))
|
|
|
+ if (csvParser.IsCellToExistData(0, index))
|
|
|
{
|
|
|
- int cellAsInteger = csv.GetCellAsInteger(0, index);
|
|
|
+ int cellAsInteger = csvParser.GetCellAsInteger(0, index);
|
|
|
if (enabled_id_list.Contains(cellAsInteger))
|
|
|
{
|
|
|
- ItemData2 itemData2 = new ItemData2(csv, index);
|
|
|
+ ItemData2 itemData2 = new ItemData2(csvParser, index);
|
|
|
if (itemData2.asset_name != "")
|
|
|
{
|
|
|
stringList12.Add($"{itemData2.name}{twentySpaces}#{itemData2.asset_name}");
|