| | |
| | | //-------------------------------------------------------- |
| | | // [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; |
| | | //--------------------------------------------------------
|
| | | // [Author]: 第二世界
|
| | | // [ Date ]: Tuesday, February 12, 2019
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using UnityEngine;
|
| | | using System;
|
| | |
|
| | | namespace TableConfig {
|
| | |
|
| | | |
| | | public partial class VipPrivilegeConfig : ConfigBase {
|
| | |
|
| | | public int VIPPrivilege;
|
| | | public int VIP0;
|
| | | public int VIP1;
|
| | | public int VIP2;
|
| | | public int VIP3;
|
| | | public int VIP4;
|
| | | public int VIP5;
|
| | | public int VIP6;
|
| | | public int VIP7;
|
| | | public int VIP8;
|
| | | public int VIP9;
|
| | | public int VIP10;
|
| | | public int VIP11;
|
| | | public int VIP12;
|
| | | public int VIP13;
|
| | | public int VIP14;
|
| | | public int VIP15;
|
| | |
|
| | | public override string getKey()
|
| | | {
|
| | | return VIPPrivilege .ToString();
|
| | | }
|
| | |
|
| | | public override void Parse(string content) {
|
| | | try
|
| | | {
|
| | | var contents = content.Split('\t');
|
| | |
|
| | | int.TryParse(contents[0],out VIPPrivilege);
|
| | |
|
| | | VIP0=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; |
| | | int.TryParse(contents[1],out VIP0);
|
| | |
|
| | | VIP1=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | | int.TryParse(contents[2],out VIP1);
|
| | |
|
| | | VIP2=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; |
| | | int.TryParse(contents[3],out VIP2);
|
| | |
|
| | | VIP3=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; |
| | | int.TryParse(contents[4],out VIP3);
|
| | |
|
| | | VIP4=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0; |
| | | int.TryParse(contents[5],out VIP4);
|
| | |
|
| | | VIP5=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0; |
| | | int.TryParse(contents[6],out VIP5);
|
| | |
|
| | | VIP6=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0; |
| | | int.TryParse(contents[7],out VIP6);
|
| | |
|
| | | VIP7=IsNumeric(rawContents[8]) ? int.Parse(rawContents[8]):0; |
| | | int.TryParse(contents[8],out VIP7);
|
| | |
|
| | | VIP8=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0; |
| | | int.TryParse(contents[9],out VIP8);
|
| | |
|
| | | VIP9=IsNumeric(rawContents[10]) ? int.Parse(rawContents[10]):0; |
| | | int.TryParse(contents[10],out VIP9);
|
| | |
|
| | | VIP10=IsNumeric(rawContents[11]) ? int.Parse(rawContents[11]):0; |
| | | int.TryParse(contents[11],out VIP10);
|
| | |
|
| | | VIP11=IsNumeric(rawContents[12]) ? int.Parse(rawContents[12]):0; |
| | | int.TryParse(contents[12],out VIP11);
|
| | |
|
| | | VIP12=IsNumeric(rawContents[13]) ? int.Parse(rawContents[13]):0; |
| | | int.TryParse(contents[13],out VIP12);
|
| | |
|
| | | VIP13=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0; |
| | | int.TryParse(contents[14],out VIP13);
|
| | |
|
| | | VIP14=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0; |
| | | int.TryParse(contents[15],out VIP14);
|
| | |
|
| | | VIP15=IsNumeric(rawContents[16]) ? int.Parse(rawContents[16]):0; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | DebugEx.Log(ex); |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | int.TryParse(contents[16],out VIP15);
|
| | | }
|
| | | catch (Exception ex)
|
| | | {
|
| | | DebugEx.Log(ex);
|
| | | }
|
| | | }
|
| | | |
| | | }
|
| | |
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | |
|