예제 #1
0
        public void AddWaypoint(uint id, float x, float y, float z, uint waitTime = 0)
        {
            Escort_Waypoint t = new Escort_Waypoint(id, x, y, z, waitTime);

            WaypointList.Add(t);
            ScriptWP = true;
        }
예제 #2
0
        void FillPointMovementListForCreature()
        {
            var movePoints = Global.ScriptMgr.GetPointMoveList(me.GetEntry());

            if (movePoints.Empty())
            {
                return;
            }

            foreach (var point in movePoints)
            {
                Escort_Waypoint wayPoint = new Escort_Waypoint(point.uiPointId, point.fX, point.fY, point.fZ, point.uiWaitTime);
                WaypointList.Add(wayPoint);
            }
        }
예제 #3
0
 public void Add(Waypoint item)
 {
     WaypointList.Add(item);
 }