コード例 #1
0
            public InternalTimer(MarkContainer container, TimeSpan delay) : base(delay)
            {
                m_Container  = container;
                m_RelockTime = DateTime.UtcNow + delay;

                Start();
            }
コード例 #2
0
        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);
        }
コード例 #3
0
 public InternalTimer(MarkContainer container) : this(container, TimeSpan.FromMinutes(5.0))
 {
 }