1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  | using System.Collections.Generic; 
 |  using UnityEngine; 
 |    
 |  public partial class HeroInfo 
 |  { 
 |      // 78 # 英雄使用的皮肤索引 
 |      public int SkinIndex 
 |      { 
 |          get 
 |          { 
 |              if (itemHero == null) 
 |                  return 0; 
 |              return itemHero.GetUseDataFirstValue(78); 
 |          } 
 |      } 
 |      //  服务器数据 皮肤ID 
 |      public int SkinID 
 |      { 
 |          get 
 |          { 
 |    
 |              return heroConfig.SkinIDList[SkinIndex]; 
 |          } 
 |      } 
 |    
 |      //  皮肤配置 
 |      public HeroSkinConfig skinConfig 
 |      {  
 |          get 
 |          { 
 |              return HeroSkinConfig.Get(SkinID); 
 |          } 
 |      } 
 |    
 |       
 |  } 
 |  
  |