| | |
| | | //使用方法:其他功能界面设置该值即可 |
| | | public KeyValuePair<string, long> lastFightPower = new KeyValuePair<string, long>(); |
| | | |
| | | public bool isCustonHeroFormation = false; |
| | | public List<TeamHero> custonTeamHeroes = new List<TeamHero>(); |
| | | |
| | | |
| | | public override void Init() |
| | | { |
| | | DTC0102_tagCDBPlayer.beforePlayerDataInitializeEvent += OnBeforePlayerDataInitialize; |
| | |
| | | { |
| | | heroOnTeamRedpointList.Clear(); |
| | | for (int i = 0; i < TeamConst.MaxTeamHeroCount; i++) |
| | | { |
| | | { |
| | | heroOnTeamRedpointList.Add(new Redpoint(MainRedDot.HeroCardRedpoint, MainRedDot.HeroCardRedpoint * 10 + i)); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | //武将卡的红点:只给上阵武将刷红点(含新标识),非上阵武将的新图标按图片处理不归类为红点 |
| | | void UpdateHeroCardRedpoint() |
| | |
| | | { |
| | | heroBookRedpointList.Clear(); |
| | | foreach (var key in HeroConfig.GetKeys()) |
| | | { |
| | | { |
| | | var config = HeroConfig.Get(key); |
| | | if (config.PlayerCanUse == 0) |
| | | continue; |
| | |
| | | { |
| | | None = 0, //无功能 |
| | | Break = 1, //突破 |
| | | Gift = 2, //天赋吞噬 |
| | | Gift = 2, //天赋吞噬 |
| | | Awake = 3, //觉醒 |
| | | } |
| | | #endregion |