update packages
This commit is contained in:
25
Assets/Engine/Runtime/Measurements/SQLiteStorage.cs
Normal file
25
Assets/Engine/Runtime/Measurements/SQLiteStorage.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System.Runtime.Serialization.Formatters.Binary;
|
||||
|
||||
namespace EscapeRoomEngine.Engine.Runtime.Measurements
|
||||
{
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public class SQLiteStorage : IMeasurementStorage
|
||||
{
|
||||
private BinaryFormatter _formatter;
|
||||
|
||||
public SQLiteStorage()
|
||||
{
|
||||
_formatter = new BinaryFormatter();
|
||||
}
|
||||
|
||||
public void Save(MeasurementCollection measurements)
|
||||
{
|
||||
_formatter.Serialize();
|
||||
}
|
||||
|
||||
public MeasurementCollection Load(int key)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user