Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: solo task #660

Merged
merged 2 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions BetterGenshinImpact/Core/Script/Dependence/Dispatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ public void RunTask()
{
}

/// <summary>
/// 添加实时任务
/// </summary>
/// <param name="timer">实时任务触发器</param>
/// <exception cref="ArgumentNullException"></exception>
public void AddTimer(RealtimeTimer timer)
{
var realtimeTimer = timer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace BetterGenshinImpact.Core.Script.Dependence.Model;

/// <summary>
/// 实时任务计时器
/// 实时任务触发器
/// </summary>
public class RealtimeTimer
{
Expand Down
2 changes: 1 addition & 1 deletion BetterGenshinImpact/GameTask/AutoDomain/AutoDomainParam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class AutoDomainParam : BaseTaskParam

public string CombatStrategyPath { get; set; }

public AutoDomainParam(CancellationTokenSource cts, int domainRoundNum, string path) : base(cts)
public AutoDomainParam(int domainRoundNum, string path)
{
DomainRoundNum = domainRoundNum;
if (domainRoundNum == 0)
Expand Down
Loading