C# Class Ultima.Gumps

Afficher le fichier Open project: polserver/poltools Class Usage Examples

Méthodes publiques

Méthode Description
GetCount ( ) : int
GetGump ( int index ) : Bitmap

Returns Bitmap of index

GetGump ( int index, Hue hue, bool onlyHueGrayPixels, bool &patched ) : Bitmap

Returns Bitmap of index and applies Hue

GetGump ( int index, bool &patched ) : Bitmap

Returns Bitmap of index and if verdata patched

GetRawGump ( int index, int &width, int &height ) : byte[]
IsValidIndex ( int index ) : bool

Tests if index is definied

Reload ( ) : void

ReReads gumpart

RemoveGump ( int index ) : void

Removes Gumpindex m_Removed

ReplaceGump ( int index, Bitmap bmp ) : void

Replaces Gump m_Cache

Save ( string path ) : void

Private Methods

Méthode Description
Gumps ( ) : System

Method Details

GetCount() public static méthode

public static GetCount ( ) : int
Résultat int

GetGump() public static méthode

Returns Bitmap of index
public static GetGump ( int index ) : Bitmap
index int
Résultat System.Drawing.Bitmap

GetGump() public static méthode

Returns Bitmap of index and applies Hue
public static GetGump ( int index, Hue hue, bool onlyHueGrayPixels, bool &patched ) : Bitmap
index int
hue Hue
onlyHueGrayPixels bool
patched bool
Résultat System.Drawing.Bitmap

GetGump() public static méthode

Returns Bitmap of index and if verdata patched
public static GetGump ( int index, bool &patched ) : Bitmap
index int
patched bool
Résultat System.Drawing.Bitmap

GetRawGump() public static méthode

public static GetRawGump ( int index, int &width, int &height ) : byte[]
index int
width int
height int
Résultat byte[]

IsValidIndex() public static méthode

Tests if index is definied
public static IsValidIndex ( int index ) : bool
index int
Résultat bool

Reload() public static méthode

ReReads gumpart
public static Reload ( ) : void
Résultat void

RemoveGump() public static méthode

Removes Gumpindex m_Removed
public static RemoveGump ( int index ) : void
index int
Résultat void

ReplaceGump() public static méthode

Replaces Gump m_Cache
public static ReplaceGump ( int index, Bitmap bmp ) : void
index int
bmp System.Drawing.Bitmap
Résultat void

Save() public static méthode

public static Save ( string path ) : void
path string
Résultat void