| | |
| | | namespace TableConfig { |
| | | |
| | | |
| | | public partial class JobSetupConfig : ConfigBase { |
| | | public partial class JobSetupConfig : ConfigBase {
|
| | |
|
| | | public int Job { get ; private set ; }
|
| | | public int[] BaseEquip;
|
| | | public int[] ComAtkIdList;
|
| | | public int[] StopAction;
|
| | | public int[] CanStopSkillList;
|
| | | public string CanBeStopSkillList { get ; private set; } |
| | | public int RushMinDist { get ; private set ; }
|
| | | public int RushMaxDist { get ; private set ; }
|
| | | public int RushSpeed { get ; private set ; }
|
| | | public int RushInterval { get ; private set ; }
|
| | | public int RushAnimatorSpeed { get ; private set ; }
|
| | | public int RushTargetType { get ; private set ; }
|
| | | public int ShadowLastTime { get ; private set ; }
|
| | | public int ShadowCreateInterval { get ; private set ; }
|
| | | public int SearchEnemyDist { get ; private set ; }
|
| | | public int MaxSwitchTargetDist { get ; private set ; }
|
| | | public int[] HangupSkillList;
|
| | | public string DungeonSkillList { get ; private set; } |
| | | public int HpPerUseSkill { get ; private set ; }
|
| | | public int[] HpSkillList;
|
| | | public int[] GainSkillList;
|
| | | public int MoveLimitDist { get ; private set ; }
|
| | | |
| | | public int Job { get ; private set ; } |
| | | public int[] BaseEquip; |
| | | public int[] ComAtkIdList; |
| | | public int[] StopAction; |
| | | public int[] CanStopSkillList; |
| | | public string CanBeStopSkillList { get ; private set; } |
| | | public int RushMinDist { get ; private set ; } |
| | | public int RushMaxDist { get ; private set ; } |
| | | public int RushSpeed { get ; private set ; } |
| | | public int RushInterval { get ; private set ; } |
| | | public int RushAnimatorSpeed { get ; private set ; } |
| | | public int RushTargetType { get ; private set ; } |
| | | public int ShadowLastTime { get ; private set ; } |
| | | public int ShadowCreateInterval { get ; private set ; } |
| | | public int SearchEnemyDist { get ; private set ; } |
| | | public int MaxSwitchTargetDist { get ; private set ; } |
| | | public int[] HangupSkillList; |
| | | public string DungeonSkillList { get ; private set; } |
| | | public int HpPerUseSkill { get ; private set ; } |
| | | public int[] HpSkillList; |
| | | public int[] GainSkillList; |
| | | public int MoveLimitDist { get ; private set ; } |
| | | |
| | | public override string getKey() |
| | | { |
| | | return Job.ToString(); |
| | | public override string getKey()
|
| | | {
|
| | | return Job.ToString();
|
| | | } |
| | | |
| | | public override void Parse() { |
| | | try |
| | | { |
| | | Job=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | try
|
| | | {
|
| | | Job=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | string[] BaseEquipStringArray = rawContents[1].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | BaseEquip = new int[BaseEquipStringArray.Length]; |
| | | for (int i=0;i<BaseEquipStringArray.Length;i++) |
| | | { |
| | | int.TryParse(BaseEquipStringArray[i],out BaseEquip[i]); |
| | | } |
| | | |
| | | }
|
| | | |
| | | string[] ComAtkIdListStringArray = rawContents[2].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | ComAtkIdList = new int[ComAtkIdListStringArray.Length]; |
| | | for (int i=0;i<ComAtkIdListStringArray.Length;i++) |
| | | { |
| | | int.TryParse(ComAtkIdListStringArray[i],out ComAtkIdList[i]); |
| | | } |
| | | |
| | | }
|
| | | |
| | | string[] StopActionStringArray = rawContents[3].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | StopAction = new int[StopActionStringArray.Length]; |
| | | for (int i=0;i<StopActionStringArray.Length;i++) |
| | | { |
| | | int.TryParse(StopActionStringArray[i],out StopAction[i]); |
| | | } |
| | | |
| | | }
|
| | | |
| | | string[] CanStopSkillListStringArray = rawContents[4].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | CanStopSkillList = new int[CanStopSkillListStringArray.Length]; |
| | | for (int i=0;i<CanStopSkillListStringArray.Length;i++) |
| | | { |
| | | int.TryParse(CanStopSkillListStringArray[i],out CanStopSkillList[i]); |
| | | } |
| | | |
| | | CanBeStopSkillList = rawContents[5].Trim(); |
| | | |
| | | RushMinDist=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0; |
| | | |
| | | RushMaxDist=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0; |
| | | |
| | | RushSpeed=IsNumeric(rawContents[8]) ? int.Parse(rawContents[8]):0; |
| | | |
| | | RushInterval=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0; |
| | | |
| | | RushAnimatorSpeed=IsNumeric(rawContents[10]) ? int.Parse(rawContents[10]):0; |
| | | |
| | | RushTargetType=IsNumeric(rawContents[11]) ? int.Parse(rawContents[11]):0; |
| | | |
| | | ShadowLastTime=IsNumeric(rawContents[12]) ? int.Parse(rawContents[12]):0; |
| | | |
| | | ShadowCreateInterval=IsNumeric(rawContents[13]) ? int.Parse(rawContents[13]):0; |
| | | |
| | | SearchEnemyDist=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0; |
| | | |
| | | MaxSwitchTargetDist=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0; |
| | | |
| | | }
|
| | | |
| | | CanBeStopSkillList = rawContents[5].Trim();
|
| | | |
| | | RushMinDist=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0; |
| | | |
| | | RushMaxDist=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0; |
| | | |
| | | RushSpeed=IsNumeric(rawContents[8]) ? int.Parse(rawContents[8]):0; |
| | | |
| | | RushInterval=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0; |
| | | |
| | | RushAnimatorSpeed=IsNumeric(rawContents[10]) ? int.Parse(rawContents[10]):0; |
| | | |
| | | RushTargetType=IsNumeric(rawContents[11]) ? int.Parse(rawContents[11]):0; |
| | | |
| | | ShadowLastTime=IsNumeric(rawContents[12]) ? int.Parse(rawContents[12]):0; |
| | | |
| | | ShadowCreateInterval=IsNumeric(rawContents[13]) ? int.Parse(rawContents[13]):0; |
| | | |
| | | SearchEnemyDist=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0; |
| | | |
| | | MaxSwitchTargetDist=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0; |
| | | |
| | | string[] HangupSkillListStringArray = rawContents[16].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | HangupSkillList = new int[HangupSkillListStringArray.Length]; |
| | | for (int i=0;i<HangupSkillListStringArray.Length;i++) |
| | | { |
| | | int.TryParse(HangupSkillListStringArray[i],out HangupSkillList[i]); |
| | | } |
| | | |
| | | DungeonSkillList = rawContents[17].Trim(); |
| | | |
| | | HpPerUseSkill=IsNumeric(rawContents[18]) ? int.Parse(rawContents[18]):0; |
| | | |
| | | }
|
| | | |
| | | DungeonSkillList = rawContents[17].Trim();
|
| | | |
| | | HpPerUseSkill=IsNumeric(rawContents[18]) ? int.Parse(rawContents[18]):0; |
| | | |
| | | string[] HpSkillListStringArray = rawContents[19].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | HpSkillList = new int[HpSkillListStringArray.Length]; |
| | | for (int i=0;i<HpSkillListStringArray.Length;i++) |
| | | { |
| | | int.TryParse(HpSkillListStringArray[i],out HpSkillList[i]); |
| | | } |
| | | |
| | | }
|
| | | |
| | | string[] GainSkillListStringArray = rawContents[20].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | GainSkillList = new int[GainSkillListStringArray.Length]; |
| | | for (int i=0;i<GainSkillListStringArray.Length;i++) |
| | | { |
| | | int.TryParse(GainSkillListStringArray[i],out GainSkillList[i]); |
| | | } |
| | | |
| | | MoveLimitDist=IsNumeric(rawContents[21]) ? int.Parse(rawContents[21]):0; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | DesignDebug.Log(ex); |
| | | }
|
| | | |
| | | MoveLimitDist=IsNumeric(rawContents[21]) ? int.Parse(rawContents[21]):0; |
| | | }
|
| | | catch (Exception ex)
|
| | | {
|
| | | DebugEx.Log(ex);
|
| | | } |
| | | } |
| | | |