mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-02 18:17:09 +02:00
32 lines
1.0 KiB
C#
32 lines
1.0 KiB
C#
using Robust.Shared.Serialization.Markdown;
|
|
using Robust.Shared.Serialization.Markdown.Mapping;
|
|
using Robust.Shared.Serialization.Markdown.Validation;
|
|
|
|
namespace Robust.Shared.Serialization.Manager.Definition
|
|
{
|
|
internal partial class DataDefinition<T>
|
|
{
|
|
//todo paul make these use the mngr delegates
|
|
public delegate void PopulateDelegateSignature(
|
|
ref T target,
|
|
MappingDataNode mappingDataNode,
|
|
SerializationHookContext hookCtx,
|
|
ISerializationContext? context);
|
|
|
|
public delegate MappingDataNode SerializeDelegateSignature(
|
|
T obj,
|
|
ISerializationContext? context,
|
|
bool alwaysWrite);
|
|
|
|
public delegate void CopyDelegateSignature(
|
|
T source,
|
|
ref T target,
|
|
SerializationHookContext hookCtx,
|
|
ISerializationContext? context);
|
|
|
|
private delegate ValidationNode ValidateFieldDelegate(
|
|
DataNode node,
|
|
ISerializationContext? context);
|
|
}
|
|
}
|