Skip to main content

PlayerModelContainer

A flexible player-owned model container confined to exactly one app, grid, and current owner.

type PlayerModelContainer {
containerId: String!
appId: BigInt!
gridId: BigInt!
ownerUserId: BigInt!
typeKey: String!
displayName: String
stateJson: String!
propertiesJson: String!
createdAt: DateTime!
updatedAt: DateTime!
}

Fields

PlayerModelContainer.containerId ● String! non-null scalar

Player container UUID.

PlayerModelContainer.appId ● BigInt! non-null scalar

App containing the container.

PlayerModelContainer.gridId ● BigInt! non-null scalar

Grid confining the container.

PlayerModelContainer.ownerUserId ● BigInt! non-null scalar

Owning user. Always the grid owner at creation time.

PlayerModelContainer.typeKey ● String! non-null scalar

Flexible instance kit key; this is not a studio-authored type.

PlayerModelContainer.displayName ● String scalar

Optional player-facing name.

PlayerModelContainer.stateJson ● String! non-null scalar

JSON object containing untyped container state.

PlayerModelContainer.propertiesJson ● String! non-null scalar

JSON object containing all separately upserted properties.

PlayerModelContainer.createdAt ● DateTime! non-null scalar

Container creation time.

PlayerModelContainer.updatedAt ● DateTime! non-null scalar

Most recent container or property update time.

Returned By

playerModelContainer query ● playerModelContainers query ● playerModelCreateContainer mutation ● playerModelSetProperty mutation