public HeroRecord(JToken hero) { this.Name = hero["Name"].Value <string>(); this.Title = hero["Title"].Value <string>(); this.Person = hero["Person"].Value <string>(); this.Origin = hero["Origin"].Value <string>(); this.TagID = hero["TagID"].Value <string>(); this.Gender = hero["Gender"].Value <string>(); this.WeaponType = hero["WeaponType"].Value <string>(); this.MovementType = hero["MoveType"].Value <string>(); this.GrowthMod = hero["GrowthMod"].Value <string>(); this.Artist = hero["Artist"].Value <string>(); this.ActorEN = hero["ActorEN"].Value <string>(); this.ActorJP = hero["ActorJP"].Value <string>(); this.AdditionDate = hero["AdditionDate"].Value <string>(); this.ReleaseDate = hero["ReleaseDate"].Value <string>(); this.Description = WikiHelpers.Sanitize(hero["Description"].Value <string>()); this.Properties = hero["Properties"].Value <string>(); this.BVID = hero["BVID"].Value <string>(); this.Lv1HP5 = hero["Lv1HP5"].Value <int>(); this.Lv1Atk5 = hero["Lv1Atk5"].Value <int>(); this.Lv1Spd5 = hero["Lv1Spd5"].Value <int>(); this.Lv1Def5 = hero["Lv1Def5"].Value <int>(); this.Lv1Res5 = hero["Lv1Res5"].Value <int>(); this.HPGR3 = hero["HPGR3"].Value <int>(); this.AtkGR3 = hero["AtkGR3"].Value <int>(); this.SpdGR3 = hero["SpdGR3"].Value <int>(); this.DefGR3 = hero["DefGR3"].Value <int>(); this.ResGR3 = hero["ResGR3"].Value <int>(); }
public AccessoryRecord(JToken accessory) { this.Name = accessory["Name"].Value <string>(); this.Description = WikiHelpers.Sanitize(accessory["Description"].Value <string>()); this.Type = accessory["Type"].Value <string>(); this.TagID = accessory["TagID"].Value <string>(); }
public SkillRecord(JToken skill) { this.GroupName = skill["GroupName"].Value <string>(); this.Name = skill["Name"].Value <string>(); this.WikiName = skill["WikiName"].Value <string>(); this.TagID = skill["TagID"].Value <string>(); this.UseRange = skill["UseRange"].Value <string>(); this.Scategory = skill["Scategory"].Value <string>(); this.RefinePath = skill["RefinePath"].Value <string>(); this.Description = WikiHelpers.Sanitize(skill["Description"].Value <string>()); this.Required = skill["Required"].Value <string>(); this.Next = skill["Next"].Value <string>(); this.PromotionRarity = skill["PromotionRarity"].Value <string>(); this.PromotionTier = skill["PromotionTier"].Value <string>(); this.Exclusive = skill["Exclusive"].Value <string>(); this.SP = skill["SP"].Value <string>(); this.CanUseMove = skill["CanUseMove"].Value <string>(); this.CanUseWeapon = skill["CanUseWeapon"].Value <string>(); this.Might = skill["Might"].Value <string>(); this.StatModifiers = skill["StatModifiers"].Value <string>(); this.Cooldown = skill["Cooldown"].Value <string>(); this.WeaponEffectiveness = skill["WeaponEffectiveness"].Value <string>(); this.SkillBuildCost = skill["SkillBuildCost"].Value <string>(); this.Properties = skill["Properties"].Value <string>(); }
public ItemRecord(JToken item) { this.Name = item["Name"].Value <string>(); this.Description = WikiHelpers.Sanitize(item["Description"].Value <string>()); }