public sealed class GateJsonThe service plane's JSON, generated rather than reflected — the client is a NativeAOT binary.
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> GuidDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<PlayRequest> PlayRequestDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<IReadOnlyList<CharacterSummary>> IReadOnlyListCharacterSummaryDefines the source generated JSON serialization contract metadata for a given type.
public static GateJson DefaultThe default JsonSerializerContext associated with a default JsonSerializerOptions instance.
protected override JsonSerializerOptions? GeneratedSerializerOptionsThe source-generated options associated with this context.
public JsonTypeInfo<CharacterList> CharacterListDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<RealmVersion> RealmVersionDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<CharacterSummary> CharacterSummaryDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<DateTimeOffset> DateTimeOffsetDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<PlayResponse> PlayResponseDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<GateProblem> GateProblemDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<SignInRequest> SignInRequestDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<CreateCharacterRequest> CreateCharacterRequestDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<string> StringDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<SignInResponse> SignInResponseDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<CatalogResponse> CatalogResponseDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<TimeSpan> TimeSpanDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<IReadOnlyList<string>> IReadOnlyListStringDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<PlayStatus> PlayStatusDefines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<GateEvent> GateEventDefines 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