first commit
This commit is contained in:
14
NitroxServer/Serialization/IServerSerializer.cs
Normal file
14
NitroxServer/Serialization/IServerSerializer.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
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);
|
||||
}
|
Reference in New Issue
Block a user