public InternalTimer(MarkContainer container, TimeSpan delay) : base(delay) { m_Container = container; m_RelockTime = DateTime.UtcNow + delay; Start(); }
private static void CreateMalasPassage(int x, int y, int z, int xTarget, int yTarget, int zTarget, bool bone, bool locked) { Point3D location = new Point3D(x, y, z); if (FindMarkContainer(location, Map.Malas)) { return; } MarkContainer cont = new MarkContainer(bone, locked); cont.TargetMap = Map.Malas; cont.Target = new Point3D(xTarget, yTarget, zTarget); cont.Description = "strange location"; cont.MoveToWorld(location, Map.Malas); }
public InternalTimer(MarkContainer container) : this(container, TimeSpan.FromMinutes(5.0)) { }