C# Class Ultima.Textures

ファイルを表示 Open project: polserver/poltools

Public Methods

Method 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

Method Description
compareSaveImages ( byte newchecksum, CheckSums &sum ) : bool

Method Details

GetIdxLength() public static method

public static GetIdxLength ( ) : int
return int

GetTexture() public static method

Returns Bitmap of Texture
public static GetTexture ( int index ) : Bitmap
index int
return Bitmap

GetTexture() public static method

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

Reload() public static method

ReReads texmaps
public static Reload ( ) : void
return void

Remove() public static method

Removes Texture m_Removed
public static Remove ( int index ) : void
index int
return void

Replace() public static method

Replaces Texture
public static Replace ( int index, Bitmap bmp ) : void
index int
bmp Bitmap
return void

Save() public static method

public static Save ( string path ) : void
path string
return void

TestTexture() public static method

Tests if index is valid Texture
public static TestTexture ( int index ) : bool
index int
return bool