//--------------------------------------------------------  
 | 
//    [Author]:           YYL  
 | 
//    [  Date ]:           2025年8月9日  
 | 
//--------------------------------------------------------  
 | 
  
 | 
using System.Collections.Generic;  
 | 
using System;  
 | 
using UnityEngine;  
 | 
using LitJson;  
 | 
  
 | 
public partial class PlayerPropertyConfig : ConfigBase<int, PlayerPropertyConfig>  
 | 
{  
 | 
    static PlayerPropertyConfig()  
 | 
    {  
 | 
        // 访问过静态构造函数  
 | 
        visit = true;   
 | 
    }  
 | 
  
 | 
    public int ID;  
 | 
    public string Name;  
 | 
    public string ShowName;  
 | 
    public int ISPercentage;  
 | 
    public int decimalCount;  
 | 
    public int showType;  
 | 
    public int showSequence;  
 | 
    public string desc;  
 | 
    public string Parameter;  
 | 
  
 | 
    public override int LoadKey(string _key)  
 | 
    {  
 | 
        int key = GetKey(_key);  
 | 
        return key;  
 | 
    }  
 | 
  
 | 
    public override void LoadConfig(string input)  
 | 
    {  
 | 
        try {  
 | 
        string[] tables = input.Split('\t');  
 | 
        int.TryParse(tables[0],out ID);   
 | 
  
 | 
            Name = tables[1];  
 | 
  
 | 
            ShowName = tables[2];  
 | 
  
 | 
            int.TryParse(tables[3],out ISPercentage);   
 | 
  
 | 
            int.TryParse(tables[4],out decimalCount);   
 | 
  
 | 
            int.TryParse(tables[5],out showType);   
 | 
  
 | 
            int.TryParse(tables[6],out showSequence);   
 | 
  
 | 
            desc = tables[7];  
 | 
  
 | 
            Parameter = tables[8];  
 | 
        }  
 | 
        catch (Exception exception)  
 | 
        {  
 | 
            Debug.LogError(exception);  
 | 
        }  
 | 
    }  
 | 
}  
 |