public DropItem(Records.Characters.CharacterItemRecord record, ushort quantity, ushort cellid, Maps.Instances.AbstractMapInstance map) { this.Id = map.PopNextDropItemId(); this.Record = record; this.Map = map; this.CellId = cellid; this.Quantity = quantity; this.Timer = new Core.ActionTimer(900000, this.Remove, false); this.PickedUp = false; }
private void Remove() { this.Map.RemoveDropItem(this); this.Timer.Stop(); this.Timer = null; }