Skip to main content

gridClientMods

Client mods attached to a grid (bundled listings installed by the grid owner, D2). A player present in the grid may run one only after consenting to its capability hash via consentGridClientMod; callerConsented reports the caller's state. This is how grid authors offer client compute to visitors — e.g. relaying actor updates to the grid's server compute.

gridClientMods(
appId: BigInt!
gridId: BigInt!
): [GridClientMod!]!

Arguments

gridClientMods.appId ● BigInt! non-null scalar

App containing the grid.

gridClientMods.gridId ● BigInt! non-null scalar

Grid whose attached client mods to list.

Type

GridClientMod object

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).