public static void Refresh() { PlayerLevel.Items.Clear(); using (var excel = new ExcelLoader(Starter.CustomData.GetValue("DataFile/Player"), 3, 4, 5)) { var sheet = excel.GetSheet("player_level").Load(); while (sheet.NextRow()) new PlayerLevel(sheet); } VIPLevel.Items.Clear(); using (var excel = new ExcelLoader(Starter.CustomData.GetValue("DataFile/Player"), 3, 4, 5)) { var sheet = excel.GetSheet("vip_level").Load(); while (sheet.NextRow()) new VIPLevel(sheet); } Energy.Items.Clear(); using (var excel = new ExcelLoader(Starter.CustomData.GetValue("DataFile/Player"), 3, 4, 5)) { var sheet = excel.GetSheet("player_energy").Load(); while (sheet.NextRow()) new Energy(sheet); } }
public static void Refresh() { using (var excel = new ExcelLoader(Starter.CustomData.GetValue("DataFile/MapPvE"), 3, 4, 5)) { Items.Clear(); var sheet = excel.GetSheet("monsterpool").Load(); while (sheet.NextRow()) Items.Add(new MonsterData(sheet)); } }
public static void Refresh() { using (var excel = new ExcelLoader(Starter.CustomData.GetValue("DataFile/MapPvE"), 3, 4, 5)) { Rounds.Clear(); var sheet = excel.GetSheet("round").Load(); while (sheet.NextRow()) new PvE_Round(sheet); } }
public static void Refresh() { using (var excel = new ExcelLoader(Starter.CustomData.GetValue("DataFile/Item"), 3, 4, 5)) { ExcelSheet sheet; Data.Items.Clear(); sheet = excel.GetSheet("book_item").Load(); while (sheet.NextRow()) new Data(sheet); } }
public static void Refresh() { using (var excel = new ExcelLoader(Starter.CustomData.GetValue("DataFile/Codes"), 3, 4, 5)) { ExcelSheet sheet; Energy.Items.Clear(); sheet = excel.GetSheet("code_energy").Load(); while (sheet.NextRow()) new Energy(sheet); Resource.Items.Clear(); sheet = excel.GetSheet("code_resource").Load(); while (sheet.NextRow()) new Resource(sheet); Race.Items.Clear(); sheet = excel.GetSheet("code_race").Load(); while (sheet.NextRow()) new Race(sheet); DamageType.Items.Clear(); sheet = excel.GetSheet("code_damagetype").Load(); while (sheet.NextRow()) new DamageType(sheet); Grade.Items.Clear(); sheet = excel.GetSheet("code_grade").Load(); while (sheet.NextRow()) new Grade(sheet); Promotion.Items.Clear(); sheet = excel.GetSheet("code_promotion").Load(); while (sheet.NextRow()) new Promotion(sheet); Job.Items.Clear(); sheet = excel.GetSheet("code_job").Load(); while (sheet.NextRow()) new Job(sheet); CharacterType.Items.Clear(); sheet = excel.GetSheet("code_charactertype").Load(); while (sheet.NextRow()) new CharacterType(sheet); Position.Items.Clear(); sheet = excel.GetSheet("code_position").Load(); while (sheet.NextRow()) new Position(sheet); } }
internal ExcelSheet(ExcelLoader parent, Sheet sheet) { _parent = parent; _sheet = sheet; }