public bool CollectDataFromDBC(DBC_Row node) { m_Id = DBCUtil.ExtractNumeric<int>(node, "Id", 0, true); m_Name = DBCUtil.ExtractString(node, "Name", "", true); m_Score = DBCUtil.ExtractNumeric<float>(node, "Score", 0, false); m_BaseValue = DBCUtil.ExtractNumeric<float>(node, "BaseValue", 0, false); return true; }
public bool CollectDataFromDBC(DBC_Row node) { m_MainNum = DBCUtil.ExtractString(node, "MainNum", "1", true); m_SubNum = DBCUtil.ExtractString(node, "SubNum", "0", true); m_StepNum = DBCUtil.ExtractString(node, "StepNum", "0", true); m_DateNum = DBCUtil.ExtractString(node, "DateNum", "0", true); m_GreekSymbols = DBCUtil.ExtractString(node, "GreekSymbols", "base", true); return(true); }
public bool CollectDataFromDBC(DBC_Row node) { AttributeId = DBCUtil.ExtractNumeric <int>(node, "AttributeId", 0, true); Describe = DBCUtil.ExtractString(node, "Describe", "", false); AttributeType = DBCUtil.ExtractNumeric <int>(node, "AttributeType", 0, true); ParamValues = DBCUtil.ExtractNodeByPrefix(node, "ParamValue_"); LevelAddValues = DBCUtil.ExtractNodeByPrefix(node, "LevelAdd_"); return(true); }
public bool CollectDataFromDBC(DBC_Row node) { m_Id = DBCUtil.ExtractNumeric <int>(node, "ID", 0, true); m_Name = DBCUtil.ExtractString(node, "Name", "", true); m_Path = DBCUtil.ExtractString(node, "Path", "", true); m_Note = DBCUtil.ExtractString(node, "Note", "", true); m_strId = DBCUtil.ExtractNumeric <int>(node, "StrID", 0, true); return(true); }
public bool CollectDataFromDBC(DBC_Row node) { m_SceneId = DBCUtil.ExtractNumeric <int>(node, "SceneId", 0, true); m_Name = DBCUtil.ExtractString(node, "Name", "", true); m_Discribe = DBCUtil.ExtractString(node, "Dis", "", true); m_ChapterName1 = DBCUtil.ExtractString(node, "ChapterName_1", "", false); m_ChapterName2 = DBCUtil.ExtractString(node, "ChapterName_2", "", false); m_Level = DBCUtil.ExtractNumeric <int>(node, "Level", -1, true); return(true); }
public bool CollectDataFromDBC(DBC_Row node) { m_ItemId = DBCUtil.ExtractNumeric <int>(node, "ItemId", 0, true); m_Describe = DBCUtil.ExtractString(node, "Describe", "", false); m_PartId = DBCUtil.ExtractNumeric <int>(node, "PartId", 0, false); m_PartNum = DBCUtil.ExtractNumeric <int>(node, "PartNum", 0, false); m_MaterialId = DBCUtil.ExtractNumeric <int>(node, "MaterialId", 0, false); m_MaterialNum = DBCUtil.ExtractNumeric <int>(node, "MaterialNum", 0, false); return(true); }
/** * @brief 提取数据 * * @param node * * @return */ public bool CollectDataFromDBC(DBC_Row node) { SkillId = DBCUtil.ExtractNumeric <int>(node, "Id", 0, true); SkillDataFile = DBCUtil.ExtractString(node, "LogicDataFile", "", false); SkillDescription = DBCUtil.ExtractString(node, "Description", "", true); SkillTrueDescription = DBCUtil.ExtractString(node, "TrueDescription", "", false); ActivateLevel = DBCUtil.ExtractNumeric <int>(node, "ActivateLevel", 0, true); SkillPassivity = (Passivity)DBCUtil.ExtractNumeric <int>(node, "Passivity", 0, true); SkillCoefficient = DBCUtil.ExtractNumeric <float>(node, "SkillCoefficient", 0, true); SkillRangeMin = DBCUtil.ExtractNumeric <float>(node, "RangeMin", 0.0f, false); SkillRangeMax = DBCUtil.ExtractNumeric <float>(node, "RangeMax", 3.0f, false); TargetType = (TargType)DBCUtil.ExtractNumeric <int>(node, "TargetType", 0, true); TargetSelectType = (TargSelectType)DBCUtil.ExtractNumeric <int>(node, "TargetSelectType", 0, true); CoolDownTime = DBCUtil.ExtractNumeric <float>(node, "CD", 0, true); CastTime = DBCUtil.ExtractNumeric <float>(node, "CastTime", 0, true); MinusCD = DBCUtil.ExtractNumericList <int>(node, "MinusCD", 0, false); CostHp = DBCUtil.ExtractNumeric <int>(node, "CostHp", 0, false); CostRage = DBCUtil.ExtractNumeric <int>(node, "CostRage", 0, false); CostEnergy = DBCUtil.ExtractNumeric <int>(node, "CostEnergy", 0, false); CostEnergyCore = DBCUtil.ExtractNumeric <int>(node, "CostEnergyCore", 0, false); CostItemId = DBCUtil.ExtractNumeric <int>(node, "CostItemId", 0, false); LevelUpCostType = DBCUtil.ExtractNumeric <int>(node, "LevelUpCostType", 1, false); LevelUpVigorType = DBCUtil.ExtractNumeric <int>(node, "LevelUpVigorType", 1, false); CanStartWhenStiffness = DBCUtil.ExtractBool(node, "CanStartWhenStiffness", false, false); CanStartWhenHitFly = DBCUtil.ExtractBool(node, "CanStartWhenHitFly", false, false); CanStartWhenKnockDown = DBCUtil.ExtractBool(node, "CanStartWhenKnockDown", false, false); BreakType = DBCUtil.ExtractNumeric <int>(node, "BreakType", 0, false); Category = (SkillCategory)DBCUtil.ExtractNumeric <int>(node, "Category", 0, false); NextSkillId = DBCUtil.ExtractNumeric <int>(node, "NextSkillId", -1, false); LiftSkillId = DBCUtil.ExtractNumeric <int>(node, "LiftSkillId", -1, false); LiftCostItemList = DBCUtil.ExtractNumericList <int>(node, "LiftCostItem", 0, false); LiftCostItemNumList = DBCUtil.ExtractNumericList <int>(node, "LiftCostItemNum", 0, false); QSkillId = DBCUtil.ExtractNumeric <int>(node, "QSKillId", -1, false); ESkillId = DBCUtil.ExtractNumeric <int>(node, "ESKillId", -1, false); LockInputTime = DBCUtil.ExtractNumeric <float>(node, "LockInputTime", 0, false);; NextInputTime = DBCUtil.ExtractNumeric <float>(node, "NextInputTime", 0, false);; TargetChooseRange = DBCUtil.ExtractNumeric <float>(node, "TargetChooseRange", 0, false);; ShowName = DBCUtil.ExtractString(node, "ShowName", "", false); ShowHitNum = DBCUtil.ExtractNumeric <int>(node, "ShowHitNum", 0, false); ShowScore = DBCUtil.ExtractNumeric <int>(node, "ShowScore", 0, false); ShowDescription = DBCUtil.ExtractString(node, "ShowDescription", "", false); ShowCd = DBCUtil.ExtractNumeric <float>(node, "ShowCD", 0, false); // ShowCostEnergy = DBCUtil.ExtractNumeric <int>(node, "ShowCostEnergy", 0, false); ShowSteps = DBCUtil.ExtractNumeric <int>(node, "ShowSteps", 0, false); ShowSteps2Des = DBCUtil.ExtractString(node, "ShowSteps2Dec", "", false); ShowSteps3Des = DBCUtil.ExtractString(node, "ShowSteps3Dec", "", false); ShowSteps4Des = DBCUtil.ExtractString(node, "ShowSteps4Dec", "", false); DamagePerLevel = DBCUtil.ExtractNumeric <float>(node, "ShowDamagePerLevel", 0f, false); ShowBaseDamage = DBCUtil.ExtractNumeric <float>(node, "ShowDamage", 0f, false); ShowIconName = DBCUtil.ExtractString(node, "ShowIconName", "", false); ShowAtlasPath = DBCUtil.ExtractString(node, "ShowAtlasPath", "", false); return(true); }
public bool CollectDataFromDBC(DBC_Row node) { ServerId = DBCUtil.ExtractNumeric <int>(node, "ServerId", -1, true); ServerName = DBCUtil.ExtractString(node, "ServerName", "", true); NodeIp = DBCUtil.ExtractString(node, "NodeIp", "", true); NodePort = DBCUtil.ExtractNumeric <int>(node, "NodePort", -1, true); LogicServerId = DBCUtil.ExtractNumeric <int>(node, "LogicServerId", -1, true); LogicServerName = DBCUtil.ExtractNumeric(node, "LogicServerName", "", true); ServerState = DBCUtil.ExtractNumeric <int>(node, "ServerState", -1, true); return(true); }
public bool CollectDataFromDBC(DBC_Row node) { m_Id = DBCUtil.ExtractNumeric <int>(node, "ID", 0, true); m_Type = DBCUtil.ExtractNumeric <int>(node, "Type", 0, true); m_Level = DBCUtil.ExtractNumeric <int>(node, "Level", 0, true); m_Order = DBCUtil.ExtractNumeric <int>(node, "Order", 0, true); m_Area = DBCUtil.ExtractNumeric <int>(node, "Area", 0, true); m_Name = DBCUtil.ExtractString(node, "Name", "", true); m_Note = DBCUtil.ExtractString(node, "Note", "", true); return(true); }
public bool CollectDataFromDBC(DBC_Row node) { m_RankId = DBCUtil.ExtractNumeric <int>(node, "RankId", 0, true); m_RankName = DBCUtil.ExtractString(node, "RankName", "", true); m_Point = DBCUtil.ExtractNumeric <int>(node, "Point", 100, false); m_IsTriggerAdvance = DBCUtil.ExtractBool(node, "IsTriggerAdvance", true, true); m_TotalMatches = DBCUtil.ExtractNumeric <int>(node, "TotalMatches", 3, false); m_WinMatches = DBCUtil.ExtractNumeric <int>(node, "WinMatches", 2, false); m_IsTriggerReduced = DBCUtil.ExtractBool(node, "IsTriggerReduced", false, true); m_LossesMatches = DBCUtil.ExtractNumeric <int>(node, "LossesMatches", 6, false); return(true); }
public bool CollectDataFromDBC(DBC_Row node) { Id = DBCUtil.ExtractNumeric <int>(node, "Id", 0, true); Describe = DBCUtil.ExtractString(node, "Describe", "", false); ActionList = DBCUtil.ExtractNumericList <int>(node, "ActionList", 0, false); MaxControlTime = DBCUtil.ExtractNumeric <int>(node, "MaxControlTime", -1, false); MaxControlEvent = DBCUtil.ExtractNumericList <int>(node, "MaxControlEvent", 0, false); MaxControlEventPlus = DBCUtil.ExtractNumericList <int>(node, "MaxControlEventPlus", 0, false); GetUpEvent = DBCUtil.ExtractNumericList <int>(node, "GetUpEvent", 0, false); return(true); }
public bool CollectDataFromDBC(DBC_Row node) { Rank = DBCUtil.ExtractNumeric(node, "Rank", 0, true); NickName = DBCUtil.ExtractString(node, "NickName", "", true); HeroId = DBCUtil.ExtractNumeric(node, "HeroId", 0, true); Level = DBCUtil.ExtractNumeric(node, "Level", 0, true); FightScore = DBCUtil.ExtractNumeric(node, "FightScore", 0, true); List <string> equips_list = DBCUtil.ExtractStringList(node, "EquipInfo", "", false); foreach (string e in equips_list) { List <int> array = ConvertToNumberList(e, '*'); ArenaItemInfo item = CreateArenaItem(array); if (item != null) { EquipInfo.Add(item); } } List <string> xsoul_list = DBCUtil.ExtractStringList(node, "XSoulInfo", "", false); foreach (string e in xsoul_list) { List <int> array = ConvertToNumberList(e, '*'); ArenaXSoulInfo item = CreateArenaXSoulInfo(array); if (item != null) { XSoulInfo.Add(item); } } List <string> partner_list = DBCUtil.ExtractStringList(node, "PartnerInfo", "", false); foreach (string e in partner_list) { List <int> array = ConvertToNumberList(e, '*'); ArenaPartnerInfo partner = CreateArenaPartnerInfo(array); if (partner != null) { PartnerInfo.Add(partner); } } List <string> skill_list = DBCUtil.ExtractStringList(node, "SkillInfo", "", false); foreach (string e in skill_list) { List <int> array = ConvertToNumberList(e, '*'); ArenaSkillInfo skill = CreateArenaSkillInfo(array); if (skill != null) { SkillInfo.Add(skill); } } return(true); }
public bool CollectDataFromDBC(DBC_Row node) { m_AddHpMax1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddHpMax1", 0, false), out m_HpMaxType1); m_AddHpRecover1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddHpRecover1", 0, false), out m_HpRecoverType1); m_AddRageMax1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddRageMax1", 0, false), out m_RageMaxType1); m_AddEpMax1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddEpMax1", 0, false), out m_EpMaxType1); m_AddEpRecover1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddEpRecover1", 0, false), out m_EpRecoverType1); m_AddAd1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddAd1", 0, false), out m_AdType1); m_AddADp1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddADp1", 0, false), out m_ADpType1); m_AddMDp1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddMDp1", 0, false), out m_MDpType1); m_AddCri1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddCri1", 0, false), out m_CriType1); m_AddPow1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddPow1", 0, false), out m_PowType1); m_AddBackHitPow1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddBackHitPow1", 0, false), out m_BackHitPowType1); m_AddCrackPow1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddCrackPow1", 0, false), out m_CrackPowType1); m_AddSpd1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddSpd1", 0, false), out m_SpdType1); m_AddFireDam1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddFireDam1", 0, false), out m_FireDamType1); m_AddFireErd1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddFireErd1", 0, false), out m_FireErdType1); m_AddIceDam1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddIceDam1", 0, false), out m_IceDamType1); m_AddIceErd1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddIceErd1", 0, false), out m_IceErdType1); m_AddPoisonDam1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddPoisonDam1", 0, false), out m_PoisonDamType1); m_AddPoisonErd1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddPoisonErd1", 0, false), out m_PoisonErdType1); m_AddWeight1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddWeight1", 0, false), out m_WeightType1); m_AddRps1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddRps1", 0, false), out m_RpsType1); m_AddAttackRange1 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddAttackRange1", 0, false), out m_AttackRangeType1); m_AddHpMax2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddHpMax2", 0, false), out m_HpMaxType2); m_AddHpRecover2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddHpRecover2", 0, false), out m_HpRecoverType2); m_AddRageMax2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddRageMax2", 0, false), out m_RageMaxType2); m_AddEpMax2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddEpMax2", 0, false), out m_EpMaxType2); m_AddEpRecover2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddEpRecover2", 0, false), out m_EpRecoverType2); m_AddAd2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddAd2", 0, false), out m_AdType2); m_AddADp2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddADp2", 0, false), out m_ADpType2); m_AddMDp2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddMDp2", 0, false), out m_MDpType2); m_AddCri2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddCri2", 0, false), out m_CriType2); m_AddPow2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddPow2", 0, false), out m_PowType2); m_AddBackHitPow2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddBackHitPow2", 0, false), out m_BackHitPowType2); m_AddCrackPow2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddCrackPow2", 0, false), out m_CrackPowType2); m_AddSpd2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddSpd2", 0, false), out m_SpdType2); m_AddFireDam2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddFireDam2", 0, false), out m_FireDamType2); m_AddFireErd2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddFireErd2", 0, false), out m_FireErdType2); m_AddIceDam2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddIceDam2", 0, false), out m_IceDamType2); m_AddIceErd2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddIceErd2", 0, false), out m_IceErdType2); m_AddPoisonDam2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddPoisonDam2", 0, false), out m_PoisonDamType2); m_AddPoisonErd2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddPoisonErd2", 0, false), out m_PoisonErdType2); m_AddWeight2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddWeight2", 0, false), out m_WeightType2); m_AddRps2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddRps2", 0, false), out m_RpsType2); m_AddAttackRange2 = CalcRealValue(DBCUtil.ExtractNumeric<int>(node, "AddAttackRange2", 0, false), out m_AttackRangeType2); m_Id = DBCUtil.ExtractNumeric<int>(node, "Id", 0, true); m_Describe = DBCUtil.ExtractString(node, "Describe", "", false); m_Color = DBCUtil.ExtractNumeric<int>(node, "Color", 0, false); return true; }
public string PartnerRankColor;//伙伴颜色 public bool CollectDataFromDBC(DBC_Row node) { Id = DBCUtil.ExtractNumeric <int>(node, "Id", 0, true); Level = DBCUtil.ExtractNumeric <int>(node, "Level", 0, false); ItemCost = DBCUtil.ExtractNumeric <int>(node, "ItemCost", 0, false); GoldCost = DBCUtil.ExtractNumeric <int>(node, "GoldCost", 0, false); Rate = DBCUtil.ExtractNumeric <float>(node, "Rate", 0.0f, false); IsFailedDemote = DBCUtil.ExtractBool(node, "FailedDemote", false, false); PartnerRank = DBCUtil.ExtractString(node, "PartnerRank", "", false); PartnerRankColor = DBCUtil.ExtractString(node, "PartnerRankColor", "", false); return(true); }
/** * @brief 提取数据 * * @param node * * @return */ public bool CollectDataFromDBC(DBC_Row node) { EffectId = DBCUtil.ExtractNumeric <int>(node, "Id", -1, true); EffectDescription = DBCUtil.ExtractString(node, "Description", "", false); EffectPath = DBCUtil.ExtractString(node, "Prefab", "", false); EffectDelay = DBCUtil.ExtractNumeric <float>(node, "Delay", 0.0f, false); PlayTime = DBCUtil.ExtractNumeric <float>(node, "PlayTime", 0.0f, false); MountPoint = DBCUtil.ExtractString(node, "MountPoint", "", false); RelativePos = DBCUtil.ExtractString(node, "RelativePos", "0 0 0", false); RotateWithTarget = DBCUtil.ExtractBool(node, "RotateWithTarget", false, false); RelativeRotation = DBCUtil.ExtractString(node, "RelativeRotation", "0 0 0", false); DelWithImpact = DBCUtil.ExtractBool(node, "DelWithImpact", false, false); return(true); }
public bool CollectDataFromDBC(DBC_Row node) { m_Id = DBCUtil.ExtractNumeric <int>(node, "Id", 0, true); m_SceneName = DBCUtil.ExtractString(node, "Name", "", false); m_ChapterName = DBCUtil.ExtractString(node, "ChapterName", "", false); m_SceneDescription = DBCUtil.ExtractString(node, "Description", "", false); m_Type = DBCUtil.ExtractNumeric <int>(node, "Type", 0, true); m_SubType = DBCUtil.ExtractNumeric <int>(node, "SubType", 0, true); m_Chapter = DBCUtil.ExtractNumeric <int>(node, "Chapter", 0, true); m_Order = DBCUtil.ExtractNumeric <int>(node, "Order", 0, true); m_UnitFile = DBCUtil.ExtractString(node, "UnitFile", "", false); m_SceneLogicFile = DBCUtil.ExtractString(node, "SceneLogicFile", "", false); m_StoryDslFile = DBCUtil.ExtractStringList(node, "StoryDslFile", "", false); m_ClientSceneFile = DBCUtil.ExtractString(node, "ClientSceneFile", "", true); m_ObstacleFile = DBCUtil.ExtractString(node, "ObstacleFile", "", false); m_BlockInfoFile = DBCUtil.ExtractString(node, "BlockInfoFile", "", false); m_TiledDataScale = DBCUtil.ExtractNumeric <float>(node, "TiledDataScale", 0, false); m_DropId = DBCUtil.ExtractNumeric <int>(node, "DropId", 0, false); m_BkMusic = DBCUtil.ExtractString(node, "BkMusic", "", false); m_BkMusicVolume = DBCUtil.ExtractNumeric <float>(node, "BkMusicVolume", 1f, false); m_StoryMusic = DBCUtil.ExtractString(node, "StoryMusic", "", false); m_StoryMusicVolume = DBCUtil.ExtractNumeric <float>(node, "StoryMusicVolume", 1f, false); m_CompletedRewards = DBCUtil.ExtractNumericList <int>(node, "CompletedReward", 0, false); m_CompletedTime = DBCUtil.ExtractNumeric <int>(node, "CompletedTime", 0, false); m_CompletedHitCount = DBCUtil.ExtractNumeric <int>(node, "CompletedHitCount", 0, false); m_CostStamina = DBCUtil.ExtractNumeric <int>(node, "CostStamina", 0, false); m_RecommendFighting = DBCUtil.ExtractNumeric <int>(node, "RecommendFighting", 0, false); m_AtlasPath = DBCUtil.ExtractString(node, "AtlasPath", "", false); m_SceneIconName = DBCUtil.ExtractString(node, "SceneIconName", "", false); m_RecoverHpCoefficient = DBCUtil.ExtractNumeric <float>(node, "RecoverHpCoefficient", 1, false); m_RecoverMpCoefficient = DBCUtil.ExtractNumeric <float>(node, "RecoverMpCoefficient", 1, false); m_BossLinkId = DBCUtil.ExtractNumeric <int>(node, "BossLinkId", -1, false); List <float> coords = DBCUtil.ExtractNumericList <float>(node, "ReachableSet", 0, false); m_RelatedMainCity = DBCUtil.ExtractNumeric <int>(node, "RelatedMainCity", 0, false); if (coords.Count > 0) { m_ReachableSet = new Vector3[coords.Count / 2]; for (int i = 0; i < coords.Count - 1; i += 2) { m_ReachableSet[i / 2] = new Vector3(coords[i], 0, coords[i + 1]); } } else { m_ReachableSet = null; } return(true); }
public bool CollectDataFromDBC(DBC_Row node) { Id = DBCUtil.ExtractNumeric <int>(node, "Id", 0, true); ActivityType = DBCUtil.ExtractNumeric <int>(node, "ActivityType", 0, false); SumDay = DBCUtil.ExtractNumeric <int>(node, "SumDay", 0, false); StartTime = DateTime.ParseExact(DBCUtil.ExtractString(node, "StartTime", "", true), "yyyyMMdd", null); EndTime = DateTime.ParseExact(DBCUtil.ExtractString(node, "EndTime", "", true), "yyyyMMdd", null); RewardItemIdList = new List <int>(); RewardItemNumList = new List <int>(); for (int i = 0; i < SumDay; ++i) { RewardItemIdList.Add(DBCUtil.ExtractNumeric <int>(node, "DayRewardItemId" + i, 0, false)); RewardItemNumList.Add(DBCUtil.ExtractNumeric <int>(node, "DayRewardItemCount" + i, 0, false)); } return(true); }
public bool CollectDataFromDBC(DBC_Row node) { m_Id = DBCUtil.ExtractNumeric <int>(node, "ID", 0, true); m_WindowName = DBCUtil.ExtractString(node, "WindowName", "", true); m_WindowPath = DBCUtil.ExtractString(node, "WindowPath", "", true); m_OffsetLeft = DBCUtil.ExtractNumeric <int>(node, "OffsetLeft", -1, false); m_OffsetRight = DBCUtil.ExtractNumeric <int>(node, "OffsetRight", -1, false); m_OffsetTop = DBCUtil.ExtractNumeric <int>(node, "OffsetTop", -1, false); m_OffsetBottom = DBCUtil.ExtractNumeric <int>(node, "OffsetBottom", -1, false); m_IsExclusion = DBCUtil.ExtractBool(node, "IsExclusion", false, false); m_IsDynamic = DBCUtil.ExtractBool(node, "IsDynamic", false, false); m_ShowType = DBCUtil.ExtractNumeric <int>(node, "ShowType", 0, true); //m_OwnToSceneId = DBCUtil.ExtractNumeric<int>(node, "SceneType", 0, true); m_OwnToSceneList = DBCUtil.ExtractNumericList <int>(node, "SceneType", int.MinValue, false); m_Group = DBCUtil.ExtractNumeric <int>(node, "Group", 0, false); return(true); }
public bool CollectDataFromDBC(DBC_Row node) { m_Id = DBCUtil.ExtractNumeric <int>(node, "Id", 0, true); m_Title = DBCUtil.ExtractString(node, "Title", "", true); m_Content = DBCUtil.ExtractString(node, "Content", "", true); try { string strDate = DBCUtil.ExtractString(node, "Date", "", true); m_Date = DateTime.ParseExact(strDate, C_NOTIFICATION_FORMAT, System.Globalization.CultureInfo.CurrentCulture); } catch (System.Exception ex) { LogSystem.Error("NotificationConfig.txt date parse error Id:{0} Format:{1} ex:{2}", m_Id, C_NOTIFICATION_FORMAT, ex.Message); } m_Interval = DBCUtil.ExtractString(node, "Interval", "", true); return(true); }
/** * @brief 提取数据 * * @param node * * @return */ public bool CollectDataFromDBC(DBC_Row node) { m_Id = DBCUtil.ExtractNumeric <int>(node, "Id", 0, true); m_LinkId = DBCUtil.ExtractNumeric <int>(node, "LinkId", 0, true); m_CampId = DBCUtil.ExtractNumeric <int>(node, "CampId", 0, true); m_Pos = Converter.ConvertVector3D(DBCUtil.ExtractString(node, "Pos", "0.0,0.0,0.0", true)); m_Pos2 = Converter.ConvertVector3D(DBCUtil.ExtractString(node, "Pos2", "0.0,0.0,0.0", false)); m_RotAngle = DBCUtil.ExtractNumeric <float>(node, "RotAngle", 0.0f, true) * (float)Math.PI / 180; m_IsEnable = DBCUtil.ExtractBool(node, "IsEnable", false, true); m_AiLogic = DBCUtil.ExtractNumeric <int>(node, "AiLogic", 0, false); m_IdleAnims = DBCUtil.ExtractNumericList <int>(node, "IdleAnimSet", 0, false); for (int i = 0; i < c_MaxAiParamNum; ++i) { m_AiParam[i] = DBCUtil.ExtractString(node, "AiParam" + i, "", false); } return(true); }
public bool CollectDataFromDBC(DBC_Row node) { Id = DBCUtil.ExtractNumeric <int>(node, "Id", 0, true); MissionType = DBCUtil.ExtractNumeric <int>(node, "Type", 0, true); Name = DBCUtil.ExtractString(node, "Name", "", true); Description = DBCUtil.ExtractString(node, "Description", "", false); FollowMissions = DBCUtil.ExtractNumericList <int>(node, "FollowId", 0, false); LevelLimit = DBCUtil.ExtractNumeric <int>(node, "LevelLimit", 0, false); SceneId = DBCUtil.ExtractNumeric <int>(node, "SceneId", 0, true); Condition = DBCUtil.ExtractNumeric <int>(node, "Condition", 0, true); Args0 = DBCUtil.ExtractNumeric <int>(node, "Args0", 0, false); Args1 = DBCUtil.ExtractNumeric <int>(node, "Args1", 0, false); DropId = DBCUtil.ExtractNumeric <int>(node, "DropId", 0, false); TriggerGuides = DBCUtil.ExtractNumericList <int>(node, "TriggerGuide", 0, false); UnlockLegacyId = DBCUtil.ExtractNumeric <int>(node, "UnlockLegacyId", 0, false); IsBornAccept = DBCUtil.ExtractBool(node, "IsBornMission", false, false); TargetUI = DBCUtil.ExtractNumeric <int>(node, "TargetUI", 0, false); return(true); }
public bool CollectDataFromDBC(DBC_Row node) { m_BossNum = DBCUtil.ExtractNumeric <int>(node, "BossNum", 0, true); m_Describe = DBCUtil.ExtractString(node, "Describe", "", false); m_DropOutMoney = DBCUtil.ExtractNumeric <int>(node, "DropOutMoney", 0, false); m_MoneyProbality = DBCUtil.ExtractNumeric <float>(node, "MoneyProbality", 0f, false); m_MoneyFactor = DBCUtil.ExtractNumeric <float>(node, "MoneyFactor", 0f, false); m_DropOutItemNum = DBCUtil.ExtractNumeric <int>(node, "DropOutItemNum", 0, false); for (int i = 0; i < m_DropOutItemNum; ++i) { string key = "DropOutItemId_" + (i + 1).ToString(); m_ItemId.Add(DBCUtil.ExtractNumeric <int>(node, key, 0, false)); key = "ItemProbality_" + (i + 1).ToString(); m_ItemProbality.Add(DBCUtil.ExtractNumeric <float>(node, key, 0, false)); key = "ItemFactor_" + (i + 1).ToString(); m_ItemFactor.Add(DBCUtil.ExtractNumeric <float>(node, key, 0, false)); } return(true); }
/** * @brief 提取数据 * * @param node * * @return */ public bool CollectDataFromDBC(DBC_Row node) { m_Id = DBCUtil.ExtractNumeric <int>(node, "Id", -1, true); m_Ground = DBCUtil.ExtractString(node, "Ground", "", true); m_BeginArea = DBCUtil.ExtractString(node, "BeginArea", "", true); m_EndArea = DBCUtil.ExtractString(node, "EndArea", "", true); m_TriggerDir = DBCUtil.ExtractNumeric <float>(node, "TriggerDir", -1, true); m_PushObjDeltaTime = DBCUtil.ExtractNumeric <float>(node, "PushObjDeltaTime", -1, true); m_PushGroundDeltaTime = DBCUtil.ExtractNumeric <float>(node, "PushGroundDeltaTime", -1, true); m_OffsetAngle = DBCUtil.ExtractNumeric <float>(node, "OffsetAngle", -1, true); m_ObjOffsetDis = DBCUtil.ExtractNumeric <float>(node, "ObjOffsetDis", -1, true); m_GroundOffsetDis = DBCUtil.ExtractNumeric <float>(node, "GroundOffsetDis", -1, true); m_ObjLifeTime = DBCUtil.ExtractNumeric <float>(node, "ObjLifeTime", -1, true); m_GroundLifeTime = DBCUtil.ExtractNumeric <float>(node, "GroundLifeTime", -1, true); m_Speed = DBCUtil.ExtractNumeric <float>(node, "Speed", -1, true); m_MaxSpeed = DBCUtil.ExtractNumeric <float>(node, "MaxSpeed", -1, true); m_Acceleration = DBCUtil.ExtractNumeric <float>(node, "Acceleration", -1, true); ObjNum = DBCUtil.ExtractNumeric <int>(node, "ObjNum", 0, false); ObjList.Clear(); if (ObjNum > 0) { for (int i = 0; i < ObjNum; ++i) { string key = "Obj" + i.ToString(); ObjList.Insert(i, DBCUtil.ExtractString(node, key, "", false)); } } ParamNum = DBCUtil.ExtractNumeric <int>(node, "ParamNum", 0, false); ExtraParams.Clear(); if (ParamNum > 0) { for (int i = 0; i < ParamNum; ++i) { string key = "Param" + i.ToString(); ExtraParams.Insert(i, DBCUtil.ExtractString(node, key, "", false)); } } return(true); }
public bool CollectDataFromDBC(DBC_Row node) { Id = DBCUtil.ExtractNumeric <int>(node, "Id", 0, true); Group = DBCUtil.ExtractNumeric <int>(node, "Group", 0, true); Describe = DBCUtil.ExtractString(node, "Describe", "", false); Test = DBCUtil.ExtractString(node, "AnnounceTime", "", true); AnnounceTime = DateTime.ParseExact(DBCUtil.ExtractString(node, "AnnounceTime", "", true), "yyyy/M/d H:mm", null); StartTime = DateTime.ParseExact(DBCUtil.ExtractString(node, "StartTime", "", true), "yyyy/M/d H:mm", null); EndTime = DateTime.ParseExact(DBCUtil.ExtractString(node, "EndTime", "", true), "yyyy/M/d H:mm", null); TotalDiamond = DBCUtil.ExtractNumeric <int>(node, "TotalDiamond", 0, false); Gold = DBCUtil.ExtractNumeric <int>(node, "Gold", 0, false); Exp = DBCUtil.ExtractNumeric <int>(node, "Exp", 0, false); ItemCount = DBCUtil.ExtractNumeric <int>(node, "ItemCount", 0, false); ItemIdList = new List <int>(); ItemNumList = new List <int>(); for (int i = 0; i < ItemCount; ++i) { ItemIdList.Add(DBCUtil.ExtractNumeric <int>(node, "ItemId_" + i, 0, false)); ItemNumList.Add(DBCUtil.ExtractNumeric <int>(node, "ItemNum_" + i, 0, false)); } return(true); }
public bool CollectDataFromDBC(DBC_Row node) { FitBegin = DBCUtil.ExtractNumeric <int>(node, "FitBegin", 0, true); FitEnd = DBCUtil.ExtractNumeric <int>(node, "FitEnd", 0, true); Money = DBCUtil.ExtractNumeric <int>(node, "Money", 0, false); Gold = DBCUtil.ExtractNumeric <int>(node, "Gold", 0, false); ItemCount = DBCUtil.ExtractNumeric <int>(node, "ItemCount", 0, true); Items = new List <GowPrizeItem>(); for (int i = 1; i <= ItemCount; i++) { string item_str = DBCUtil.ExtractString(node, "Item_" + i, "", false); string[] item_str_array = item_str.Split('|'); if (item_str_array.Length >= 2) { GowPrizeItem item = new GowPrizeItem(); item.ItemId = int.Parse(item_str_array[0]); item.ItemNum = int.Parse(item_str_array[1]); Items.Add(item); } } return(true); }
/** * @brief 提取数据 * * @param node * * @return */ public bool CollectDataFromDBC(DBC_Row node) { Id = DBCUtil.ExtractNumeric <int>(node, "Id", -1, true); Name = DBCUtil.ExtractString(node, "Name", "", true); IsMusic = DBCUtil.ExtractBool(node, "IsMusic", false, true); Priority = DBCUtil.ExtractNumeric <int>(node, "Priority", 1, false); Volume = DBCUtil.ExtractNumeric <float>(node, "Volume", 1.0f, false); IsLoop = DBCUtil.ExtractBool(node, "IsLoop", false, false); Position = Converter.ConvertVector3D(DBCUtil.ExtractString(node, "Position", "0,0,0", false)); ParamNum = DBCUtil.ExtractNumeric <int>(node, "ParamNum", 0, false); ExtraParams.Clear(); if (ParamNum > 0) { for (int i = 0; i < ParamNum; ++i) { string key = "Param" + i.ToString(); ExtraParams.Insert(i, DBCUtil.ExtractString(node, key, "", false)); } } return(true); }
public bool CollectDataFromDBC(DBC_Row node) { m_TollgateNum = DBCUtil.ExtractNumeric <int>(node, "TollgateNum", 0, true); m_RelativeScore = DBCUtil.ExtractNumeric <float>(node, "RelativeScore", 0, true); m_DropOutMoney = DBCUtil.ExtractNumeric <int>(node, "DropOutMoney", 0, false); m_MoneyFactor = DBCUtil.ExtractNumeric <float>(node, "MoneyFactor", 0, false); for (int i = 0; i < c_DropOutItemNum; ++i) { string key = "DropOutItemId_" + (i + 1).ToString(); m_ItemId.Add(DBCUtil.ExtractNumeric <int>(node, key, 0, false)); key = "ItemProbality_" + (i + 1).ToString(); m_ItemProbality.Add(DBCUtil.ExtractNumeric <float>(node, key, 0, false)); key = "ItemFactor_" + (i + 1).ToString(); m_ItemFactor.Add(DBCUtil.ExtractNumeric <float>(node, key, 0, false)); } m_ImageAiLogic = DBCUtil.ExtractNumeric <int>(node, "ImageAiLogic", 0, false); for (int i = 0; i < c_FlushPosNum; ++i) { string key = "FlushPos_" + (i + 1).ToString(); m_Pos.Add(DBCUtil.ExtractString(node, key, "0.0,0.0,0.0", false)); } return(true); }
/** * @brief 提取数据 * * @param node * * @return */ public bool CollectDataFromDBC(DBC_Row node) { SoundId = DBCUtil.ExtractNumeric <int>(node, "Id", -1, true); SoundDescription = DBCUtil.ExtractString(node, "Description", "", false); for (int i = 0; i < skillSoundCount; ++i) { string NodeName = "Sound" + i.ToString(); m_SoundList.Add(DBCUtil.ExtractString(node, NodeName, "", false)); } ParamNum = DBCUtil.ExtractNumeric <int>(node, "ParamNum", 0, false); ExtraParams.Clear(); if (ParamNum > 0) { for (int i = 0; i < ParamNum; ++i) { string key = "Param" + i.ToString(); ExtraParams.Insert(i, DBCUtil.ExtractString(node, key, "", false)); } } return(true); }
/** * @brief 提取数据 * * @param node * * @return */ public bool CollectDataFromDBC(DBC_Row node) { m_Id = DBCUtil.ExtractNumeric <int>(node, "Id", 0, true); m_Name = DBCUtil.ExtractString(node, "Name", "", true); m_Scale = DBCUtil.ExtractNumeric <float>(node, "Scale", 1.0f, false); m_AiLogic = DBCUtil.ExtractNumeric <int>(node, "AiLogic", 0, false); m_AttrData.CollectDataFromDBC(node); //m_SuperArmor = DBCUtil.ExtractNumeric<bool>(node, "SuperArmor", false, false); m_ViewRange = DBCUtil.ExtractNumeric <float>(node, "ViewRange", -1, true); m_ReleaseTime = DBCUtil.ExtractNumeric <long>(node, "ReleaseTime", 0, false); m_CostType = DBCUtil.ExtractNumeric <int>(node, "CostType", 0, false); m_PreSkillList = DBCUtil.ExtractNumericList <int>(node, "PreSkillList", 0, false); m_FixedSkillList = DBCUtil.ExtractNumericList <int>(node, "FixedSkillList", 0, false); m_ActionList = DBCUtil.ExtractNumericList <int>(node, "ActionId", 0, false); m_NoviceEquipList = DBCUtil.ExtractNumericList <int>(node, "NoviceEquipList", 0, false); m_InitXSoulPart = DBCUtil.ExtractNumericList <int>(node, "InitXSoulPart", 0, false); m_Model = DBCUtil.ExtractString(node, "Model", "", false); m_Skeleton = DBCUtil.ExtractString(node, "Skeleton", "", false); m_DefaultModel = DBCUtil.ExtractString(node, "DefaultModel", "", false); LoadDefaultModelData(m_DefaultModel); m_DeathModel = DBCUtil.ExtractString(node, "DeathModel", "", false); m_ActionFile = DBCUtil.ExtractString(node, "ActionFile", "", false); m_AnimPath = DBCUtil.ExtractString(node, "AnimPath", "", false); m_Portrait = DBCUtil.ExtractString(node, "Portrait", "", false); m_PortraitForCell = DBCUtil.ExtractString(node, "PortraitForCell", "", false); m_Radius = DBCUtil.ExtractNumeric <float>(node, "Radius", 1.0f, false); m_AvoidanceRadius = DBCUtil.ExtractNumeric <int>(node, "AvoidanceRadius", 1, false); List <int> list = DBCUtil.ExtractNumericList <int>(node, "RecommendEquipment", 0, false); if (list.Count == 6) { m_RecommendEquipment = list.ToArray(); } else { m_RecommendEquipment = new int[] { 0, 0, 0, 0, 0, 0 }; } list = DBCUtil.ExtractNumericList <int>(node, "AiEquipment", 0, false); if (list.Count == 6) { m_AiEquipment = list.ToArray(); } else { m_AiEquipment = new int[] { 0, 0, 0, 0, 0, 0 } }; list = DBCUtil.ExtractNumericList <int>(node, "AiAttackSkill", 0, false); if (list.Count > 0) { m_AiAttackSkill = list.ToArray(); } list = DBCUtil.ExtractNumericList <int>(node, "AiMoveSkill", 0, false); if (list.Count > 0) { m_AiMoveSkill = list.ToArray(); } list = DBCUtil.ExtractNumericList <int>(node, "AiControlSkill", 0, false); if (list.Count > 0) { m_AiControlSkill = list.ToArray(); } list = DBCUtil.ExtractNumericList <int>(node, "AiSelfAssitSkill", 0, false); if (list.Count > 0) { m_AiSelfAssitSkill = list.ToArray(); } list = DBCUtil.ExtractNumericList <int>(node, "AiTeamAssitSkill", 0, false); if (list.Count > 0) { m_AiTeamAssitSkill = list.ToArray(); } m_Cross2StandTime = DBCUtil.ExtractNumeric <float>(node, "Cross2StandTime", 0.5f, false); m_Cross2RunTime = DBCUtil.ExtractNumeric <float>(node, "Cross2RunTime", 0.3f, false); m_Combat2IdleTime = DBCUtil.ExtractNumeric <float>(node, "Comabat2IdleTime", 3, false); m_Combat2IdleSkill = DBCUtil.ExtractNumeric <int>(node, "Combat2IdleSkill", 0, false); m_Idle2CombatWeaponMoves = DBCUtil.ExtractString(node, "Idle2CombatWeaponMoves", "", false); m_IndicatorEffect = DBCUtil.ExtractString(node, "IndicatorEffect", "", false); m_IndicatorShowDis = DBCUtil.ExtractNumeric <float>(node, "IndicatorDis", 10.0f, false); m_HeroIntroduce1 = DBCUtil.ExtractString(node, "HeroIntroduce1", "", false); m_HeroIntroduce2 = DBCUtil.ExtractString(node, "HeroIntroduce2", "", false); m_DamageRagePercent = DBCUtil.ExtractNumeric <float>(node, "DamageRagePercent", 0f, false); return(true); }
/** * @brief 提取数据 * * @param node * * @return */ public bool CollectDataFromDBC(DBC_Row node) { m_ModelId = DBCUtil.ExtractNumeric <int>(node, "ModelId", 0, false); m_CombatStdSpeed = DBCUtil.ExtractNumeric <float>(node, "CombatStdSpeed", 3.0f, false); m_ForwardStdSpeed = DBCUtil.ExtractNumeric <float>(node, "ForwardStdSpeed", 3.0f, true); m_SlowStdSpeed = DBCUtil.ExtractNumeric <float>(node, "SlowStdSpeed", 3.0f, false); m_FastStdSpeed = DBCUtil.ExtractNumeric <float>(node, "FastStdSpeed", 3.0f, false); m_ActionPrefix = DBCUtil.ExtractString(node, "ActionPrefix", "", false); m_ActionContainer = new Dictionary <Animation_Type, List <Data_ActionInfo> >(); m_ActionAnimNameContainer = new Dictionary <Animation_Type, string>(); m_ActionContainer[Animation_Type.AT_SLEEP] = ExtractAction(node, "Sleep"); AddActionAnimName(Animation_Type.AT_SLEEP); m_ActionContainer[Animation_Type.AT_Stand] = ExtractAction(node, "Stand_0"); AddActionAnimName(Animation_Type.AT_Stand); m_ActionContainer[Animation_Type.AT_IdelStand] = ExtractAction(node, "Idle_Stand"); AddActionAnimName(Animation_Type.AT_IdelStand); m_ActionContainer[Animation_Type.AT_Idle0] = ExtractAction(node, "Idle_0"); AddActionAnimName(Animation_Type.AT_Idle0); m_ActionContainer[Animation_Type.AT_Idle1] = ExtractAction(node, "Idle_1"); AddActionAnimName(Animation_Type.AT_Idle1); m_ActionContainer[Animation_Type.AT_Idle2] = ExtractAction(node, "Idle_2"); AddActionAnimName(Animation_Type.AT_Idle2); m_ActionContainer[Animation_Type.AT_FlyUp] = ExtractAction(node, "FlyUp"); AddActionAnimName(Animation_Type.AT_FlyUp); m_ActionContainer[Animation_Type.AT_FlyDown] = ExtractAction(node, "FlyDown"); AddActionAnimName(Animation_Type.AT_FlyDown); m_ActionContainer[Animation_Type.AT_FlyHurt] = ExtractAction(node, "FlyHurt"); AddActionAnimName(Animation_Type.AT_FlyHurt); m_ActionContainer[Animation_Type.AT_FlyDownGround] = ExtractAction(node, "FlyDownGround"); AddActionAnimName(Animation_Type.AT_FlyDownGround); m_ActionContainer[Animation_Type.AT_OnGround] = ExtractAction(node, "OnGround"); AddActionAnimName(Animation_Type.AT_OnGround); m_ActionContainer[Animation_Type.AT_Grab] = ExtractAction(node, "Grab"); AddActionAnimName(Animation_Type.AT_Grab); m_ActionContainer[Animation_Type.AT_CombatStand] = ExtractAction(node, "CombatStand"); AddActionAnimName(Animation_Type.AT_CombatStand); m_ActionContainer[Animation_Type.AT_CombatRun] = ExtractAction(node, "CombatRun"); AddActionAnimName(Animation_Type.AT_CombatRun); m_ActionContainer[Animation_Type.AT_SlowMove] = ExtractAction(node, "SlowMove"); AddActionAnimName(Animation_Type.AT_SlowMove); m_ActionContainer[Animation_Type.AT_FastMove] = ExtractAction(node, "FastMove"); AddActionAnimName(Animation_Type.AT_FastMove); m_ActionContainer[Animation_Type.AT_RunForward] = ExtractAction(node, "RunForward_0"); AddActionAnimName(Animation_Type.AT_RunForward); m_ActionContainer[Animation_Type.AT_Born] = ExtractAction(node, "Born"); AddActionAnimName(Animation_Type.AT_Born); m_ActionContainer[Animation_Type.AT_Hurt0] = ExtractAction(node, "Hurt_0"); AddActionAnimName(Animation_Type.AT_Hurt0); m_ActionContainer[Animation_Type.AT_Hurt1] = ExtractAction(node, "Hurt_1"); AddActionAnimName(Animation_Type.AT_Hurt1); m_ActionContainer[Animation_Type.AT_Hurt2] = ExtractAction(node, "Hurt_2"); AddActionAnimName(Animation_Type.AT_Hurt2); m_ActionContainer[Animation_Type.AT_Dead] = ExtractAction(node, "Dead"); AddActionAnimName(Animation_Type.AT_Dead); m_ActionContainer[Animation_Type.AT_Taunt] = ExtractAction(node, "Taunt"); AddActionAnimName(Animation_Type.AT_Taunt); m_ActionContainer[Animation_Type.AT_PostDead] = ExtractAction(node, "PostDead"); AddActionAnimName(Animation_Type.AT_PostDead); m_ActionContainer[Animation_Type.AT_GetUp1] = ExtractAction(node, "GetUp_0"); AddActionAnimName(Animation_Type.AT_GetUp1); m_ActionContainer[Animation_Type.AT_GetUp2] = ExtractAction(node, "GetUp_1"); AddActionAnimName(Animation_Type.AT_GetUp2); m_ActionContainer[Animation_Type.AT_Celebrate] = ExtractAction(node, "Celebrate_0"); AddActionAnimName(Animation_Type.AT_Celebrate); m_ActionContainer[Animation_Type.AT_Depressed] = ExtractAction(node, "Depressed_0"); AddActionAnimName(Animation_Type.AT_Depressed); m_ActionContainer[Animation_Type.AT_SkillSection1] = ExtractAction(node, "SkillSection01"); AddActionAnimName(Animation_Type.AT_SkillSection1); m_ActionContainer[Animation_Type.AT_SkillSection2] = ExtractAction(node, "SkillSection02"); AddActionAnimName(Animation_Type.AT_SkillSection2); m_ActionContainer[Animation_Type.AT_SkillSection3] = ExtractAction(node, "SkillSection03"); AddActionAnimName(Animation_Type.AT_SkillSection3); m_ActionContainer[Animation_Type.AT_SkillSection4] = ExtractAction(node, "SkillSection04"); AddActionAnimName(Animation_Type.AT_SkillSection4); m_ActionContainer[Animation_Type.AT_SkillSection5] = ExtractAction(node, "SkillSection05"); AddActionAnimName(Animation_Type.AT_SkillSection5); m_ActionContainer[Animation_Type.AT_SkillSection6] = ExtractAction(node, "SkillSection06"); AddActionAnimName(Animation_Type.AT_SkillSection6); m_ActionContainer[Animation_Type.AT_SkillSection7] = ExtractAction(node, "SkillSection07"); AddActionAnimName(Animation_Type.AT_SkillSection7); m_ActionContainer[Animation_Type.AT_SkillSection8] = ExtractAction(node, "SkillSection08"); AddActionAnimName(Animation_Type.AT_SkillSection8); m_ActionContainer[Animation_Type.AT_SkillSection9] = ExtractAction(node, "SkillSection09"); AddActionAnimName(Animation_Type.AT_SkillSection9); m_ActionContainer[Animation_Type.AT_SkillSection10] = ExtractAction(node, "SkillSection10"); AddActionAnimName(Animation_Type.AT_SkillSection10); m_ActionContainer[Animation_Type.AT_SkillSection11] = ExtractAction(node, "SkillSection11"); AddActionAnimName(Animation_Type.AT_SkillSection11); m_ActionContainer[Animation_Type.AT_SkillSection12] = ExtractAction(node, "SkillSection12"); AddActionAnimName(Animation_Type.AT_SkillSection12); m_ActionContainer[Animation_Type.AT_SkillSection13] = ExtractAction(node, "SkillSection13"); AddActionAnimName(Animation_Type.AT_SkillSection13); m_ActionContainer[Animation_Type.AT_SkillSection14] = ExtractAction(node, "SkillSection14"); AddActionAnimName(Animation_Type.AT_SkillSection14); m_ActionContainer[Animation_Type.AT_SkillSection15] = ExtractAction(node, "SkillSection15"); AddActionAnimName(Animation_Type.AT_SkillSection15); m_ActionContainer[Animation_Type.AT_SkillSection16] = ExtractAction(node, "SkillSection16"); AddActionAnimName(Animation_Type.AT_SkillSection16); m_ActionContainer[Animation_Type.AT_SkillSection17] = ExtractAction(node, "SkillSection17"); AddActionAnimName(Animation_Type.AT_SkillSection17); m_ActionContainer[Animation_Type.AT_SkillSection18] = ExtractAction(node, "SkillSection18"); AddActionAnimName(Animation_Type.AT_SkillSection18); m_ActionContainer[Animation_Type.AT_SkillSection19] = ExtractAction(node, "SkillSection19"); AddActionAnimName(Animation_Type.AT_SkillSection19); m_ActionContainer[Animation_Type.AT_SkillSection20] = ExtractAction(node, "SkillSection20"); AddActionAnimName(Animation_Type.AT_SkillSection20); return(true); }