C# Class Ultima.Light

Afficher le fichier Open project: polserver/poltools

Méthodes publiques

Méthode Description
GetCount ( ) : int

Gets count of definied lights

GetLight ( int index ) : Bitmap

Returns Bitmap of given index

GetRawLight ( int index, int &width, int &height ) : byte[]
Reload ( ) : void

ReReads light.mul

Remove ( int index ) : void

Removes Light m_Removed

Replace ( int index, Bitmap bmp ) : void

Replaces Light

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

Tests if given index is valid

Method Details

GetCount() public static méthode

Gets count of definied lights
public static GetCount ( ) : int
Résultat int

GetLight() public static méthode

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

GetRawLight() public static méthode

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

Reload() public static méthode

ReReads light.mul
public static Reload ( ) : void
Résultat void

Remove() public static méthode

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

Replace() public static méthode

Replaces Light
public static Replace ( 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

TestLight() public static méthode

Tests if given index is valid
public static TestLight ( int index ) : bool
index int
Résultat bool