示例#1
0
        public override void Parse(CsvLocalizedData rawData, int rowIdx)
        {
            string[] defRow = rawData.data.rows[rowIdx];

            if (defRow[1].Length > 0)
            {
                Name = rawData.GetLocalizedText(rowIdx, 1);
            }
        }
示例#2
0
        public override void Parse(CsvLocalizedData rawData, int rowIdx)
        {
            string[] defRow = rawData.data.rows[rowIdx];

            Id = int.Parse(defRow[0]);
            if (Id > 0)
            {
                Type = rawData.GetLocalizedText(rowIdx, 1);
            }
        }