Skip to main content

CreatePlayerModelContainerInput

Create a flexible player-owned model container inside one grid. The caller must currently own the grid; owner identity cannot be supplied.

input CreatePlayerModelContainerInput {
appId: BigInt!
gridId: BigInt!
typeKey: String
displayName: String
stateJson: String
}

Fields

CreatePlayerModelContainerInput.appId ● BigInt! non-null scalar

App containing the owned grid.

CreatePlayerModelContainerInput.gridId ● BigInt! non-null scalar

Grid that confines the container.

CreatePlayerModelContainerInput.typeKey ● String scalar

Flexible instance kit key. Defaults to 'PlayerData'; this does not author a studio model type.

CreatePlayerModelContainerInput.displayName ● String scalar

Optional player-facing name, unique within the owner/grid/type tuple.

CreatePlayerModelContainerInput.stateJson ● String scalar

Optional JSON object stored as untyped container state.

Member Of

playerModelCreateContainer mutation