Files
RobustToolbox/Robust.Shared/Interfaces/Serialization/IExposeData.cs
T
SilverandGitHub 25926a17b7 Renames SS14.* to Robust.* (#793)
RobustToolbox projects should be named Robust.* 

This PR changes the RobustToolbox projects from SS14.* to Robust.*

Updates SS14.* prefixes/namespaces to Robust.*
Updates SpaceStation14.sln to RobustToolbox.sln
Updates MSBUILD/SS14.* to MSBUILD/Robust.*
Updates CSProject and MSBuild references for the above
Updates git_helper.py
Removes Runserver and Runclient as they are unusable
2019-04-15 20:24:59 -06:00

23 lines
1.0 KiB
C#

using Robust.Shared.Serialization;
namespace Robust.Shared.Interfaces.Serialization
{
/// <summary>
/// Interface for the "expose data" system, which is basically our method of handling data serialization.
/// </summary>
public interface IExposeData
{
/// <summary>
/// Will get called to either make this object read data from or provide data to write to/from a serialization format.
/// This method should only rely on <paramref name="serializer" /> for reading data.
/// External data (i.e. current time) is unreliable as this method will get called to get a representation of this object from some data,
/// and may not be called again later.
/// </summary>
/// <param name="serializer">
/// A serializer that data can be read/written from using its various methods.
/// Tell it everything you want to preserve, even your dirtiest secrets.
/// </param>
void ExposeData(ObjectSerializer serializer);
}
}