private void OnPlayerBuffChange(ref BuffChangeEventParam prm) { if (Singleton <CBattleSystem> .GetInstance().IsFormOpen&& (this.m_curActor == prm.target)) { this.m_curActor = prm.target; if ((prm.stBuffSkill != 0) && (prm.stBuffSkill.handle.cfgData.bIsShowBuff == 1)) { this.UpdateShowBuffList(ref prm.stBuffSkill, prm.bIsAdd); this.UpdateShowBuff(); } } }
private void OnPlayerBuffChange(ref BuffChangeEventParam prm) { if (!Singleton <CBattleSystem> .GetInstance().IsFormOpen) { return; } if (this.m_curActor != prm.target) { return; } this.m_curActor = prm.target; if (prm.stBuffSkill && prm.stBuffSkill.get_handle().cfgData.bIsShowBuff == 1) { this.UpdateShowBuffList(ref prm.stBuffSkill, prm.bIsAdd); this.UpdateShowBuff(); } }