public void EndSpin(SpinCallback callback, Mobile from, int hue) { m_Timer?.Stop(); m_Timer = null; foreach (var c in Components) { switch (c.ItemID) { case 0x2E3C: case 0x2E3E: ++c.ItemID; break; } } callback?.Invoke(this, from, hue); }
public void EndSpin(SpinCallback callback, Mobile from, int hue) { m_Timer?.Stop(); m_Timer = null; foreach (var c in Components) switch (c.ItemID) { case 0x1016: case 0x101A: case 0x101D: case 0x10A5: --c.ItemID; break; } callback?.Invoke(this, from, hue); }
public void EndSpin(SpinCallback callback, Mobile from, int hue) { if (m_Timer != null) { m_Timer.Stop(); } m_Timer = null; foreach (AddonComponent c in Components) { switch (c.ItemID) { case 0x1016: case 0x101A: case 0x101D: case 0x10A5: --c.ItemID; break; } } callback?.Invoke(this, from, hue); }