Skip to content

beamable-sdk / services / GetStatsParams

Interface: GetStatsParams

Defined in: src/services/StatsService.ts:9

Properties

accessType

accessType: "public" | "private"

Defined in: src/services/StatsService.ts:20

The type of access for the stats.

Remarks

'public' for public stats, 'private' for private stats.


domainType?

optional domainType: "client" | "game"

Defined in: src/services/StatsService.ts:15

The type of domain for the stats.

Remarks

'client' for client-side stats, 'game' for game server stats.

Default

'client'

stats?

optional stats: string[]

Defined in: src/services/StatsService.ts:25

The specific stats to fetch.

Remarks

If not provided, all stats for the specified domain and access will be fetched.