using System.Collections.Generic;
|
using UnityEngine;
|
|
public partial class HeroInfo
|
{
|
// 武将服务器唯一ID
|
public long sid;
|
|
// 武将配置表ID
|
public int heroId;
|
|
// 武将等级
|
public int heroLevel;
|
|
// 武将星级
|
public int heroStar;
|
|
// 武将突破等级
|
public int breakLevel;
|
|
|
public HeroCountry heroCountry
|
{
|
get
|
{
|
return (HeroCountry)heroConfig.Country;
|
}
|
}
|
|
public int Quality
|
{
|
get
|
{
|
return heroConfig.Quality;
|
}
|
}
|
|
|
#region 配置
|
// 武将配置
|
public HeroConfig heroConfig;
|
|
// 觉醒配置
|
public HeroAwakeConfig awakeConfig;
|
|
// 突破配置
|
public HeroBreakConfig breakConfig;
|
|
// 羁绊配置
|
public HeroFetterConfig fetterConfig;
|
|
// 品质觉醒配置
|
public HeroQualityAwakeConfig qualityAwakeConfig;
|
|
// 品质配置
|
public HeroQualityConfig qualityConfig;
|
|
// 品质突破配置
|
public HeroQualityBreakConfig qualityBreakConfig;
|
|
// 天赋配置
|
public HeroTalentConfig talentConfig;
|
#endregion 配置
|
|
|
public HeroSkillMgr heroSkillMgr;
|
|
public HeroInfo(CB122_tagSCHeroInfo.tagSCHero scHeroInfo, ItemModel itemHero)
|
{
|
heroSkillMgr = new HeroSkillMgr(this);
|
// HeroConfigUtility
|
// 71 # 英雄天赋ID列表
|
// 73 # 英雄天赋ID等级列表,对应71天赋ID的等级
|
// 75 # 英雄天赋洗炼锁定索引列表,对应71天赋ID索引
|
// 77 # 英雄天赋洗炼随机ID列表
|
// 79 # 英雄觉醒时随机天赋选项ID列表
|
// 70 # 英雄等级
|
// 72 # 英雄星级
|
// 74 # 英雄突破等级
|
// 76 # 英雄觉醒等级
|
// 78 # 英雄使用的皮肤索引
|
// 80 # 主阵型上阵位置
|
|
#region 皮肤
|
// skinConfig
|
#endregion 皮肤
|
|
|
#region 天赋
|
|
#endregion 天赋
|
}
|
|
|
}
|