public unsafe void Remove(ushort ID, ServerSockets.Packet stream)
public unsafe void Remove(ushort ID, ServerSockets.Packet stream) { Game.MsgServer.MsgSpell my_spell; if (ClientSpells.TryRemove(ID, out my_spell)) { MsgActionProto Action = new MsgActionProto(); Action.UID = Owner.Entity.UID; Action.dwParam = ID; Action.TimeStamp = (uint)Time32.Now.GetHashCode(); Action.ID =MsgActionEmulator.RemoveSpell; Owner.Send(MsgActionEmulator.SendPacket(Action)); } }