git 버그 수정
This commit is contained in:
parent
adeab5d34f
commit
5d97bbfd55
|
|
@ -168,21 +168,27 @@ namespace Server.Git
|
||||||
public void DataSet()
|
public void DataSet()
|
||||||
{
|
{
|
||||||
int index = -1;
|
int index = -1;
|
||||||
|
|
||||||
index = sheets.FindIndex(n => n.name == Statics.equipmentExcel.sheetName);
|
index = sheets.FindIndex(n => n.name == Statics.equipmentExcel.sheetName);
|
||||||
if(index != -1)
|
if(index != -1)
|
||||||
Statics.equipmentExcel.init(sheets[index]);
|
Statics.equipmentExcel.init(sheets[index]);
|
||||||
|
|
||||||
index = sheets.FindIndex(n => n.name == Statics.randomRewardExcel.sheetName);
|
index = sheets.FindIndex(n => n.name == Statics.randomRewardExcel.sheetName);
|
||||||
if (index != -1)
|
if (index != -1)
|
||||||
Statics.randomRewardExcel.init(sheets[index]);
|
Statics.randomRewardExcel.init(sheets[index]);
|
||||||
|
|
||||||
index = sheets.FindIndex(n => n.name == Statics.rewardExcel.sheetName);
|
index = sheets.FindIndex(n => n.name == Statics.rewardExcel.sheetName);
|
||||||
if (index != -1)
|
if (index != -1)
|
||||||
Statics.rewardExcel.init(sheets[index]);
|
Statics.rewardExcel.init(sheets[index]);
|
||||||
|
|
||||||
index = sheets.FindIndex(n => n.name == Statics.shopItemExcel.sheetName);
|
index = sheets.FindIndex(n => n.name == Statics.shopItemExcel.sheetName);
|
||||||
if (index != -1)
|
if (index != -1)
|
||||||
Statics.shopItemExcel.init(sheets[index]);
|
Statics.shopItemExcel.init(sheets[index]);
|
||||||
|
|
||||||
index = sheets.FindIndex(n => n.name == Statics.consumableItemExcel.sheetName);
|
index = sheets.FindIndex(n => n.name == Statics.consumableItemExcel.sheetName);
|
||||||
if (index != -1)
|
if (index != -1)
|
||||||
Statics.consumableItemExcel.init(sheets[index]);
|
Statics.consumableItemExcel.init(sheets[index]);
|
||||||
|
|
||||||
index = sheets.FindIndex(n => n.name == Statics.resetShopItemExcel.sheetName);
|
index = sheets.FindIndex(n => n.name == Statics.resetShopItemExcel.sheetName);
|
||||||
if (index != -1)
|
if (index != -1)
|
||||||
Statics.resetShopItemExcel.init(sheets[index]);
|
Statics.resetShopItemExcel.init(sheets[index]);
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ namespace Server.SQL
|
||||||
public void init(Sheet data)
|
public void init(Sheet data)
|
||||||
{
|
{
|
||||||
this.resetShopItemData = new Dictionary<long, ResetShopItemData>();
|
this.resetShopItemData = new Dictionary<long, ResetShopItemData>();
|
||||||
Console.WriteLine($"----------------------------{sheetName}----------------------------");
|
|
||||||
foreach (var item in data.dicViewer)
|
foreach (var item in data.dicViewer)
|
||||||
{
|
{
|
||||||
ResetShopItemData resetShopItemData = new ResetShopItemData();
|
ResetShopItemData resetShopItemData = new ResetShopItemData();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue