//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, February 12, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class VIPAwardConfig : ConfigBase {
|
|
public int VIPLV;
|
public string VIPgift;
|
public int GiftPrice;
|
public int OldPrice;
|
public string specialGiftIcon;
|
public string privilegeIcon1;
|
public string privilegeIcon2;
|
|
public override string getKey()
|
{
|
return VIPLV.ToString();
|
}
|
|
public override void Parse(string content) {
|
try
|
{
|
var contents = content.Split('\t');
|
|
int.TryParse(contents[0],out VIPLV);
|
|
VIPgift = contents[1];
|
|
int.TryParse(contents[2],out GiftPrice);
|
|
int.TryParse(contents[3],out OldPrice);
|
|
specialGiftIcon = contents[4];
|
|
privilegeIcon1 = contents[5];
|
|
privilegeIcon2 = contents[6];
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|
|
|
|
|