Class ServiceWireSerializer
- Namespace
- Stride.Core.Serialization.Serializers
- Assembly
- Stride.Core.dll
[DataSerializerGlobal(typeof(ServiceWireSerializer), null, DataSerializerGenericMode.None, false, false)]
public class ServiceWireSerializer : DataSerializer<ServiceSyncInfo>
- Inheritance
-
DataSerializer<ServiceSyncInfo>ServiceWireSerializer
- Inherited Members
Methods
PreSerialize(ref ServiceSyncInfo, ArchiveMode, SerializationStream)
Performs the first step of serialization or deserialization.
public override void PreSerialize(ref ServiceSyncInfo obj, ArchiveMode mode, SerializationStream stream)
Parameters
obj
ServiceSyncInfoThe object to process.
mode
ArchiveModeThe serialization mode.
stream
SerializationStreamThe stream to serialize or deserialize to.
Remarks
Typically, it will instantiate the object if [null], and if it's a collection clear it.
Serialize(ref ServiceSyncInfo, ArchiveMode, SerializationStream)
Serializes or deserializes the given object obj
.
public override void Serialize(ref ServiceSyncInfo info, ArchiveMode mode, SerializationStream stream)
Parameters
info
ServiceSyncInfomode
ArchiveModeThe serialization mode.
stream
SerializationStreamThe stream to serialize or deserialize to.