Vixen
02b45cc4
csharp
public enum ShardKind

One mechanism, four configurations. Doc 27 § Shard kinds.

Read the guide page for this →

Remarks

All four are the same shard with the same lifecycle; they differ in who is admitted and when the shard is allowed to stop. Modelling them as one type with a discriminator rather than as four subsystems is what makes a dungeon a placement decision instead of a second server.

Fields and properties (4)

  • Public

    Anyone may be placed here, and it lives while it is populated. The megaserver case.

  • Instance

    An access list — a party, a guild, a raid roster — and a lifetime tied to the group.

  • Match

    A matchmaker's roster, for exactly one match.

  • Persistent

    An owner and their permissions: housing, a guild hall. Hibernated when empty and rehydrated on entry, which is nearly free because its authored state is durable rather than volatile (ADR-021).

Used by (5)

  • ClusterSerializationTestsVixen.Live.Cluster.Tests
  • PlacementDirectorTestsVixen.Live.Orchestrator.Tests
  • RealmSpecVixen.Live.Abstractions
  • RealmSpecTestsVixen.Live.Abstractions.Tests
  • ShardCandidateVixen.Live.Orchestrator