C# Class LKCamelot.model.Util

Show file Open project: vans163/LKEmu Class Usage Examples

Public Methods

Method Description
ContainsUnicodeCharacter ( string input ) : bool
Dice ( int numDice, int numSides, int bonus ) : int
Random ( int count ) : int
Random ( int from, int count ) : int
RandomBool ( ) : bool
RandomMinMax ( int min, int max ) : int
ToInt32 ( string value ) : int
checkUShort ( uint value ) : ushort

Method Details

ContainsUnicodeCharacter() public static method

public static ContainsUnicodeCharacter ( string input ) : bool
input string
return bool

Dice() public static method

public static Dice ( int numDice, int numSides, int bonus ) : int
numDice int
numSides int
bonus int
return int

Random() public static method

public static Random ( int count ) : int
count int
return int

Random() public static method

public static Random ( int from, int count ) : int
from int
count int
return int

RandomBool() public static method

public static RandomBool ( ) : bool
return bool

RandomMinMax() public static method

public static RandomMinMax ( int min, int max ) : int
min int
max int
return int

ToInt32() public static method

public static ToInt32 ( string value ) : int
value string
return int

checkUShort() public static method

public static checkUShort ( uint value ) : ushort
value uint
return ushort