API Referenceglobal
Mapclass
Stats for the current map
object→Map
Methods3
Showing 3 methods
public static Sandbox.Services.Stats.GlobalStat GetGlobal(string name)
Get a stat for the local player
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
public static Sandbox.Services.Stats.PlayerStat GetLocal(string name)
Get a stat for the local player
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
public static void SetValue(string name, double amount, System.Collections.Generic.Dictionary`2<string,object> data = null)
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
| amount | double | — |
| data = null | Dictionary<string,object> | — |
Returns:
void—No results match this filter.
Properties2
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.