public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { CopyPrototypeTbl record = new CopyPrototypeTbl(); record.MarkDes = table.GetString(i, "MarkDes"); record.NameImg = table.GetString(i, "NameImg"); record.BgImg = table.GetString(i, "BgImg"); record.Unlocklevel = table.GetInt(i, "Unlocklevel"); record.Name = table.GetString(i, "Name"); record.Des = table.GetString(i, "Des"); record.SingleWeekCount = table.GetInt(i, "SingleWeekCount"); record.TeamWeekCount = table.GetInt(i, "TeamWeekCount"); record.SceneID = table.GetInt(i, "SceneID"); record.PrepositionCopy = table.GetInt(i, "PrepositionCopy"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { EquipmentExtraAttrTbl record = new EquipmentExtraAttrTbl(); record.Occupation = table.GetInt(i, "Occupation"); record.LevelMin = table.GetInt(i, "LevelMin"); record.LevelMax = table.GetInt(i, "LevelMax"); record.AttrIndex = table.GetInt(i, "AttrIndex"); record.ValueMin = table.GetInt(i, "ValueMin"); record.ValueMax = table.GetInt(i, "ValueMax"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { IntensifyRuleTbl record = new IntensifyRuleTbl(); record.Rank = table.GetInt(i, "Rank"); record.ItemList = table.GetString(i, "ItemList"); record.ItemCount = table.GetString(i, "ItemCount"); record.Money = table.GetInt(i, "Money"); record.SucChance = table.GetInt(i, "SucChance"); record.BackRank = table.GetString(i, "BackRank"); record.Guarantee = table.GetInt(i, "Guarantee"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { EquipmentRarityTbl record = new EquipmentRarityTbl(); record.Rarity = table.GetInt(i, "Rarity"); record.RemarkableCountMin = table.GetInt(i, "RemarkableCountMin"); record.RemarkableCountMax = table.GetInt(i, "RemarkableCountMax"); record.GemSlotMin = table.GetInt(i, "GemSlotMin"); record.GemSlotMax = table.GetInt(i, "GemSlotMax"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { SceneTransferTbl record = new SceneTransferTbl(); record.Name = table.GetString(i, "Name"); record.Des = table.GetString(i, "Des"); record.TargetList = table.GetString(i, "TargetList"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { RoleLevelPrototypeTbl record = new RoleLevelPrototypeTbl(); record.LevelupExp = table.GetInt(i, "LevelupExp"); record.ForceLimit = table.GetInt(i, "ForceLimit"); record.ReduceArgument = table.GetInt(i, "ReduceArgument"); record.PetCarryLimit = table.GetInt(i, "PetCarryLimit"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { RoleAttrSetTbl record = new RoleAttrSetTbl(); record.StrSet = table.GetInt(i, "StrSet"); record.DexSet = table.GetInt(i, "DexSet"); record.WitSet = table.GetInt(i, "WitSet"); record.VItSet = table.GetInt(i, "VItSet"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { BusterKillTbl record = new BusterKillTbl(); record.MonsterCount = table.GetInt(i, "MonsterCount"); record.ExpRank1 = table.GetInt(i, "ExpRank1"); record.ExpRank2 = table.GetInt(i, "ExpRank2"); record.ExpRank3 = table.GetInt(i, "ExpRank3"); record.ExpRank4 = table.GetInt(i, "ExpRank4"); record.ExpRank5 = table.GetInt(i, "ExpRank5"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { CreateRoleTbl record = new CreateRoleTbl(); record.Job = table.GetString(i, "Job"); record.HeadIcon = table.GetString(i, "HeadIcon"); record.Desc = table.GetString(i, "Desc"); record.Model = table.GetString(i, "Model"); record.Sound = table.GetInt(i, "Sound"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { SceneTbl record = new SceneTbl(); record.Name = table.GetString(i, "Name"); record.SceneType = table.GetInt(i, "SceneType"); record.Path = table.GetString(i, "Path"); record.NameImage = table.GetString(i, "NameImage"); record.SceneBlock = table.GetString(i, "SceneBlock"); record.SceneElement = table.GetString(i, "SceneElement"); record.MainSoundId = table.GetInt(i, "MainSoundId"); record.FieldSoundId = table.GetInt(i, "FieldSoundId"); record.IsPVP = table.GetInt(i, "IsPVP"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { StreamLightTbl record = new StreamLightTbl(); record.Des = table.GetString(i, "Des"); record.MaterialPath = table.GetString(i, "MaterialPath"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { HaloTbl record = new HaloTbl(); record.NameSuffix = table.GetString(i, "NameSuffix"); record.Des = table.GetString(i, "Des"); record.Type = table.GetInt(i, "Type"); record.Value = table.GetInt(i, "Value"); record.Range = table.GetInt(i, "Range"); record.ResLarge = table.GetInt(i, "ResLarge"); record.ResMid = table.GetInt(i, "ResMid"); record.ResSmall = table.GetInt(i, "ResSmall"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { PetLevelTbl record = new PetLevelTbl(); record.Exp = table.GetInt(i, "Exp"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { MonsterDropWorldTbl record = new MonsterDropWorldTbl(); record.MonsterLevelMin = table.GetInt(i, "MonsterLevelMin"); record.MonsterLevelMax = table.GetInt(i, "MonsterLevelMax"); record.DropItemList = table.GetString(i, "DropItemList"); record.DropChanceList = table.GetString(i, "DropChanceList"); record.DropCountList = table.GetString(i, "DropCountList"); record.DropCount = table.GetInt(i, "DropCount"); record.EquipmentRarity1Chance = table.GetInt(i, "EquipmentRarity1Chance"); record.EquipmentRarity2Chance = table.GetInt(i, "EquipmentRarity2Chance"); record.EquipmentRarity3Chance = table.GetInt(i, "EquipmentRarity3Chance"); record.EquipmentRarity4Chance = table.GetInt(i, "EquipmentRarity4Chance"); record.EquipmentRarity5Chance = table.GetInt(i, "EquipmentRarity5Chance"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { WorldFarmExpLimitTbl record = new WorldFarmExpLimitTbl(); record.ExpStep1 = table.GetInt(i, "ExpStep1"); record.ExpStep2 = table.GetInt(i, "ExpStep2"); record.ExpStep3 = table.GetInt(i, "ExpStep3"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { TestTbl record = new TestTbl(); record.Remark = table.GetString(i, "Remark"); record.Data = table.GetString(i, "Data"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { EffectTbl record = new EffectTbl(); record.Desc = table.GetString(i, "Desc"); record.Path = table.GetString(i, "Path"); record.Author = table.GetString(i, "Author"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { ItemGiftTbl record = new ItemGiftTbl(); record.ItemList = table.GetString(i, "ItemList"); record.ItemCount = table.GetString(i, "ItemCount"); record.EquipmentRarity1Chance = table.GetInt(i, "EquipmentRarity1Chance"); record.EquipmentRarity2Chance = table.GetInt(i, "EquipmentRarity2Chance"); record.EquipmentRarity3Chance = table.GetInt(i, "EquipmentRarity3Chance"); record.EquipmentRarity4Chance = table.GetInt(i, "EquipmentRarity4Chance"); record.EquipmentRarity5Chance = table.GetInt(i, "EquipmentRarity5Chance"); record.EquipLevel = table.GetInt(i, "EquipLevel"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { SceneBoxTbl record = new SceneBoxTbl(); record.Comment = table.GetString(i, "Comment"); record.Quality = table.GetInt(i, "Quality"); record.Name = table.GetString(i, "Name"); record.ModelPath = table.GetString(i, "ModelPath"); record.ExistEffect = table.GetInt(i, "ExistEffect"); record.OpenEffect = table.GetInt(i, "OpenEffect"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { PetSkillInfoTbl record = new PetSkillInfoTbl(); record.SkillId = table.GetInt(i, "SkillId"); record.SkillType = table.GetInt(i, "SkillType"); record.IsAutoGet = table.GetInt(i, "IsAutoGet"); record.AutoGetWeight = table.GetInt(i, "AutoGetWeight"); record.LearnItem1 = table.GetInt(i, "LearnItem1"); record.LearnItem2 = table.GetInt(i, "LearnItem2"); record.LearnItem3 = table.GetInt(i, "LearnItem3"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { PetPassiveSkillLevelDesTbl record = new PetPassiveSkillLevelDesTbl(); record.SkillId = table.GetInt(i, "SkillId"); record.SkillLevel = table.GetInt(i, "SkillLevel"); record.Des = table.GetString(i, "Des"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { AudioTbl record = new AudioTbl(); record.Desc = table.GetString(i, "Desc"); record.Path = table.GetString(i, "Path"); record.Volumn = table.GetFloat(i, "Volumn"); record.PanLevel = table.GetFloat(i, "PanLevel"); record.IsLoop = table.GetInt(i, "IsLoop"); record.DelayTime = table.GetFloat(i, "DelayTime"); record.LifeTime = table.GetFloat(i, "LifeTime"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { GemConvertPrototypeTbl record = new GemConvertPrototypeTbl(); record.TargetList = table.GetString(i, "TargetList"); record.GoldPrice = table.GetInt(i, "GoldPrice"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { SuitPrototypeTbl record = new SuitPrototypeTbl(); record.Name = table.GetString(i, "Name"); record.SuitId = table.GetInt(i, "SuitId"); record.Count = table.GetInt(i, "Count"); record.Str = table.GetInt(i, "Str"); record.Dex = table.GetInt(i, "Dex"); record.Wit = table.GetInt(i, "Wit"); record.Vit = table.GetInt(i, "Vit"); record.AtkMin = table.GetInt(i, "AtkMin"); record.AtkMax = table.GetInt(i, "AtkMax"); record.Def = table.GetInt(i, "Def"); record.Mdef = table.GetInt(i, "Mdef"); record.MtkMin = table.GetInt(i, "MtkMin"); record.MtkMax = table.GetInt(i, "MtkMax"); record.Hp = table.GetInt(i, "Hp"); record.CrtChance = table.GetInt(i, "CrtChance"); record.CrtBonus = table.GetInt(i, "CrtBonus"); record.BrilliantChance = table.GetInt(i, "BrilliantChance"); record.DefPierce = table.GetInt(i, "DefPierce"); record.MdefPierce = table.GetInt(i, "MdefPierce"); record.IgnoreAllDef = table.GetInt(i, "IgnoreAllDef"); record.DoubleChance = table.GetInt(i, "DoubleChance"); record.MoveSpeed = table.GetInt(i, "MoveSpeed"); record.BonusToArmor = table.GetInt(i, "BonusToArmor"); record.BonusToMonster = table.GetInt(i, "BonusToMonster"); record.ExpUp = table.GetInt(i, "ExpUp"); record.CrtChanceResist = table.GetInt(i, "CrtChanceResist"); record.CrtBonusResist = table.GetInt(i, "CrtBonusResist"); record.ReboundDmg = table.GetInt(i, "ReboundDmg"); record.HpBonus = table.GetInt(i, "HpBonus"); record.DmgReduce = table.GetInt(i, "DmgReduce"); record.KillCure = table.GetInt(i, "KillCure"); record.AllAtkBonus = table.GetInt(i, "AllAtkBonus"); record.MF = table.GetInt(i, "MF"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { SkillAnimationTbl record = new SkillAnimationTbl(); record.Desc = table.GetString(i, "Desc"); record.AinmName = table.GetString(i, "AinmName"); record.AnimCondition = table.GetInt(i, "AnimCondition"); record.NextAnimId = table.GetInt(i, "NextAnimId"); record.EffectSID = table.GetInt(i, "EffectSID"); record.IsFellowOwner = table.GetInt(i, "IsFellowOwner"); record.Speed = table.GetFloat(i, "Speed"); record.ActTime = table.GetFloat(i, "ActTime"); record.EffectTime = table.GetFloat(i, "EffectTime"); record.ComboTime = table.GetFloat(i, "ComboTime"); record.SkillTime = table.GetFloat(i, "SkillTime"); record.RockerTurn = table.GetInt(i, "RockerTurn"); record.RockerMove = table.GetInt(i, "RockerMove"); record.SelfMoveDirection = table.GetInt(i, "SelfMoveDirection"); record.Attacktype = table.GetInt(i, "Attacktype"); record.Hitstime = table.GetString(i, "Hitstime"); record.Distance = table.GetString(i, "Distance"); record.MoveTimes = table.GetString(i, "MoveTimes"); record.Move = table.GetString(i, "Move"); record.Movelast = table.GetString(i, "Movelast"); record.Repel = table.GetString(i, "Repel"); record.RepelLast = table.GetString(i, "RepelLast"); record.FloatEnemy = table.GetString(i, "FloatEnemy"); record.Hitrecover = table.GetFloat(i, "Hitrecover"); record.Hitrecovertime = table.GetFloat(i, "Hitrecovertime"); record.SoundID = table.GetString(i, "SoundID"); record.HitSound = table.GetInt(i, "HitSound"); record.SoundTimes = table.GetString(i, "SoundTimes"); record.ShakeMoment = table.GetString(i, "ShakeMoment"); record.ShakeTimes = table.GetString(i, "ShakeTimes"); record.Shakeintensity = table.GetString(i, "Shakeintensity"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { RoleInitialTbl record = new RoleInitialTbl(); record.InitialDex = table.GetInt(i, "InitialDex"); record.InitialWit = table.GetInt(i, "InitialWit"); record.InitialVit = table.GetInt(i, "InitialVit"); record.InitialAtkMin = table.GetInt(i, "InitialAtkMin"); record.InitialAtkMax = table.GetInt(i, "InitialAtkMax"); record.InitialDef = table.GetInt(i, "InitialDef"); record.InitialMdef = table.GetInt(i, "InitialMdef"); record.InitialMtkMin = table.GetInt(i, "InitialMtkMin"); record.InitialMtkMax = table.GetInt(i, "InitialMtkMax"); record.InitialHp = table.GetInt(i, "InitialHp"); record.InitialCrtChance = table.GetInt(i, "InitialCrtChance"); record.InitialCrtBonus = table.GetInt(i, "InitialCrtBonus"); record.InitialBrilliantChance = table.GetInt(i, "InitialBrilliantChance"); record.InitialDefPierce = table.GetInt(i, "InitialDefPierce"); record.InitialMdefPierce = table.GetInt(i, "InitialMdefPierce"); record.InitialIgnoreAllDef = table.GetInt(i, "InitialIgnoreAllDef"); record.InitialDoubleChance = table.GetInt(i, "InitialDoubleChance"); record.InitialMoveSpeed = table.GetInt(i, "InitialMoveSpeed"); record.InitialBonusToArmor = table.GetInt(i, "InitialBonusToArmor"); record.InitialBonusToMonster = table.GetInt(i, "InitialBonusToMonster"); record.InitialExpUp = table.GetInt(i, "InitialExpUp"); record.InitialCrtChanceResist = table.GetInt(i, "InitialCrtChanceResist"); record.InitialCrtBonusResist = table.GetInt(i, "InitialCrtBonusResist"); record.InitialReboundDmg = table.GetInt(i, "InitialReboundDmg"); record.InitialHpBonus = table.GetInt(i, "InitialHpBonus"); record.InitialDmgReduce = table.GetInt(i, "InitialDmgReduce"); record.InitialKillCure = table.GetInt(i, "InitialKillCure"); record.InitialAllAtkBonus = table.GetInt(i, "InitialAllAtkBonus"); record.InitialMF = table.GetInt(i, "InitialMF"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { PetTbl record = new PetTbl(); record.Icon = table.GetString(i, "Icon"); record.Model = table.GetString(i, "Model"); record.Effect = table.GetString(i, "Effect"); record.AttackSkillId = table.GetInt(i, "AttackSkillId"); record.Des = table.GetString(i, "Des"); record.DamageType = table.GetInt(i, "DamageType"); record.PetType = table.GetInt(i, "PetType"); record.PetClass = table.GetInt(i, "PetClass"); record.Generation = table.GetInt(i, "Generation"); record.CatchLevel = table.GetInt(i, "CatchLevel"); record.DowerMin = table.GetInt(i, "DowerMin"); record.DowerMax = table.GetInt(i, "DowerMax"); record.UnderstandMin = table.GetInt(i, "UnderstandMin"); record.UnderstandMax = table.GetInt(i, "UnderstandMax"); record.BreedMax = table.GetInt(i, "BreedMax"); record.Str = table.GetInt(i, "Str"); record.StrLevelup = table.GetInt(i, "StrLevelup"); record.Wit = table.GetInt(i, "Wit"); record.WitLevelup = table.GetInt(i, "WitLevelup"); record.Dex = table.GetInt(i, "Dex"); record.DexLevelup = table.GetInt(i, "DexLevelup"); record.Vit = table.GetInt(i, "Vit"); record.VitLevelup = table.GetInt(i, "VitLevelup"); record.CatchEffect = table.GetInt(i, "CatchEffect"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { WorldPrototypeTbl record = new WorldPrototypeTbl(); record.SenceId = table.GetInt(i, "SenceId"); record.Name = table.GetString(i, "Name"); record.NameImg = table.GetString(i, "NameImg"); record.DropCount = table.GetInt(i, "DropCount"); record.DropItemList = table.GetString(i, "DropItemList"); record.DropChanceList = table.GetString(i, "DropChanceList"); record.DropCountList = table.GetString(i, "DropCountList"); record.EquipmentRarity1Chance = table.GetInt(i, "EquipmentRarity1Chance"); record.EquipmentRarity2Chance = table.GetInt(i, "EquipmentRarity2Chance"); record.EquipmentRarity3Chance = table.GetInt(i, "EquipmentRarity3Chance"); record.EquipmentRarity4Chance = table.GetInt(i, "EquipmentRarity4Chance"); record.EquipmentRarity5Chance = table.GetInt(i, "EquipmentRarity5Chance"); record.ReliveX = table.GetFloat(i, "ReliveX"); record.ReliveZ = table.GetFloat(i, "ReliveZ"); record.EliteGoldMax = table.GetInt(i, "EliteGoldMax"); record.EliteGoldRefreshTime = table.GetInt(i, "EliteGoldRefreshTime"); record.EliteBlueMax = table.GetInt(i, "EliteBlueMax"); record.EliteBlueRefreshTime = table.GetInt(i, "EliteBlueRefreshTime"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { EliteMonsterTbl record = new EliteMonsterTbl(); record.Type = table.GetInt(i, "Type"); record.SceneType = table.GetInt(i, "SceneType"); record.HPup = table.GetInt(i, "HPup"); record.EliteAtk = table.GetInt(i, "EliteAtk"); record.EliteAtkName = table.GetString(i, "EliteAtkName"); record.EliteCrtChance = table.GetInt(i, "EliteCrtChance"); record.EliteCrtChanceName = table.GetString(i, "EliteCrtChanceName"); record.EliteImmuneRestrict = table.GetInt(i, "EliteImmuneRestrict"); record.EliteImmuneRestrictName = table.GetString(i, "EliteImmuneRestrictName"); record.EliteHP = table.GetInt(i, "EliteHP"); record.EliteHPName = table.GetString(i, "EliteHPName"); record.EliteDef = table.GetInt(i, "EliteDef"); record.EliteDefName = table.GetString(i, "EliteDefName"); record.EliteMdef = table.GetInt(i, "EliteMdef"); record.EliteMdefName = table.GetString(i, "EliteMdefName"); record.HaloList = table.GetString(i, "HaloList"); record.MatRes = table.GetString(i, "MatRes"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }
public Dictionary <int, BaseTbl> Init() { Table table = TableLoad.LoadTbl(FILENAME); if (table == null) { return(null); } var dict = new Dictionary <int, BaseTbl>(); int count = table.records.Count; for (int i = 0; i < count; ++i) { SceneChestTbl record = new SceneChestTbl(); record.Rank = table.GetInt(i, "Rank"); record.Name = table.GetString(i, "Name"); record.ModelPath = table.GetString(i, "ModelPath"); record.ExistEffect = table.GetInt(i, "ExistEffect"); record.OpenEffect = table.GetInt(i, "OpenEffect"); record.OpenTime = table.GetInt(i, "OpenTime"); record.DropItemList = table.GetString(i, "DropItemList"); record.DropChanceList = table.GetString(i, "DropChanceList"); record.DropCountList = table.GetString(i, "DropCountList"); record.DropCount = table.GetInt(i, "DropCount"); record.EquipmentRarity1Chance = table.GetInt(i, "EquipmentRarity1Chance"); record.EquipmentRarity2Chance = table.GetInt(i, "EquipmentRarity2Chance"); record.EquipmentRarity3Chance = table.GetInt(i, "EquipmentRarity3Chance"); record.EquipmentRarity4Chance = table.GetInt(i, "EquipmentRarity4Chance"); record.EquipmentRarity5Chance = table.GetInt(i, "EquipmentRarity5Chance"); if (!dict.ContainsKey(record.Id)) { continue; } dict.Add(record.Id, record); } return(dict); }