示例#1
0
 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;
 }
示例#2
0
 private void Remove()
 {
     this.Map.RemoveDropItem(this);
     this.Timer.Stop();
     this.Timer = null;
 }