Skip to main content

GridClientMod

A grid-attached client mod (a bundle's client half installed on a grid). Players present in the grid may fetch and run it only after per-player consent to its capability hash — the D2 pattern that lets grid authors run client compute on visitors (e.g. relaying actor updates to the grid's server compute).

type GridClientMod {
attachmentId: String!
listingId: String!
listingName: String!
versionId: String!
gridId: BigInt!
capabilitySummaryJson: String!
capabilityHash: String!
callerConsented: Boolean!
}

Fields

GridClientMod.attachmentId ● String! non-null scalar

UUID of the grid attachment.

GridClientMod.listingId ● String! non-null scalar

UUID of the listing.

GridClientMod.listingName ● String! non-null scalar

Listing display name.

GridClientMod.versionId ● String! non-null scalar

UUID of the pinned listing version.

GridClientMod.gridId ● BigInt! non-null scalar

The grid the client mod is attached to.

GridClientMod.capabilitySummaryJson ● String! non-null scalar

JSON derived capability summary of the pinned version.

GridClientMod.capabilityHash ● String! non-null scalar

Capability hash a player must consent to before fetching.

GridClientMod.callerConsented ● Boolean! non-null scalar

Whether the calling player has already consented to this attachment.

Returned By

gridClientMods query