Mapclass

Stats for the current map

object→Map
Namespace
global
Assembly
Sandbox.Engine
Declaration
public static abstract sealed class Sandbox.Services.Stats.Map

Methods3

Showing 3 methods

public static Sandbox.Services.Stats.GlobalStat GetGlobal(string name)PUBLICSTATIC

Get a stat for the local player

ParameterTypeDescription
namestring—
Returns:GlobalStat—

public static Sandbox.Services.Stats.PlayerStat GetLocal(string name)PUBLICSTATIC

Get a stat for the local player

ParameterTypeDescription
namestring—
Returns:PlayerStat—

public static void SetValue(string name, double amount, System.Collections.Generic.Dictionary`2<string,object> data = null)PUBLICSTATIC

ParameterTypeDescription
namestring—
amountdouble—
data = nullDictionary<string,object>—
Returns:void—

Properties2

Showing 2 properties

On this page