private void UpdateImp(AiBaseBuff buff, float dt) { if (!m_Monster.InDeath) { buff.Update(dt); } }
public AiBaseBuff GetBuff(int buffId) { AiBaseBuff buff = null; m_BuffMap.TryGetValue(buffId, out buff); return(buff); }
public void RemoveBuff(AiBaseBuff buff) { buff.Destroy(); m_BuffMap.Remove(buff.GetBuffId()); }