Méthode | Description | |
---|---|---|
NextShipTier ( this random, ShipTier minValue, ShipTier maxValue ) : ShipTier |
Generates a new ShipTier between minValue and maxValue, inclusively Both minimum and maximum values are inclusive for this extension method |
|
NextTimeSpan ( this random, System.TimeSpan minValue, System.TimeSpan maxValue ) : System.TimeSpan |
Generates a new TimeSpan between minValue and maxValue The amount of total milliseconds from each TimeSpan, which is used for random generation, is rounded to an integer. |
|
ToFriendlyString ( this sessType ) : string |
public static NextShipTier ( this random, ShipTier minValue, ShipTier maxValue ) : ShipTier | ||
random | this | Random number generator to use |
minValue | ShipTier | Inclusive minimum value |
maxValue | ShipTier | Inclusive maximum value |
Résultat | ShipTier |
public static NextTimeSpan ( this random, System.TimeSpan minValue, System.TimeSpan maxValue ) : System.TimeSpan | ||
random | this | Random number generator to use. |
minValue | System.TimeSpan | Inclusive minimum value. |
maxValue | System.TimeSpan | Exclusive maximum value. |
Résultat | System.TimeSpan |
public static ToFriendlyString ( this sessType ) : string | ||
sessType | this | |
Résultat | string |