protected override void SetGearEventStateOne(uint stateOneID) { if (stateOneID == ID) { handler.RemoveFXs(fxID); base.SetGearEventStateOne(stateOneID); } }
public void RemoveFx(int fxID) { if (sfxHandler) { sfxHandler.RemoveFXs(fxID); } }
public void RemoveSfx(int actionID) { List <uint> sfxs = null; sfxTimerIDDic.TryGetValue(actionID, out sfxs); if (sfxs == null) { return; } foreach (var item in sfxs) { FrameTimerHeap.DelTimer(item); } Dictionary <int, float> sfx = SkillAction.dataMap[actionID].sfx; if (sfx == null) { return; } SfxHandler cueHandler = theOwner.sfxHandler; foreach (var item in sfx) { if (cueHandler) { cueHandler.RemoveFXs(item.Key); } } sfxs.Clear(); }
public void RemoveSfx(int actionID) { var sfxs = sfxTimerIDDic.GetValueOrDefault(actionID, new List <uint>()); foreach (var item in sfxs) { FrameTimerHeap.DelTimer(item); } Dictionary <int, float> sfx = SkillAction.dataMap[actionID].sfx; if (sfx == null) { return; } SfxHandler cueHandler = theOwner.sfxHandler; foreach (var item in sfx) { if (item.Key < 1000) { StopUIFx(item.Key); } else { if (cueHandler) { cueHandler.RemoveFXs(item.Key); } } } sfxs.Clear(); }
protected void BurnUp() { sfxHandler.RemoveFXs(1102402); isBurning = false; if (this && gameObject) { var magma = gameObject.GetComponent <Magma>(); if (magma != null) { magma.MagmaBurnUp(); } } }
public void StopFX() { handler.RemoveFXs(m_fxID); }
protected void FoggyAbyssClose() { handler.RemoveFXs(6035); isOpen = false; }