C# 클래스 Ultima.Art

파일 보기 프로젝트 열기: polserver/poltools 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Modified bool

공개 메소드들

메소드 설명
GetIdxLength ( ) : int
GetLand ( int index ) : Bitmap

Returns Bitmap of LandTile (with Cache)

GetLand ( int index, bool &patched ) : Bitmap

Returns Bitmap of LandTile (with Cache) and verdata bool

GetLegalItemID ( int itemID, bool checkmaxid = true ) : ushort
GetMaxItemID ( ) : int
GetRawLand ( int index ) : byte[]
GetRawStatic ( int index ) : byte[]
GetStatic ( int index, bool checkmaxid = true ) : Bitmap

Returns Bitmap of Static (with Cache)

GetStatic ( int index, bool &patched, bool checkmaxid = true ) : Bitmap

Returns Bitmap of Static (with Cache) and verdata bool

IsUOAHS ( ) : bool
IsValidLand ( int index ) : bool

Tests if LandTile is definied

IsValidStatic ( int index ) : bool

Tests if Static is definied (width and hight check)

Measure ( Bitmap bmp, int &xMin, int &yMin, int &xMax, int &yMax ) : void
Reload ( ) : void

ReReads Art.mul

RemoveLand ( int index ) : void

Removes Land index m_Removed

RemoveStatic ( int index ) : void

Removes Static index m_Removed

ReplaceLand ( int index, Bitmap bmp ) : void

Sets bmp of index in m_Cache of Land

ReplaceStatic ( int index, Bitmap bmp ) : void

Sets bmp of index in m_Cache of Static

Save ( string path ) : void

Saves mul

비공개 메소드들

메소드 설명
Art ( ) : System.Collections
LoadLand ( Stream stream, int length ) : Bitmap
LoadStatic ( Stream stream, int length ) : Bitmap
compareSaveImagesLand ( byte newchecksum, CheckSums &sum ) : bool
compareSaveImagesStatic ( byte newchecksum, CheckSums &sum ) : bool

메소드 상세

GetIdxLength() 공개 정적인 메소드

public static GetIdxLength ( ) : int
리턴 int

GetLand() 공개 정적인 메소드

Returns Bitmap of LandTile (with Cache)
public static GetLand ( int index ) : Bitmap
index int
리턴 System.Drawing.Bitmap

GetLand() 공개 정적인 메소드

Returns Bitmap of LandTile (with Cache) and verdata bool
public static GetLand ( int index, bool &patched ) : Bitmap
index int
patched bool
리턴 System.Drawing.Bitmap

GetLegalItemID() 공개 정적인 메소드

public static GetLegalItemID ( int itemID, bool checkmaxid = true ) : ushort
itemID int
checkmaxid bool
리턴 ushort

GetMaxItemID() 공개 정적인 메소드

public static GetMaxItemID ( ) : int
리턴 int

GetRawLand() 공개 정적인 메소드

public static GetRawLand ( int index ) : byte[]
index int
리턴 byte[]

GetRawStatic() 공개 정적인 메소드

public static GetRawStatic ( int index ) : byte[]
index int
리턴 byte[]

GetStatic() 공개 정적인 메소드

Returns Bitmap of Static (with Cache)
public static GetStatic ( int index, bool checkmaxid = true ) : Bitmap
index int
checkmaxid bool
리턴 System.Drawing.Bitmap

GetStatic() 공개 정적인 메소드

Returns Bitmap of Static (with Cache) and verdata bool
public static GetStatic ( int index, bool &patched, bool checkmaxid = true ) : Bitmap
index int
patched bool
checkmaxid bool
리턴 System.Drawing.Bitmap

IsUOAHS() 공개 정적인 메소드

public static IsUOAHS ( ) : bool
리턴 bool

IsValidLand() 공개 정적인 메소드

Tests if LandTile is definied
public static IsValidLand ( int index ) : bool
index int
리턴 bool

IsValidStatic() 공개 정적인 메소드

Tests if Static is definied (width and hight check)
public static IsValidStatic ( int index ) : bool
index int
리턴 bool

Measure() 공개 정적인 메소드

public static Measure ( Bitmap bmp, int &xMin, int &yMin, int &xMax, int &yMax ) : void
bmp System.Drawing.Bitmap
xMin int
yMin int
xMax int
yMax int
리턴 void

Reload() 공개 정적인 메소드

ReReads Art.mul
public static Reload ( ) : void
리턴 void

RemoveLand() 공개 정적인 메소드

Removes Land index m_Removed
public static RemoveLand ( int index ) : void
index int
리턴 void

RemoveStatic() 공개 정적인 메소드

Removes Static index m_Removed
public static RemoveStatic ( int index ) : void
index int
리턴 void

ReplaceLand() 공개 정적인 메소드

Sets bmp of index in m_Cache of Land
public static ReplaceLand ( int index, Bitmap bmp ) : void
index int
bmp System.Drawing.Bitmap
리턴 void

ReplaceStatic() 공개 정적인 메소드

Sets bmp of index in m_Cache of Static
public static ReplaceStatic ( int index, Bitmap bmp ) : void
index int
bmp System.Drawing.Bitmap
리턴 void

Save() 공개 정적인 메소드

Saves mul
public static Save ( string path ) : void
path string
리턴 void

프로퍼티 상세

Modified 공개적으로 정적으로 프로퍼티

public static bool Modified
리턴 bool