private void OnSkillEnable(ref DefaultSkillEventParam _param) { if (WatchForm.IsNeedShowCampMidInterface()) { HeroInfoSideItem heroInfoSideItem = null; if (this._heroWrapSideDict.TryGetValue(_param.actor.handle.ObjID, out heroInfoSideItem) && _param.slot == SkillSlotType.SLOT_SKILL_3) { heroInfoSideItem.ValidateSkill3(); } } }
private void OnSkillCDChanged(ref DefaultSkillEventParam _param) { if (this._heroInfoHud != null && _param.actor.handle.ObjID == this._heroInfoHud.PickedHeroID) { this._heroInfoHud.TheSkillHud.ValidateCD(_param.slot); } HeroInfoItem heroInfoItem = null; if (this._heroWrapDict.TryGetValue(_param.actor.handle.ObjID, out heroInfoItem)) { heroInfoItem.ValidateCD(_param.slot, _param.actor); } if (WatchForm.IsNeedShowCampMidInterface()) { HeroInfoSideItem heroInfoSideItem = null; if (this._heroWrapSideDict.TryGetValue(_param.actor.handle.ObjID, out heroInfoSideItem) && _param.slot == SkillSlotType.SLOT_SKILL_3) { heroInfoSideItem.ValidateSkill3(); } } }