API Referenceglobal
public static abstract sealed class Sandbox.Services.Stats.Map
Stats for the current map
Methods
Showing 3 methods
public static Sandbox.Services.Stats.GlobalStat GetGlobal(string name)
Get a stat for the local player
public static Sandbox.Services.Stats.PlayerStat GetLocal(string name)
Get a stat for the local player
public static void SetValue(string name, double amount, System.Collections.Generic.Dictionary`2<string,object> data = null)
Parameters
data: Default: null
No results match this filter.
Properties
Showing 2 properties
public static Sandbox.Services.Stats.GlobalStats Sandbox.Services.Stats.Map.Global { get; set; }
Get the global stats
public static Sandbox.Services.Stats.PlayerStats Sandbox.Services.Stats.Map.Local { get; set; }
Get the stats for the local player
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Services.Stats.Map |