Files
FlowScope/Packages/com.flowscope.gamecore/Runtime/Save/ISaveService.cs
2026-06-04 14:54:49 +08:00

14 lines
375 B
C#

using System.Threading;
using System.Threading.Tasks;
namespace FlowScope.Save
{
public interface ISaveService
{
Task SaveAsync<T>(string key, T data, CancellationToken cancellationToken);
Task<T> LoadAsync<T>(string key, T defaultValue, CancellationToken cancellationToken);
void Delete(string key);
bool Exists(string key);
}
}