Skip to main content
Version: 0.4.1

Class EquipmentState.Converter

Namespace: ReadyM.Wukong.Common.ECS.Values
Assembly: ReadyM.Wukong.Common.dll

public class EquipmentState.Converter : JsonConverter<EquipmentState>

Inheritance​

object ← JsonConverter ← JsonConverter<EquipmentState> ← EquipmentState.Converter

Inherited Members​

JsonConverter<EquipmentState>.CanConvert(Type), JsonConverter<EquipmentState>.Read(ref Utf8JsonReader, Type, JsonSerializerOptions), JsonConverter<EquipmentState>.Write(Utf8JsonWriter, EquipmentState, JsonSerializerOptions), JsonConverter<EquipmentState>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions), JsonConverter<EquipmentState>.WriteAsPropertyName(Utf8JsonWriter, EquipmentState, JsonSerializerOptions), JsonConverter<EquipmentState>.HandleNull, JsonConverter<EquipmentState>.Type, JsonConverter.CanConvert(Type), JsonConverter.Type, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors​

Converter()​

public Converter()

Methods​

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)​

public override EquipmentState Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)

Parameters​

reader Utf8JsonReader

typeToConvert Type

options JsonSerializerOptions

Returns​

EquipmentState

Write(Utf8JsonWriter, EquipmentState, JsonSerializerOptions)​

public override void Write(Utf8JsonWriter writer, EquipmentState value, JsonSerializerOptions options)

Parameters​

writer Utf8JsonWriter

value EquipmentState

options JsonSerializerOptions

  • Constructors
    • Converter()
  • Methods
    • Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
    • Write(Utf8JsonWriter, EquipmentState, JsonSerializerOptions)