Skip to main content

GameModelActivePlayerCountChange

One durable transition between complete app-scoped active gameplay-session counts. Delivery is cross-replica but best-effort; deduplicate by revision and requery gameModelActivePlayerCount after reconnect or a revision gap.

type GameModelActivePlayerCountChange {
appId: BigInt!
previousCount: Int!
currentCount: Int!
delta: Int!
revision: BigInt!
observedAt: DateTime!
}

Fields

GameModelActivePlayerCountChange.appId ● BigInt! non-null scalar

The app whose complete active-session count changed.

GameModelActivePlayerCountChange.previousCount ● Int! non-null scalar

Last complete active gameplay-session count before this transition.

GameModelActivePlayerCountChange.currentCount ● Int! non-null scalar

New complete active gameplay-session count after this transition.

GameModelActivePlayerCountChange.delta ● Int! non-null scalar

Signed change: currentCount minus previousCount.

GameModelActivePlayerCountChange.revision ● BigInt! non-null scalar

Durable monotonic app revision for this transition. Use it to deduplicate and detect gaps.

GameModelActivePlayerCountChange.observedAt ● DateTime! non-null scalar

Latest fresh Buddy heartbeat represented by the new count.

Returned By

gameModelActivePlayerCountChanged subscription