mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-03-16 07:53:20 +08:00
17 lines
346 B
C#
17 lines
346 B
C#
using System.Threading;
|
|
|
|
namespace BetterGenshinImpact.GameTask;
|
|
|
|
/// <summary>
|
|
/// 和触发器的区别:任务不需要持续捕获游戏图像
|
|
/// </summary>
|
|
public class BaseTaskThread
|
|
{
|
|
|
|
protected CancellationTokenSource Cancellation;
|
|
|
|
public BaseTaskThread(CancellationTokenSource cts)
|
|
{
|
|
Cancellation = cts;
|
|
}
|
|
} |