Vixen
02b45cc4
csharp
public readonly record struct WireLane

One fixed-width field of an encoding, as the delta codec sees it.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Deliberately not "the field's type". By the time a value reaches the delta codec it is already bits, and the only two things worth knowing about it are how many there are and whether arithmetic on them is meaningful. That is what lets one implementation serve every component rather than one being generated per component.

Fields and properties (3)

  • public string Name

    What the field is called, for attribution. The codec never reads it; a bandwidth report does, and "which field is costing me thirty kilobits" is not answerable without it.

  • public int Bits

    How wide it is.

  • public bool Offset

    Whether the difference between two of these means anything. True for a quantized level or an integer, where a value near the last one encodes in a handful of bits; false for a raw float's bit pattern or a flag, where subtracting two of them is nonsense and the value is sent whole.

Methods (1)

  • public WireLane(string Name, int Bits, bool Offset)

    One fixed-width field of an encoding, as the delta codec sees it.

Used by (31)

  • Vixen_Samples_Multiplayer_CombatantReplicatorMultiplayer
  • Vixen_Samples_Multiplayer_VitalsReplicatorMultiplayer
  • BandwidthLedgerVixen.Net
  • BoolCodecVixen.Net.Engine
  • ByteCodecVixen.Net.Engine
  • DeltaCodecVixen.Net
  • DeltaCodecTargetVixen.Net.Fuzz
  • DeltaTestsVixen.Net.Tests
  • IComponentReplicatorVixen.Net
  • ISyncCodecVixen.Net.Engine
  • ISyncFieldVixen.Net.Engine
  • Int32CodecVixen.Net.Engine
  • NetworkAnimatorParametersReplicatorVixen.Net.Animation
  • NetworkAnimatorReplicatorVixen.Net.Animation
  • NetworkAudioSourceReplicatorVixen.Net.Audio
  • NetworkBonesReplicatorVixen.Net.Animation
  • NetworkModuleVixen.Net.Engine
  • NetworkRigidBodyReplicatorVixen.Net.Physics
  • NetworkSpawnReplicatorVixen.Net
  • NetworkTransformReplicatorVixen.Net
  • RotationCodecVixen.Net.Engine
  • SingleCodecVixen.Net.Engine
  • SnapshotInspectorVixen.Net
  • SyncListReplicatorVixen.Net.Engine
  • SyncStateReplicatorVixen.Net.Engine
  • SyncVarVixen.Net.Engine
  • UInt32CodecVixen.Net.Engine
  • Vector3CodecVixen.Net.Engine
  • Vixen_Net_Generators_Tests_GeneratedPoseReplicatorVixen.Net.Generators.Tests
  • Vixen_Net_Generators_Tests_GeneratedScoreReplicatorVixen.Net.Generators.Tests
  • Vixen_Net_Generators_Tests_GeneratedTransformReplicatorVixen.Net.Generators.Tests