s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
Api
Live Services
GlobalStats
chevron_left Live Services
class
GlobalStats

Properties

data_objectIsRefreshingdata_objectItemdata_objectLastRefresh

Methods

functionsCopyfunctionsGetfunctionsGetEnumeratorfunctionsRefreshfunctionsTryGet
GlobalStats
class Sandbox.Services.Stats .
sealedSandbox.Engine

data_object Properties 3

IsRefreshing
bool
True if we're currently fetching new stats
Item
GlobalStat
LastRefresh
DateTime
The UTC datetime when we last fetched new stats

functions Methods 5

Copy ()
GlobalStats
Make a copy of this class. Allows you to store the stats from a point in time.
Get (name)
GlobalStat
Get a stat by name. Will return an empty stat if not found
GetEnumerator ()
IEnumerator`1
Refresh ()
Task
Refresh these global stats - grab the latest values
TryGet (name, stat)
bool
Get a stat by name, returns true if found
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter