1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| using System.Collections.Generic;
| public partial class HorseSkinConfig : ConfigBase<int, HorseSkinConfig>
| {
| public static List<int> itemsList = new List<int>(); //皮肤道具解锁/升星
| protected override void OnConfigParseCompleted()
| {
|
| if (UnlockWay == 2)
| {
| if (UnlockValue != 0 && !itemsList.Contains(UnlockValue))
| {
| itemsList.Add(UnlockValue);
| }
| }
|
| }
|
|
| }
|
|