C# 클래스 Ultima.Animations

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

공개 메소드들

메소드 설명
GetAnimCount ( int fileType ) : int

Returns Animationcount in given animfile

GetAnimLength ( int body, int fileType ) : int

Actioncount of given Body in given anim file

GetAnimation ( int body, int action, int direction, int fileType ) : Ultima.Frame[]
GetAnimation ( int body, int action, int direction, int &hue, bool preserveHue, bool FirstFrame ) : Ultima.Frame[]

Returns Framelist

GetFileName ( int body ) : string

Returns Filename body is in

IsActionDefined ( int body, int action, int direction ) : bool

Is Body with action and direction definied

IsAnimDefinied ( int body, int action, int dir, int fileType ) : bool

Is Animation in given animfile definied

Reload ( ) : void

Rereads AnimX files and bodyconv, body.def

Translate ( int &body ) : void

Translates body (body.def)

Translate ( int &body, int &hue ) : void

Translates body and hue (body.def)

비공개 메소드들

메소드 설명
GetFileIndex ( int body, int action, int direction, int fileType, FileIndex &fileIndex, int &index ) : void

Gets Fileseek index based on fileType,body,action,direction

LoadTable ( ) : void

메소드 상세

GetAnimCount() 공개 정적인 메소드

Returns Animationcount in given animfile
public static GetAnimCount ( int fileType ) : int
fileType int
리턴 int

GetAnimLength() 공개 정적인 메소드

Actioncount of given Body in given anim file
public static GetAnimLength ( int body, int fileType ) : int
body int
fileType int
리턴 int

GetAnimation() 공개 정적인 메소드

public static GetAnimation ( int body, int action, int direction, int fileType ) : Ultima.Frame[]
body int
action int
direction int
fileType int
리턴 Ultima.Frame[]

GetAnimation() 공개 정적인 메소드

Returns Framelist
public static GetAnimation ( int body, int action, int direction, int &hue, bool preserveHue, bool FirstFrame ) : Ultima.Frame[]
body int
action int
direction int
hue int
preserveHue bool No Hue override
FirstFrame bool
리턴 Ultima.Frame[]

GetFileName() 공개 정적인 메소드

Returns Filename body is in
public static GetFileName ( int body ) : string
body int
리턴 string

IsActionDefined() 공개 정적인 메소드

Is Body with action and direction definied
public static IsActionDefined ( int body, int action, int direction ) : bool
body int
action int
direction int
리턴 bool

IsAnimDefinied() 공개 정적인 메소드

Is Animation in given animfile definied
public static IsAnimDefinied ( int body, int action, int dir, int fileType ) : bool
body int
action int
dir int
fileType int
리턴 bool

Reload() 공개 정적인 메소드

Rereads AnimX files and bodyconv, body.def
public static Reload ( ) : void
리턴 void

Translate() 공개 정적인 메소드

Translates body (body.def)
public static Translate ( int &body ) : void
body int
리턴 void

Translate() 공개 정적인 메소드

Translates body and hue (body.def)
public static Translate ( int &body, int &hue ) : void
body int
hue int
리턴 void