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; }
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); } }
public void Add(Waypoint item) { WaypointList.Add(item); }