mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-19 08:21:22 +00:00
- NioTSO client isn't needed because we're using RayLib - Added FreeSO's API server to handle most backend operations
14 lines
415 B
C#
Executable file
14 lines
415 B
C#
Executable file
using FSO.Server.Database.DA.Utils;
|
|
using System;
|
|
|
|
namespace FSO.Server.Database.DA.Tasks
|
|
{
|
|
public interface ITasks
|
|
{
|
|
int Create(DbTask task);
|
|
void CompleteTask(int task_id, DbTaskStatus status);
|
|
void SetStatus(int task_id, DbTaskStatus status);
|
|
DbTask CompletedAfter(DbTaskType type, DateTime time);
|
|
PagedList<DbTask> All(int offset = 1, int limit = 20);
|
|
}
|
|
}
|