//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Thursday, September 27, 2018
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class VipPrivilegeConfig : ConfigBase {
|
|
public int VIPPrivilege { get ; private set ; }
|
public int VIP0 { get ; private set ; }
|
public int VIP1 { get ; private set ; }
|
public int VIP2 { get ; private set ; }
|
public int VIP3 { get ; private set ; }
|
public int VIP4 { get ; private set ; }
|
public int VIP5 { get ; private set ; }
|
public int VIP6 { get ; private set ; }
|
public int VIP7 { get ; private set ; }
|
public int VIP8 { get ; private set ; }
|
public int VIP9 { get ; private set ; }
|
public int VIP10 { get ; private set ; }
|
public int VIP11 { get ; private set ; }
|
public int VIP12 { get ; private set ; }
|
public int VIP13 { get ; private set ; }
|
public int VIP14 { get ; private set ; }
|
public int VIP15 { get ; private set ; }
|
|
public override string getKey()
|
{
|
return VIPPrivilege .ToString();
|
}
|
|
public override void Parse() {
|
try
|
{
|
VIPPrivilege=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
|
VIP0=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
|
|
VIP1=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
|
|
VIP2=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
|
|
VIP3=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
|
|
VIP4=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0;
|
|
VIP5=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0;
|
|
VIP6=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0;
|
|
VIP7=IsNumeric(rawContents[8]) ? int.Parse(rawContents[8]):0;
|
|
VIP8=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0;
|
|
VIP9=IsNumeric(rawContents[10]) ? int.Parse(rawContents[10]):0;
|
|
VIP10=IsNumeric(rawContents[11]) ? int.Parse(rawContents[11]):0;
|
|
VIP11=IsNumeric(rawContents[12]) ? int.Parse(rawContents[12]):0;
|
|
VIP12=IsNumeric(rawContents[13]) ? int.Parse(rawContents[13]):0;
|
|
VIP13=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0;
|
|
VIP14=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0;
|
|
VIP15=IsNumeric(rawContents[16]) ? int.Parse(rawContents[16]):0;
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|