Vixen
02b45cc4
csharp
public sealed class GateJson

The service plane's JSON, generated rather than reflected — the client is a NativeAOT binary.

Read the guide page for this →

Remarks

⚠ This is why the DTOs are here and not in the gate. Doc 27 § The three assemblies a game writes puts the gate's contract in an assembly both ends reference; two copies of PlayResponse would be two shapes that drift, and the drift presents as a client that cannot log in after a server deploy. Vixen.Live.Abstractions is the assembly a client is allowed to see, so the contract lives here and the ASP.NET half reads it.

Fields and properties (20)

  • public JsonTypeInfo<Guid> Guid

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<PlayRequest> PlayRequest

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<IReadOnlyList<CharacterSummary>> IReadOnlyListCharacterSummary

    Defines the source generated JSON serialization contract metadata for a given type.

  • public static GateJson Default

    The default JsonSerializerContext associated with a default JsonSerializerOptions instance.

  • protected override JsonSerializerOptions? GeneratedSerializerOptions

    The source-generated options associated with this context.

  • public JsonTypeInfo<CharacterList> CharacterList

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<RealmVersion> RealmVersion

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<CharacterSummary> CharacterSummary

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<DateTimeOffset> DateTimeOffset

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<PlayResponse> PlayResponse

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<GateProblem> GateProblem

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<SignInRequest> SignInRequest

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<CreateCharacterRequest> CreateCharacterRequest

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<string> String

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<SignInResponse> SignInResponse

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<CatalogResponse> CatalogResponse

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<TimeSpan> TimeSpan

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<IReadOnlyList<string>> IReadOnlyListString

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<PlayStatus> PlayStatus

    Defines the source generated JSON serialization contract metadata for a given type.

  • public JsonTypeInfo<GateEvent> GateEvent

    Defines the source generated JSON serialization contract metadata for a given type.

Methods (3)

  • public GateJson()
  • public GateJson(JsonSerializerOptions options)
  • public override JsonTypeInfo? GetTypeInfo(Type type)

    Gets metadata for the specified type.

Used by (9)

  • FakeGateVixen.Live.Client.Tests
  • FakeSocketVixen.Live.Client.Tests
  • GateClientVixen.Live.Client
  • GateClientTestsVixen.Live.Client.Tests
  • GateConnectionVixen.Live.Client
  • GateConnectionTestsVixen.Live.Client.Tests
  • GateEndpointsVixen.Live.Gate
  • GateProtocolTestsVixen.Live.Abstractions.Tests
  • WebSocketSubscriberVixen.Live.Gate