C# Class Ultima.BodyConverter

Contains translation tables used for mapping body values to file subsets. Animations
Mostrar archivo Open project: polserver/poltools Class Usage Examples

Public Methods

Method Description
Contains ( int body ) : bool

Checks to see if body is contained within the mapping table.

Convert ( int &body ) : int

Attempts to convert body to a body index relative to a file subset, specified by the return value.

GetTrueBody ( int FileType, int index ) : int

Converts backward

Initialize ( ) : void

Fills bodyconv.def Tables

Private Methods

Method Description
BodyConverter ( ) : System

Method Details

Contains() public static method

Checks to see if body is contained within the mapping table.
public static Contains ( int body ) : bool
body int
return bool

Convert() public static method

Attempts to convert body to a body index relative to a file subset, specified by the return value.
public static Convert ( int &body ) : int
body int
return int

GetTrueBody() public static method

Converts backward
public static GetTrueBody ( int FileType, int index ) : int
FileType int
index int
return int

Initialize() public static method

Fills bodyconv.def Tables
public static Initialize ( ) : void
return void