//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class RuneTowerFloorConfig : ConfigBase {
|
|
public int ID;
|
public int TowerId;
|
public int FloorIndex;
|
public string FloorName;
|
public string RewardTitle;
|
public int RuneEssence;
|
public int RuneMagicEssence;
|
public int BossId;
|
public int UnLockRune;
|
public int UnLockHole;
|
public int UnLockCompose;
|
public int RuneDrop;
|
public int Fixed;
|
public int AutoExit;
|
public int Fightpower;
|
|
public override string getKey()
|
{
|
return ID.ToString();
|
}
|
|
public override void Parse(string content) {
|
try
|
{
|
var contents = content.Split('\t');
|
|
int.TryParse(contents[0],out ID);
|
|
int.TryParse(contents[1],out TowerId);
|
|
int.TryParse(contents[2],out FloorIndex);
|
|
FloorName = contents[3];
|
|
RewardTitle = contents[4];
|
|
int.TryParse(contents[5],out RuneEssence);
|
|
int.TryParse(contents[6],out RuneMagicEssence);
|
|
int.TryParse(contents[7],out BossId);
|
|
int.TryParse(contents[8],out UnLockRune);
|
|
int.TryParse(contents[9],out UnLockHole);
|
|
int.TryParse(contents[10],out UnLockCompose);
|
|
int.TryParse(contents[11],out RuneDrop);
|
|
int.TryParse(contents[12],out Fixed);
|
|
int.TryParse(contents[13],out AutoExit);
|
|
int.TryParse(contents[14],out Fightpower);
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|
|
|
|
|