Namespace Shard.Codecs
Classes
- BsonRepresentationAttribute
Overrides the BSON numeric encoding for one generated member without changing its JSON form.
- CodecAliasAttribute
Accepts a historical member name while decoding within an inclusive version range.
- CodecCaseAttribute<TBase>
Declares the annotated concrete type as a built in case of its generated codec map.
- CodecCatalogEntryAttribute
Adds a directly callable static Codec<T> property or method to the generated assembly catalog.
- CodecContext
Carries version, diagnostic path, depth limits, and bounded diagnostics for one root codec operation.
- CodecEnumValueAttribute
Sets the ordinal wire name for one generated enum value.
- CodecException
Reports the diagnostics retained when a codec operation fails.
- CodecIgnoreAttribute
Excludes a field or property from the generated codec member set.
- CodecMapAttribute
Defines the discriminator, extensibility, and default case policy for a generated codec map.
- CodecMapRegistry<TBase>
Collects the cases for one codec map owned by a host and freezes them before use.
- CodecNameAttribute
Sets the encoded name used for a generated field or property.
- CodecNormalizeAttribute
Marks the unique private static
void Method(ref T value)normalization hook for a generated type.
- CodecRequiredAttribute
Forces a generated member to be present on the wire.
- CodecSurrogateAttribute<TTarget>
Declares that this generated type is the opaque wire surrogate for
TTarget.
- CodecValidateAttribute
Marks the unique private static
void Method(in T value, CodecContext context)validation hook for a generated type.
- CodecValidatorAttribute<TValidator>
Runs a reusable static validator for the annotated generated type or member.
- CodecVersionAttribute
Limits a generated type or member to an inclusive range of codec versions.
- Codec<T>
Executes the JSON, BSON, and validation programs for one value type.
- Codecs
Creates codecs and composes the supported value shapes.
- GenerateCodecAttribute
Requests compiler validation and the selected wire format endpoints for the annotated type.
- KeyedCodecCase<TValue>
Identifies one typed value in a keyed codec map.
- KeyedCodecMap<TDomain>
Holds the typed values decoded for one frozen set of keyed codec cases.
- MetadataCodecs
Provides the direct JSON and BSON programs for immutable application metadata.
- MetadataDocument
Holds ordered application data members in an immutable document.
- ScalarValueCodecs
Provides the value codec for the closed set of scalar message parameters used by Hytale.
Structs
- CodecDiagnostic
Captures one codec warning or failure with its rendered value path.
- CodecPathScope
Removes one diagnostic path segment when nested codec work leaves its scope.
- MetadataValue
Holds one application data value whose nested contents are also immutable.
- ScalarValue
Holds one string, boolean, double, Int32, or Int64 without widening BSON integers.
Interfaces
- ICodecValidator<T>
Defines a reusable validator that generated code can invoke for a type or member.
Enums
- BsonRepresentation
Lists the BSON numeric encodings supported by generated member codecs.
- CodecDiagnosticSeverity
Distinguishes retained warnings from failures that stop a codec operation.
- CodecFormats
Selects which wire format endpoints are emitted for a generated codec.
- CodecNameStyle
Selects how generated codec member names are derived from CLR names.
- MetadataValueKind
Lists the closed set of application data values accepted by MetadataDocument.
- ScalarValueKind
Lists the scalar value kinds accepted by Hytale message parameters.
Delegates
- CodecTryTransform<TSource, TResult>
Converts between a wire representation and a domain value without throwing away codec diagnostics.
- CodecValidate<T>
Validates a value inside the active codec operation and records failures on its context.