C# Class Ultima.Textures

Afficher le fichier Open project: polserver/poltools

Méthodes publiques

Méthode Description
GetIdxLength ( ) : int
GetTexture ( int index ) : Bitmap

Returns Bitmap of Texture

GetTexture ( int index, bool &patched ) : Bitmap

Returns Bitmap of Texture with verdata bool

Reload ( ) : void

ReReads texmaps

Remove ( int index ) : void

Removes Texture m_Removed

Replace ( int index, Bitmap bmp ) : void

Replaces Texture

Save ( string path ) : void
TestTexture ( int index ) : bool

Tests if index is valid Texture

Private Methods

Méthode Description
compareSaveImages ( byte newchecksum, CheckSums &sum ) : bool

Method Details

GetIdxLength() public static méthode

public static GetIdxLength ( ) : int
Résultat int

GetTexture() public static méthode

Returns Bitmap of Texture
public static GetTexture ( int index ) : Bitmap
index int
Résultat Bitmap

GetTexture() public static méthode

Returns Bitmap of Texture with verdata bool
public static GetTexture ( int index, bool &patched ) : Bitmap
index int
patched bool
Résultat Bitmap

Reload() public static méthode

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

Remove() public static méthode

Removes Texture m_Removed
public static Remove ( int index ) : void
index int
Résultat void

Replace() public static méthode

Replaces Texture
public static Replace ( int index, Bitmap bmp ) : void
index int
bmp Bitmap
Résultat void

Save() public static méthode

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

TestTexture() public static méthode

Tests if index is valid Texture
public static TestTexture ( int index ) : bool
index int
Résultat bool