GameCult.Mesh
Options for creating a local CultMesh node.
Gets or sets the cache-open options used for the underlying CultCache.
Gets or sets the server security configuration. When omitted, development defaults are used.
Gets or sets whether the server should start immediately after creation.
Gets or sets the mesh database sharding options used for the hosted CultCache.
Gets or sets whether CultMesh should attach a file-backed authoritative shard-log store when none is supplied.
Gets or sets the directory used for file-backed authoritative shard logs.
Gets or sets the database server bridge options used for shard routing and forwarding.
Gets or sets an optional callback used to customize the server before start.
A locally hosted CultMesh node over CultCache, CultNet transport, and the mesh database facade.
Gets the durable cache used by the node.
Gets the canonical single-file MessagePack store, when one is attached.
Gets the underlying CultNet server.
Gets the distributed realtime database facade.
Gets the schema-v0 server bridge for distributed database messages.
Starts the underlying server.
Flushes the durable cache.
Public CultMesh entrypoints.
Creates a local CultMesh node with a durable CultCache and the canonical MessagePack backing store.
Creates and starts a local CultMesh node with development-friendly defaults.
Creates a local reactive catalog for discovered Verses.
Creates a local reactive catalog for discovered peers.
Creates a local authority lease catalog.
Creates a local stream catalog for zero-copy-oriented audio, video, tensor, and byte frame streams.
Creates a committer for writing quorum simulation facts to a mesh database.
Creates a gameplay-facing session facade over a CultMesh node.
Attaches Verse discovery responses to a CultMesh node.
Creates a client for fetching Verse catalogs from discovery endpoints.
Attaches peer exchange responses to a CultMesh node.
Creates a client for fetching peer cards from peer exchange endpoints.
Creates a CultNet client configured for CultMesh use.
Creates and connects a CultNet client to a CultMesh node.
Grants one peer authority to perform roles for a Verse over a bounded interval.
Creates an authority lease.
Gets the stable lease id.
Gets the Verse id governed by the lease.
Gets the peer id receiving authority.
Gets the roles granted by this lease.
Gets shard ids covered by this lease. Empty means every shard in the Verse.
Gets the runtime that issued the lease.
Gets the first timestamp when the lease is valid.
Gets the timestamp when the lease expires.
Gets an optional signature over the lease.
Returns whether this lease is valid at the supplied time.
Returns whether this lease covers a peer card, role, and shard.
Local authority lease catalog.
Gets all known leases.
Adds or replaces an authority lease.
Gets a lease by id, if known.
Returns whether a peer card is authorized for a role and optional shard.
Options for creating a gameplay-facing CultMesh session facade.
Gets or sets the Verse catalog used by the session.
Gets or sets the peer catalog used by the session.
Gets or sets the authority lease catalog used by the session.
Gets or sets simulation consensus options.
Gets or sets whether incoming observation messages should update the session hub.
Gets or sets whether the node should answer Verse catalog requests from the session catalog.
Gets or sets whether the node should answer peer exchange requests from the session peer catalog.
Gameplay-facing facade over common CultMesh runtime pieces.
Creates a game session facade.
Gets the underlying node.
Gets the session Verse catalog.
Gets the session peer catalog.
Gets the session authority lease catalog.
Gets the session simulation observation hub.
Gets the session simulation fact committer.
Watches consensus candidate updates.
Watches committed simulation facts.
Applies a local client prediction through the underlying database.
Submits one witness observation and returns the current candidates for that subject.
Submits one witness observation and commits any new quorum facts it creates.
Commits quorum candidates that have not already been committed by this session.
Well-known CultMesh peer roles.
Peer can answer discovery requests.
Peer can serve authoritative shard logs.
Peer can serve replicated shard logs.
Peer can serve read traffic.
Peer can observe simulation facts.
Candidate peer contact information for a Verse.
Creates a peer card.
Gets the stable peer id.
Gets the Verse id this peer participates in.
Gets reachable endpoints.
Gets advertised roles.
Gets shard ids this peer can serve or observe.
Gets an optional region/locality label.
Gets the authority lease id, when present.
Gets the expiry timestamp for this card.
Gets an optional signature over the card.
Returns whether the card advertises a role.
Conversion helpers for CultMesh peer exchange messages.
Converts a peer card to its schema-v0 wire shape.
Converts a wire peer card to the local public API shape.
Reactive local catalog for discovered CultMesh peers.
Gets all known peers.
Watches peer card updates.
Adds or replaces a peer card.
Adds or replaces peer cards from a wire response.
Finds peers by Verse and optional role.
Answers CultMesh peer exchange requests from a local peer catalog.
Creates and attaches a peer exchange bridge.
Creates a peer exchange response for a request.
Options for schema-v0 CultMesh peer exchange clients.
Gets or sets client security options used to connect to peer exchange endpoints.
Gets or sets how long to wait for a connection before failing.
Gets or sets how long to wait for a peer exchange response before failing.
Gets or sets a callback used to customize each ephemeral exchange client.
Fetches peer cards from CultMesh peers.
Creates a peer exchange client.
Fetches peer cards from one endpoint.
Fetches peer cards from endpoints and upserts every response into a local peer catalog.
Committed simulation fact derived from witness consensus.
Stable fact identifier.
Shard containing the simulation.
Shard authority epoch observed by witnesses.
Simulation frame or tick.
Subject the fact is about.
Fact kind, such as hit, collision, or ownership.
Hash of the accepted claim.
Optional readable or app-specific claim detail.
Number of distinct witnesses supporting the fact.
Supporting witness weight.
Total observed weight for the same subject/frame/kind.
Support divided by total observed weight.
Commit timestamp.
Builds a deterministic record key for a simulation fact.
Builds a stable fact id for a consensus candidate.
Creates a committed fact document from a quorum candidate.
Commits quorum simulation candidates into the CultMesh database.
Creates a simulation fact committer.
Commits a quorum candidate as a simulation fact document.
Describes how a CultMesh Verse makes authority decisions.
A known operator cluster is authoritative for committed world state.
Regional operators share authority for lower latency and availability.
Peers participate directly in authority decisions.
The Verse follows another Verse and applies declared overlays.
Declares transport and rules compatibility for a Verse.
Creates compatibility metadata.
Gets the CultMesh/CultNet transport compatibility version.
Gets the stable rules hash.
Gets Verse ids this Verse can transfer from or subscribe to.
Gets plugin ids required to enter this Verse.
Gets plugin ids supported but not required by this Verse.
Describes one CultMesh Verse: a rule-bearing consensus graph.
Creates a Verse descriptor.
Gets the stable Verse id.
Gets the human-facing Verse name.
Gets the authority model used by this Verse.
Gets compatibility metadata for transport, rules, and plugins.
Gets discovery endpoints for nodes serving this Verse.
Gets known authoritative runtime ids, when authority is cluster-shaped.
Gets the parent Verse id for subscribed overlays or branches.
Gets optional public description.
Returns whether this Verse can accept transfer from another Verse.
Computes a stable rules hash from ordered rules/plugin parts.
Reactive local catalog for discovered CultMesh Verses.
Gets all known Verses.
Watches Verse discovery updates.
Adds or replaces a discovered Verse.
Adds or replaces Verses from a wire catalog response.
Gets a Verse by id, if known.
Gets known Verses that can accept transfer from the supplied source Verse.
Conversion helpers for CultMesh Verse wire messages.
Converts a local Verse descriptor to its schema-v0 wire shape.
Converts a schema-v0 Verse descriptor to the local public API shape.
Answers CultMesh Verse discovery requests from a local Verse catalog.
Creates and attaches a Verse discovery bridge.
Creates a Verse catalog response for a request.
Options for schema-v0 CultMesh Verse discovery clients.
Gets or sets client security options used to connect to discovery endpoints.
Gets or sets how long to wait for a connection before failing.
Gets or sets how long to wait for a discovery response before failing.
Gets or sets a callback used to customize each ephemeral discovery client.
Fetches CultMesh Verse catalogs from discovery endpoints.
Creates a Verse discovery client.
Fetches a Verse catalog response from one discovery endpoint.
Fetches Verse catalogs from endpoints and upserts every response into a local catalog.