public override Boolean Execute(Profile ExecuteFrom) { do { if (!ExecuteFrom.MoveTo(ExecuteFrom.D3Mail.D3Info.X, ExecuteFrom.D3Mail.D3Info.Y)) { return(false); } ExecuteFrom.D3Cmd(IPlugin.COMMANDS.D3_Update); if (ExecuteFrom.Paused) { return(false); } } while (this.QuestStep != ExecuteFrom.D3Mail.D3Info.QuestStep); return(true); }
public override Boolean Execute(Profile ExecuteFrom) { DateTime CurrTime = DateTime.Now; D3Sleep sleep = ExecuteFrom.D3Quest[ExecuteFrom.D3ExecuteQueueIndex] as D3Sleep; while (sleep != null && ((DateTime.Now.Ticks - CurrTime.Ticks) / 10000) < sleep.Time) { if (ExecuteFrom.Paused) { return(false); } if (!ExecuteFrom.MoveTo(ExecuteFrom.D3Mail.D3Info.X, ExecuteFrom.D3Mail.D3Info.Y)) { break; } } return(true); }
public override Boolean Execute(Profile ExecuteFrom) { return(ExecuteFrom.MoveTo(((D3Point)ExecuteFrom.D3Quest[ExecuteFrom.D3ExecuteQueueIndex]).X, ((D3Point)ExecuteFrom.D3Quest[ExecuteFrom.D3ExecuteQueueIndex]).Y)); }
public override Boolean Execute(Profile ExecuteFrom) { do { if (!ExecuteFrom.MoveTo(ExecuteFrom.D3Mail.D3Info.X, ExecuteFrom.D3Mail.D3Info.Y)) return false; ExecuteFrom.D3Cmd(IPlugin.COMMANDS.D3_Update); if (ExecuteFrom.Paused) return false; } while (this.QuestStep != ExecuteFrom.D3Mail.D3Info.QuestStep); return true; }
public override Boolean Execute(Profile ExecuteFrom) { DateTime CurrTime = DateTime.Now; D3Sleep sleep = ExecuteFrom.D3Quest[ExecuteFrom.D3ExecuteQueueIndex] as D3Sleep; while (sleep != null && ((DateTime.Now.Ticks - CurrTime.Ticks) / 10000) < sleep.Time) { if (ExecuteFrom.Paused) return false; if (!ExecuteFrom.MoveTo(ExecuteFrom.D3Mail.D3Info.X, ExecuteFrom.D3Mail.D3Info.Y)) { break; } } return true; }
public override Boolean Execute(Profile ExecuteFrom) { return ExecuteFrom.MoveTo(((D3Point)ExecuteFrom.D3Quest[ExecuteFrom.D3ExecuteQueueIndex]).X, ((D3Point)ExecuteFrom.D3Quest[ExecuteFrom.D3ExecuteQueueIndex]).Y); }