| | |
| | | using System; |
| | | using UnityEngine; |
| | | |
| | | [XLua.LuaCallCSharp] |
| | | |
| | | public partial class TreasureDungeonConfig |
| | | { |
| | | |
| | | public readonly int ID;
|
| | | public readonly int MWID;
|
| | | public readonly int LineID;
|
| | | public readonly int Level;
|
| | | public readonly string Attr;
|
| | | public readonly int fightPower;
|
| | | public readonly string icon;
|
| | | public readonly string bossName;
|
| | | public readonly int ID; |
| | | public readonly int MWID; |
| | | public readonly int LineID; |
| | | public readonly int Level; |
| | | public readonly string Attr; |
| | | public readonly int fightPower; |
| | | public readonly string icon; |
| | | public readonly string bossName; |
| | | public readonly int defense; |
| | | |
| | | public TreasureDungeonConfig() |
| | |
| | | { |
| | | var tables = input.Split('\t'); |
| | | |
| | | int.TryParse(tables[0],out ID); |
| | |
|
| | | int.TryParse(tables[1],out MWID); |
| | |
|
| | | int.TryParse(tables[2],out LineID); |
| | |
|
| | | int.TryParse(tables[3],out Level); |
| | |
|
| | | Attr = tables[4];
|
| | |
|
| | | int.TryParse(tables[5],out fightPower); |
| | |
|
| | | icon = tables[6];
|
| | |
|
| | | bossName = tables[7];
|
| | |
|
| | | int.TryParse(tables[0],out ID); |
| | | |
| | | int.TryParse(tables[1],out MWID); |
| | | |
| | | int.TryParse(tables[2],out LineID); |
| | | |
| | | int.TryParse(tables[3],out Level); |
| | | |
| | | Attr = tables[4]; |
| | | |
| | | int.TryParse(tables[5],out fightPower); |
| | | |
| | | icon = tables[6]; |
| | | |
| | | bossName = tables[7]; |
| | | |
| | | int.TryParse(tables[8],out defense); |
| | | } |
| | | catch (Exception ex) |