protected AbstractPipelineAction(ISupportFeedback requestor) { this._requestor = requestor; // TODO : Allow derived type to extend what we put in here? this._completionCausingHandles = new[] { this._successful, this._failed, this._busy }; }
public static IAction CreateHop(ISupportFeedback requestor) { return Create(requestor, "jumpw", 1); }
public CastSpell(ISupportFeedback requestor, string spellName, int targetId) : base(requestor) { this._spellName = spellName; this._targetId = targetId; }
public LootItem(ISupportFeedback requestor, int containerId, string itemName) : base(requestor) { // TODO }
public UsePortal(ISupportFeedback requestor, int portalId) : base(requestor) { this._portalId = portalId; }
public static IAction Create(ISupportFeedback requestor, int npcId) { return new UseNpc(requestor, npcId); }
public static IAction Create(ISupportFeedback requestor, GiveItemSearchData giveItemSearchData, bool stopOnTargetFull) { return new GiveItemsByName(requestor, ListOperations.Create(giveItemSearchData), stopOnTargetFull); }
public static IAction Create(ISupportFeedback requestor, string itemName, int giveCount, string targetName, bool stopOnTargetFull, bool partialTargetMatch) { var closetTarget = Mag.Shared.Util.GetClosestObject(targetName, partialTargetMatch); return Create(requestor, new GiveItemSearchData(w => w.Name == itemName, giveCount, closetTarget.Id), partialTargetMatch); }
public static IAction Create(ISupportFeedback requestor, double eastWest, double northSouth, double headingInDegrees) { return Create(requestor, new CoordsObject(eastWest, northSouth), headingInDegrees); }
public static IAction Create(ISupportFeedback requestor, double x, double y, int landblock, double headingInDegrees) { return Create(requestor, Mag.Shared.Util.GetCoords(landblock, x, y), headingInDegrees); }
public GoToNearbyLocation(ISupportFeedback requestor, CoordsObject coords, double finalHeadingInDegrees) : base(requestor) { this._coords = coords; this._finalHeadingInDegrees = finalHeadingInDegrees; }
public GiveItemsByKeyword(ISupportFeedback requestor, ReadOnlyCollection<WorldObject> itemsToGive, int targetId) : base(requestor) { this._itemsToGive = itemsToGive; this._targetId = targetId; }
public static IAction Create(ISupportFeedback requestor, CoordsObject coords) { // This overload is always equivalent to use goto point return Internal.GoToNearbyLocation.Create(requestor, coords, REPlugin.Instance.CoreManager.Actions.Heading); }
public SortAll(ISupportFeedback requestor) : base(requestor) { }
public static IAction CreateShiftHopFull(ISupportFeedback requestor) { return Create(requestor, "sjumpw", 1000); }
public static IAction Create(ISupportFeedback requestor, Location location) { return new GoToNearbyLocation(requestor, location.Coords, location.HeadingInDegrees); }
public GiveItemsByName(ISupportFeedback requestor, IEnumerable<GiveItemSearchData> giveSearchData, bool stopOnTargetFull) : base(requestor) { this._giveSearchData = giveSearchData.ToList().AsReadOnly(); this._stopOnTargetFull = stopOnTargetFull; }
public static IAction Create(ISupportFeedback requestor, CoordsObject coords, double headingInDegrees) { return new GoToNearbyLocation(requestor, coords, headingInDegrees); }
public static IAction Create(ISupportFeedback requestor, string itemName, int giveCount, int targetId, bool stopOnTargetFull) { return Create(requestor, new GiveItemSearchData(w => w.Name == itemName, giveCount, targetId), stopOnTargetFull); }
public CramItems(ISupportFeedback requestor) : base(requestor) { throw new NotImplementedException(); }
public UseNpc(ISupportFeedback requestor, int npcId) : base(requestor) { this._npcId = npcId; }
public Jump(ISupportFeedback requestor, string jumpCommand) : base(requestor) { this._jumpCommand = jumpCommand; }
public ListItemsByKeyword(ISupportFeedback requestor, ReadOnlyCollection<WorldObject> itemsToGive) : base(requestor) { _itemsToGive = itemsToGive; }
public static IAction Create(ISupportFeedback requestor, string mtJumpOption, int millisecondsHold) { return Create(requestor, string.Format("/mt {0} {1}", mtJumpOption, millisecondsHold)); }
public static IAction Create(ISupportFeedback requestor, int portalId) { return new UsePortal(requestor, portalId); }
public static IAction Create(ISupportFeedback requestor, string jumpCommand) { return new Jump(requestor, jumpCommand); }
public DisplayToUserException(string message, ISupportFeedback requestor, Exception innerException) : base(message, innerException) { this.Requestor = requestor; }
public LootLandscapeItem(ISupportFeedback requestor) : base(requestor) { }