C# Класс Ultima.Client

Показать файл Открыть проект

Открытые методы

Метод Описание
BringToTop ( ) : bool

Brings the Client window to the foreground.

Calibrate ( ) : void

Attempts to automatically calibrate the FindLocation method.

Calibrate ( CalibrationInfo info ) : void

Attempts to automatically calibrate the FindLocation method.

Calibrate ( int x, int y, int z ) : void

Attempts to calibrate the FindLocation method based on an input x, y, and z. FindLocation ProcessStream

FindLocation ( int &x, int &y, int &z, int &facet ) : bool

Reads the current x, y, and z from memory based on a calibrated memory location. Calibrate ProcessStream True if the location was found, false if not

Read ( ProcessStream pc, int bytes ) : int
Search ( ProcessStream pc, byte buffer ) : int
Search ( ProcessStream pc, byte mask, byte vals ) : int
SendText ( string text ) : bool

Sends a String of characters (text) to the Client. The string is followed by a carriage return and line feed.

Приватные методы

Метод Описание
Client ( ) : System
FindHandle ( ) : ClientWindowHandle
GetCoordDetails ( ProcessStream pc, int ptr, byte dets, int &coordPointer, int &coordSize ) : void
SendChar ( ClientWindowHandle hWnd, char c ) : void

Описание методов

BringToTop() публичный статический Метод

Brings the Client window to the foreground.
public static BringToTop ( ) : bool
Результат bool

Calibrate() публичный статический Метод

Attempts to automatically calibrate the FindLocation method.
public static Calibrate ( ) : void
Результат void

Calibrate() публичный статический Метод

Attempts to automatically calibrate the FindLocation method.
public static Calibrate ( CalibrationInfo info ) : void
info CalibrationInfo
Результат void

Calibrate() публичный статический Метод

Attempts to calibrate the FindLocation method based on an input x, y, and z. FindLocation ProcessStream
public static Calibrate ( int x, int y, int z ) : void
x int
y int
z int
Результат void

FindLocation() публичный статический Метод

Reads the current x, y, and z from memory based on a calibrated memory location. Calibrate ProcessStream True if the location was found, false if not
public static FindLocation ( int &x, int &y, int &z, int &facet ) : bool
x int
y int
z int
facet int
Результат bool

Read() публичный статический Метод

public static Read ( ProcessStream pc, int bytes ) : int
pc ProcessStream
bytes int
Результат int

Search() публичный статический Метод

public static Search ( ProcessStream pc, byte buffer ) : int
pc ProcessStream
buffer byte
Результат int

Search() публичный статический Метод

public static Search ( ProcessStream pc, byte mask, byte vals ) : int
pc ProcessStream
mask byte
vals byte
Результат int

SendText() публичный статический Метод

Sends a String of characters (text) to the Client. The string is followed by a carriage return and line feed.
public static SendText ( string text ) : bool
text string
Результат bool