/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override ShopCategoryEntity MakeEntity(GameDataTableParser parse) { ShopCategoryEntity entity = new ShopCategoryEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Name = parse.GetFieldValue("Name"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override cfg_serviceEntity MakeEntity(GameDataTableParser parse) { cfg_serviceEntity entity = new cfg_serviceEntity(); entity.id = parse.GetFieldValue("id").ToInt(); entity.key = parse.GetFieldValue("key"); entity.value = parse.GetFieldValue("value"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override TaskRewardEntity MakeEntity(GameDataTableParser parse) { TaskRewardEntity entity = new TaskRewardEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Count = parse.GetFieldValue("Count").ToInt(); entity.RewardType = parse.GetFieldValue("RewardType").ToInt(); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override GameLevelEntity MakeEntity(GameDataTableParser parse) { GameLevelEntity entity = new GameLevelEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Level = parse.GetFieldValue("Level").ToInt(); entity.Map = parse.GetFieldValue("Map"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override cfg_commonMessageEntity MakeEntity(GameDataTableParser parse) { cfg_commonMessageEntity entity = new cfg_commonMessageEntity(); entity.id = parse.GetFieldValue("id").ToInt(); entity.gameId = parse.GetFieldValue("gameId").ToInt(); entity.message = parse.GetFieldValue("message"); entity.AudioName = parse.GetFieldValue("AudioName"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override GameLevelRegionEntity MakeEntity(GameDataTableParser parse) { GameLevelRegionEntity entity = new GameLevelRegionEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.GameLevelId = parse.GetFieldValue("GameLevelId").ToInt(); entity.RegionId = parse.GetFieldValue("RegionId").ToInt(); entity.InitSprite = parse.GetFieldValue("InitSprite"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override MessageEntity MakeEntity(GameDataTableParser parse) { MessageEntity entity = new MessageEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Msg = parse.GetFieldValue("Msg"); entity.Module = parse.GetFieldValue("Module"); entity.Description = parse.GetFieldValue("Description"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override cfg_chatExpressionEntity MakeEntity(GameDataTableParser parse) { cfg_chatExpressionEntity entity = new cfg_chatExpressionEntity(); entity.id = parse.GetFieldValue("id").ToInt(); entity.code = parse.GetFieldValue("code"); entity.image = parse.GetFieldValue("image"); entity.sound = parse.GetFieldValue("sound"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override TaskEntity MakeEntity(GameDataTableParser parse) { TaskEntity entity = new TaskEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Name = parse.GetFieldValue("Name"); entity.Status = parse.GetFieldValue("Status").ToInt(); entity.Content = parse.GetFieldValue("Content"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override TaskEntity MakeEntity(GameDataTableParser parse) { TaskEntity entity = new TaskEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Name = parse.GetFieldValue("Name"); entity.Desc = parse.GetFieldValue("Desc"); entity.Conditions = parse.GetFieldValue("Conditions"); entity.Rewards = parse.GetFieldValue("Rewards"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override biao01Entity MakeEntity(GameDataTableParser parse) { biao01Entity entity = new biao01Entity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Name = parse.GetFieldValue("Name"); entity.Price = parse.GetFieldValue("Price").ToFloat(); entity.PciName = parse.GetFieldValue("PciName"); entity.Des = parse.GetFieldValue("Des"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override ProductEntity MakeEntity(GameDataTableParser parse) { ProductEntity entity = new ProductEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Name = parse.GetFieldValue("Name"); entity.Price = parse.GetFieldValue("Price").ToFloat(); entity.PicName = parse.GetFieldValue("PicName"); entity.Desc = parse.GetFieldValue("Desc"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override EFrameExample_ExcelData MakeEntity(GameDataTableParser parse) { EFrameExample_ExcelData entity = new EFrameExample_ExcelData(); entity.ID = parse.GetFieldValue("ID").ToInt(); entity.mstring = parse.GetFieldValue("mstring"); entity.mint = parse.GetFieldValue("mint").ToInt(); entity.mfloat = parse.GetFieldValue("mfloat").ToFloat(); entity.mlong = parse.GetFieldValue("mlong").ToLong(); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override ChapterEntity MakeEntity(GameDataTableParser parse) { ChapterEntity entity = new ChapterEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Name = parse.GetFieldValue("Name"); entity.LevelCount = parse.GetFieldValue("LevelCount").ToInt(); entity.FolderName = parse.GetFieldValue("FolderName"); entity.IconName = parse.GetFieldValue("IconName"); return(entity); }
protected override ProductEntity MakeEntity(GameDataTableParser parser) { ProductEntity entity = new ProductEntity(); entity.Id = parser.GetFieldValue("Id").ToInt(); entity.Name = parser.GetFieldValue("Name"); entity.Price = parser.GetFieldValue("Price").ToLong(); entity.PciName = parser.GetFieldValue("PciName"); entity.Des = parser.GetFieldValue("Des"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override TaskConditionEntity MakeEntity(GameDataTableParser parse) { TaskConditionEntity entity = new TaskConditionEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.TargetCount = parse.GetFieldValue("TargetCount").ToInt(); entity.Des = parse.GetFieldValue("Des"); entity.ConditionType = parse.GetFieldValue("ConditionType"); entity.TargetId = parse.GetFieldValue("TargetId"); return(entity); }
protected override ProductEntity MakeEntity(GameDataTableParser dataParser) { ProductEntity product = new ProductEntity { Id = dataParser.GetFieldValue("Id").ToInt(), Name = dataParser.GetFieldValue("Name"), PicName = dataParser.GetFieldValue("PicName"), Price = dataParser.GetFieldValue("Price").ToFloat(), Desc = dataParser.GetFieldValue("Desc") }; return(product); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override GameLevelEntity MakeEntity(GameDataTableParser parse) { GameLevelEntity entity = new GameLevelEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.MapTypeInfo = parse.GetFieldValue("MapTypeInfo"); entity.RowSpacing = parse.GetFieldValue("RowSpacing").ToFloat(); entity.ColumnSpacing = parse.GetFieldValue("ColumnSpacing").ToFloat(); entity.Orgin = parse.GetFieldValue("Orgin"); entity.Star2 = parse.GetFieldValue("Star2").ToInt(); entity.Star3 = parse.GetFieldValue("Star3").ToInt(); entity.PosInMap = parse.GetFieldValue("PosInMap"); entity.Time = parse.GetFieldValue("Time").ToFloat(); entity.RolePos = parse.GetFieldValue("RolePos"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override ConfigEntity MakeEntity(GameDataTableParser parse) { ConfigEntity entity = new ConfigEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.OneSummonCoin = parse.GetFieldValue("OneSummonCoin").ToInt(); entity.FiveSummonCoin = parse.GetFieldValue("FiveSummonCoin").ToInt(); entity.TheProbabilityOfNormalHero = parse.GetFieldValue("TheProbabilityOfNormalHero").ToFloat(); entity.TheProbabilityOfeliteHero = parse.GetFieldValue("TheProbabilityOfeliteHero").ToFloat(); entity.TheProbabilityOfLegendHero = parse.GetFieldValue("TheProbabilityOfLegendHero").ToFloat(); entity.EveryOneTask = parse.GetFieldValue("EveryOneTask"); entity.TheDebrisOfNormalHero = parse.GetFieldValue("TheDebrisOfNormalHero").ToInt(); entity.TheDebrisOfEliteHero = parse.GetFieldValue("TheDebrisOfEliteHero").ToInt(); entity.TheDebrisOfLegendHero = parse.GetFieldValue("TheDebrisOfLegendHero").ToInt(); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override ItemEntity MakeEntity(GameDataTableParser parse) { ItemEntity entity = new ItemEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Name = parse.GetFieldValue("Name"); entity.Type = parse.GetFieldValue("Type").ToInt(); entity.UsedLevel = parse.GetFieldValue("UsedLevel").ToInt(); entity.UsedMethod = parse.GetFieldValue("UsedMethod"); entity.Quality = parse.GetFieldValue("Quality").ToInt(); entity.Description = parse.GetFieldValue("Description"); entity.UsedItems = parse.GetFieldValue("UsedItems"); entity.maxAmount = parse.GetFieldValue("maxAmount").ToInt(); entity.packSort = parse.GetFieldValue("packSort").ToInt(); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override GameLevelEntity MakeEntity(GameDataTableParser parse) { GameLevelEntity entity = new GameLevelEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.ChapterID = parse.GetFieldValue("ChapterID").ToInt(); entity.Name = parse.GetFieldValue("Name"); entity.SceneName = parse.GetFieldValue("SceneName"); entity.isBoss = parse.GetFieldValue("isBoss").ToInt(); entity.Ico = parse.GetFieldValue("Ico"); entity.PosInMap = parse.GetFieldValue("PosInMap"); entity.DlgPic = parse.GetFieldValue("DlgPic"); entity.CameraRotation = parse.GetFieldValue("CameraRotation"); entity.Audio_BG = parse.GetFieldValue("Audio_BG"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override HeroStarEntity MakeEntity(GameDataTableParser parse) { HeroStarEntity entity = new HeroStarEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Star = parse.GetFieldValue("Star").ToInt(); entity.Hp = parse.GetFieldValue("Hp").ToFloat(); entity.PhyAtk = parse.GetFieldValue("PhyAtk").ToFloat(); entity.MgicAtk = parse.GetFieldValue("MgicAtk").ToFloat(); entity.Cri = parse.GetFieldValue("Cri").ToFloat(); entity.CriValue = parse.GetFieldValue("CriValue").ToFloat(); entity.PhyDef = parse.GetFieldValue("PhyDef").ToFloat(); entity.MgicDef = parse.GetFieldValue("MgicDef").ToFloat(); entity.NeedHeroDebris = parse.GetFieldValue("NeedHeroDebris").ToInt(); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override GameLevelGradeEntity MakeEntity(GameDataTableParser parse) { GameLevelGradeEntity entity = new GameLevelGradeEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.LevelId = parse.GetFieldValue("LevelId").ToInt(); entity.Grade = parse.GetFieldValue("Grade").ToInt(); entity.Desc = parse.GetFieldValue("Desc"); entity.ConditionDesc = parse.GetFieldValue("ConditionDesc"); entity.Exp = parse.GetFieldValue("Exp").ToInt(); entity.Gold = parse.GetFieldValue("Gold").ToInt(); entity.TimeLimit = parse.GetFieldValue("TimeLimit").ToInt(); entity.Energy = parse.GetFieldValue("Energy").ToInt(); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override MainMenuIcon2Entity MakeEntity(GameDataTableParser parse) { MainMenuIcon2Entity entity = new MainMenuIcon2Entity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Name = parse.GetFieldValue("Name"); entity.Weight = parse.GetFieldValue("Weight").ToInt(); entity.AtlasName = parse.GetFieldValue("AtlasName"); entity.IconName = parse.GetFieldValue("IconName"); entity.ShowLevel = parse.GetFieldValue("ShowLevel").ToInt(); entity.LimitLevel = parse.GetFieldValue("LimitLevel").ToInt(); entity.OpenWindowName = parse.GetFieldValue("OpenWindowName"); entity.Page = parse.GetFieldValue("Page").ToInt(); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override BuffEntity MakeEntity(GameDataTableParser parse) { BuffEntity entity = new BuffEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.BuffType = parse.GetFieldValue("BuffType").ToInt(); entity.BuffOverlap = parse.GetFieldValue("BuffOverlap").ToInt(); entity.BuffCalculateType = parse.GetFieldValue("BuffCalculateType").ToInt(); entity.BuffShutDownType = parse.GetFieldValue("BuffShutDownType").ToInt(); entity.MaxLimit = parse.GetFieldValue("MaxLimit").ToInt(); entity.Time = parse.GetFieldValue("Time").ToFloat(); entity.CallFrequency = parse.GetFieldValue("CallFrequency").ToFloat(); entity.Value = parse.GetFieldValue("Value").ToFloat(); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override WorldMapEntity MakeEntity(GameDataTableParser parse) { WorldMapEntity entity = new WorldMapEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Name = parse.GetFieldValue("Name"); entity.SceneName = parse.GetFieldValue("SceneName"); entity.SceneType = parse.GetFieldValue("SceneType"); entity.RoleBirthPos = parse.GetFieldValue("RoleBirthPos").ToFloatArray(); entity.NPCExcel = parse.GetFieldValue("NPCExcel"); entity.NPCFloader = parse.GetFieldValue("NPCFloader"); entity.CameraRotation = parse.GetFieldValue("CameraRotation").ToFloat(); entity.NearSceneIdArray = parse.GetFieldValue("NearSceneIdArray").ToIntArray(); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override cfg_payEntity MakeEntity(GameDataTableParser parse) { cfg_payEntity entity = new cfg_payEntity(); entity.id = parse.GetFieldValue("id").ToInt(); entity.name = parse.GetFieldValue("name"); entity.iosCode = parse.GetFieldValue("iosCode"); entity.money = parse.GetFieldValue("money").ToInt(); entity.amount = parse.GetFieldValue("amount").ToInt(); entity.give = parse.GetFieldValue("give").ToInt(); entity.isHot = parse.GetFieldValue("isHot").ToBool(); entity.icon = parse.GetFieldValue("icon"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override NPCDataEntity MakeEntity(GameDataTableParser parse) { NPCDataEntity entity = new NPCDataEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Name = parse.GetFieldValue("Name"); entity.PrefabName = parse.GetFieldValue("PrefabName"); entity.RoleBirthPos = parse.GetFieldValue("RoleBirthPos").ToFloatArray(); entity.HeadPicAtlas = parse.GetFieldValue("HeadPicAtlas"); entity.HeadPic = parse.GetFieldValue("HeadPic"); entity.HalfBodyPath = parse.GetFieldValue("HalfBodyPath"); entity.Talk = parse.GetFieldValue("Talk"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override RechargeShopEntity MakeEntity(GameDataTableParser parse) { RechargeShopEntity entity = new RechargeShopEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.Type = parse.GetFieldValue("Type").ToInt(); entity.Name = parse.GetFieldValue("Name"); entity.SalesDesc = parse.GetFieldValue("SalesDesc"); entity.ProductDesc = parse.GetFieldValue("ProductDesc"); entity.Price = parse.GetFieldValue("Price").ToInt(); entity.Virtual = parse.GetFieldValue("Virtual").ToInt(); entity.Icon = parse.GetFieldValue("Icon"); return(entity); }
/// <summary> /// 创建实体 /// </summary> /// <param name="parse"></param> /// <returns></returns> protected override SkillLevelEntity MakeEntity(GameDataTableParser parse) { SkillLevelEntity entity = new SkillLevelEntity(); entity.Id = parse.GetFieldValue("Id").ToInt(); entity.SkillId = parse.GetFieldValue("SkillId").ToInt(); entity.Level = parse.GetFieldValue("Level").ToInt(); entity.HurtValueRate = parse.GetFieldValue("HurtValueRate").ToFloat(); entity.SkillCD = parse.GetFieldValue("SkillCD").ToFloat(); entity.BuffChance = parse.GetFieldValue("BuffChance").ToFloat(); entity.BuffValueMultiplier = parse.GetFieldValue("BuffValueMultiplier").ToFloat(); entity.BuffTimeMultiplier = parse.GetFieldValue("BuffTimeMultiplier").ToFloat(); return(entity); }