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
|
|
| public class HeroTalentInfo
| {
| public HeroTalentConfig config;
|
| public HeroInfo heroInfo;
|
| public int talentId;
|
| public int talentLv;
|
| public int lockIndex;
|
| public HeroTalentInfo(HeroInfo _heroInfo, int _talentId, int _talentLv, int _lockIndex)
| {
| heroInfo = _heroInfo;
| talentId = _talentId;
| talentLv = _talentLv;
| lockIndex = _lockIndex;
|
| config = HeroTalentConfig.Get(talentId);
| }
|
|
| }
|
|