15 lines
297 B
C#
15 lines
297 B
C#
using System.IO;
|
|
|
|
namespace NitroxServer.Serialization;
|
|
|
|
public interface IServerSerializer
|
|
{
|
|
string FileEnding { get; }
|
|
|
|
void Serialize(Stream stream, object o);
|
|
void Serialize(string filePath, object o);
|
|
|
|
T Deserialize<T>(Stream stream);
|
|
T Deserialize<T>(string filePath);
|
|
}
|