C# Class BattleNet.Utils

Show file Open project: dkuwahara/AlphaBot

Public Methods

Method Description
GetDifficulty ( ClientlessBot difficulty ) : UInt32
RandomString ( int size ) : string
ReverseBytes ( UInt16 value ) : UInt16
readNullTerminatedString ( string packet, int &offset ) : string

Method Details

GetDifficulty() public static method

public static GetDifficulty ( ClientlessBot difficulty ) : UInt32
difficulty ClientlessBot
return System.UInt32

RandomString() public static method

public static RandomString ( int size ) : string
size int
return string

ReverseBytes() public static method

public static ReverseBytes ( UInt16 value ) : UInt16
value System.UInt16
return System.UInt16

readNullTerminatedString() public static method

public static readNullTerminatedString ( string packet, int &offset ) : string
packet string
offset int
return string