C# Класс Ultima.Light

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

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

Метод Описание
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

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

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

Gets count of definied lights
public static GetCount ( ) : int
Результат int

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

Returns Bitmap of given index
public static GetLight ( int index ) : Bitmap
index int
Результат System.Drawing.Bitmap

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

public static GetRawLight ( int index, int &width, int &height ) : byte[]
index int
width int
height int
Результат byte[]

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

ReReads light.mul
public static Reload ( ) : void
Результат void

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

Removes Light m_Removed
public static Remove ( int index ) : void
index int
Результат void

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

Replaces Light
public static Replace ( int index, Bitmap bmp ) : void
index int
bmp System.Drawing.Bitmap
Результат void

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

public static Save ( string path ) : void
path string
Результат void

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

Tests if given index is valid
public static TestLight ( int index ) : bool
index int
Результат bool