EnumSerializer Class
Namespace: Stride.Core.Serialization.SerializersAssembly: Stride.Core.dll
Data serializer for Enum.
Derived from EnumSerializer:
public class EnumSerializer : DataSerializer<Enum>
Name | Description | |
---|---|---|
Methods | ||
Serialize(ref Enum, ArchiveMode, SerializationStream) | Serializes or deserializes the given object |
Methods
Serialize(ref Enum, ArchiveMode, SerializationStream)
Serializes or deserializes the given object obj
.
public override void Serialize(ref Enum obj, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
System.Enum | obj | |
ArchiveMode | mode | The serialization mode. |
SerializationStream | stream | The stream to serialize or deserialize to. |
Overrides
Stride.Core.Serialization.DataSerializer<System.Enum>.Serialize(System.Enum, Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)