C# Class SharpMod.Warmup.HelperMethods

Afficher le fichier Open project: txdv/sharpmod

Méthodes publiques

Méthode 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 méthode

public static Bool ( this str ) : bool
str this
Résultat bool

GetFloat() public static méthode

public static GetFloat ( this cvar ) : float
cvar this
Résultat float

GetInt() public static méthode

public static GetInt ( this cvar ) : int
cvar this
Résultat int

TryGet2Int() public static méthode

public static TryGet2Int ( this cvar, int &@value, int defvalue ) : bool
cvar this
@value int
defvalue int
Résultat bool

TryGetFloat() public static méthode

public static TryGetFloat ( this cvar, float &@value ) : bool
cvar this
@value float
Résultat bool

TryGetFloat() public static méthode

public static TryGetFloat ( this cvar, float &@value, float defvalue ) : bool
cvar this
@value float
defvalue float
Résultat bool

TryGetInt() public static méthode

public static TryGetInt ( this cvar, int &@value ) : bool
cvar this
@value int
Résultat bool