C# 클래스 Ultima.Light

파일 보기 프로젝트 열기: polserver/poltools

공개 메소드들

메소드 설명
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