C# Class SharpMod.Warmup.HelperMethods

Datei anzeigen Open project: txdv/sharpmod

Public Methods

Method Description
Bool ( this str ) : bool
GetFloat ( this cvar ) : float
GetInt ( this cvar ) : int
TryGet2Int ( this cvar, int &@value, int defvalue ) : bool
TryGetFloat ( this cvar, float &@value ) : bool
TryGetFloat ( this cvar, float &@value, float defvalue ) : bool
TryGetInt ( this cvar, int &@value ) : bool

Method Details

Bool() public static method

public static Bool ( this str ) : bool
str this
return bool

GetFloat() public static method

public static GetFloat ( this cvar ) : float
cvar this
return float

GetInt() public static method

public static GetInt ( this cvar ) : int
cvar this
return int

TryGet2Int() public static method

public static TryGet2Int ( this cvar, int &@value, int defvalue ) : bool
cvar this
@value int
defvalue int
return bool

TryGetFloat() public static method

public static TryGetFloat ( this cvar, float &@value ) : bool
cvar this
@value float
return bool

TryGetFloat() public static method

public static TryGetFloat ( this cvar, float &@value, float defvalue ) : bool
cvar this
@value float
defvalue float
return bool

TryGetInt() public static method

public static TryGetInt ( this cvar, int &@value ) : bool
cvar this
@value int
return bool