Class EnumSerializer
- Namespace
- Stride.Core.Serialization.Serializers
- Assembly
- Stride.Core.dll
Data serializer for Enum.
public class EnumSerializer : DataSerializer<Enum>
- Inheritance
-
EnumSerializer
- Inherited Members
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
obj
EnumThe object to serialize or deserialize.
mode
ArchiveModeThe serialization mode.
stream
SerializationStreamThe stream to serialize or deserialize to.