Data 위치 변경
This commit is contained in:
parent
36e5118c05
commit
a14181e2e5
|
|
@ -1,5 +1,6 @@
|
|||
using NLog;
|
||||
using Server.SQL;
|
||||
using Server.SQL.Excel;
|
||||
using Server.System;
|
||||
|
||||
namespace Server.Manager
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
using Server.Git;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Server.SQL
|
||||
namespace Server.SQL.Excel
|
||||
{
|
||||
public class ConsumableItemData
|
||||
public class ConsumableItemData
|
||||
{
|
||||
[Key]
|
||||
public long index { get; set; }
|
||||
|
|
@ -36,7 +36,7 @@ namespace Server.SQL
|
|||
}
|
||||
public void init(Sheet data)
|
||||
{
|
||||
this.consumableItemData = new Dictionary<long, ConsumableItemData>();
|
||||
consumableItemData = new Dictionary<long, ConsumableItemData>();
|
||||
foreach (var item in data.dicViewer)
|
||||
{
|
||||
ConsumableItemData consumableItemData = new ConsumableItemData();
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Server.Git;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Server.SQL
|
||||
namespace Server.SQL.Excel
|
||||
{
|
||||
public class EquipmentData
|
||||
{
|
||||
|
|
@ -27,7 +27,7 @@ namespace Server.SQL
|
|||
}
|
||||
public void init(Sheet data)
|
||||
{
|
||||
this.equipmentData = new Dictionary<long, EquipmentData>();
|
||||
equipmentData = new Dictionary<long, EquipmentData>();
|
||||
foreach (var item in data.dicViewer)
|
||||
{
|
||||
EquipmentData equipmentData = new EquipmentData();
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Server.SQL
|
||||
namespace Server.SQL.Excel
|
||||
{
|
||||
public class RandomRewardData
|
||||
{
|
||||
|
|
@ -46,7 +46,7 @@ namespace Server.SQL
|
|||
|
||||
public void init(Sheet data)
|
||||
{
|
||||
this.randomRewardData = new Dictionary<long, RandomRewardData>();
|
||||
randomRewardData = new Dictionary<long, RandomRewardData>();
|
||||
foreach (var item in data.dicViewer)
|
||||
{
|
||||
RandomRewardData randomRewardData = new RandomRewardData();
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Server.Git;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Server.SQL
|
||||
namespace Server.SQL.Excel
|
||||
{
|
||||
public class ResetShopItemData
|
||||
{
|
||||
|
|
@ -32,7 +32,7 @@ namespace Server.SQL
|
|||
}
|
||||
public void init(Sheet data)
|
||||
{
|
||||
this.resetShopItemData = new Dictionary<long, ResetShopItemData>();
|
||||
resetShopItemData = new Dictionary<long, ResetShopItemData>();
|
||||
foreach (var item in data.dicViewer)
|
||||
{
|
||||
ResetShopItemData resetShopItemData = new ResetShopItemData();
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Server.Git;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Server.SQL
|
||||
namespace Server.SQL.Excel
|
||||
{
|
||||
public class RewardData
|
||||
{
|
||||
|
|
@ -40,7 +40,7 @@ namespace Server.SQL
|
|||
}
|
||||
public void init(Sheet data)
|
||||
{
|
||||
this.rewardData = new Dictionary<long, RewardData>();
|
||||
rewardData = new Dictionary<long, RewardData>();
|
||||
foreach (var item in data.dicViewer)
|
||||
{
|
||||
RewardData rewardData = new RewardData();
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Server.Git;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Server.SQL
|
||||
namespace Server.SQL.Excel
|
||||
{
|
||||
public class ShopItemData
|
||||
{
|
||||
|
|
@ -37,7 +37,7 @@ namespace Server.SQL
|
|||
}
|
||||
public void init(Sheet data)
|
||||
{
|
||||
this.shopItemData = new Dictionary<long, ShopItemData>();
|
||||
shopItemData = new Dictionary<long, ShopItemData>();
|
||||
foreach (var item in data.dicViewer)
|
||||
{
|
||||
ShopItemData shopItemData = new ShopItemData();
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using Newtonsoft.Json;
|
||||
using Server.SQL.Excel;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Server.SQL
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ using Server.SQL;
|
|||
using Server.Manager;
|
||||
using NLog;
|
||||
using System.Diagnostics;
|
||||
using Server.SQL.Excel;
|
||||
|
||||
namespace Server.Service
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
using Server.System;
|
||||
using Newtonsoft.Json;
|
||||
using Server.SQL;
|
||||
using Server.SQL.Excel;
|
||||
|
||||
namespace Server.Service
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ using Server.SQL;
|
|||
using Server.Manager;
|
||||
using Microsoft.AspNetCore.DataProtection.KeyManagement;
|
||||
using System.Collections.Generic;
|
||||
using Server.SQL.Excel;
|
||||
|
||||
namespace Server.Service
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
using Server.SQL;
|
||||
using Server.SQL.Excel;
|
||||
|
||||
namespace Server.System
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue