using ShiroginSDK.Runtime.Modules.Data.Scripts;
namespace ShiroginSDK.Runtime.Services.Interfaces
{
///
/// Provides access to game data classes and centralized persistence.
///
public interface IDataService
{
T Get() where T : BaseData;
void SaveAll();
void DeleteAll();
bool Exists() where T : BaseData;
string ToJson(bool pretty = true) where T : BaseData;
}
}