C# Class Ultima.Map

Afficher le fichier Open project: polserver/poltools Class Usage Examples

Méthodes publiques

Свойство Type Description
Custom Map
Felucca Map
Ilshenar Map
Malas Map
TerMur Map
Tokuno Map
Trammel Map

Méthodes publiques

Méthode Description
DefragStatics ( string path, Map map, int width, int height, bool remove ) : void
GetImage ( int x, int y, int width, int height ) : Bitmap

Returns Bitmap with Statics

GetImage ( int x, int y, int width, int height, bool statics ) : Bitmap

Returns Bitmap

GetImage ( int x, int y, int width, int height, Bitmap bmp ) : void

Draws in given Bitmap with Statics

GetImage ( int x, int y, int width, int height, Bitmap bmp, bool statics ) : void

Draws in given Bitmap

IsCached ( bool statics ) : bool
Map ( int fileIndex, int mapID, int width, int height ) : System
Map ( string path, int fileIndex, int mapID, int width, int height ) : System
PreloadRenderedBlock ( int x, int y, bool statics ) : void
Reload ( ) : void

Sets cache-vars to null

ReportInvalidMapIDs ( string reportfile ) : void
ReportInvisStatics ( string reportfile ) : void
ResetCache ( ) : void
RewriteMap ( string path, int map, int width, int height ) : void
StartUpSetDiff ( bool value ) : void

Private Methods

Méthode Description
GetRenderedBlock ( int x, int y, bool statics ) : short[]
RenderBlock ( int x, int y, bool drawStatics, bool diff ) : short[]

Method Details

DefragStatics() public static méthode

public static DefragStatics ( string path, Map map, int width, int height, bool remove ) : void
path string
map Map
width int
height int
remove bool
Résultat void

GetImage() public méthode

Returns Bitmap with Statics
public GetImage ( int x, int y, int width, int height ) : Bitmap
x int 8x8 Block
y int 8x8 Block
width int 8x8 Block
height int 8x8 Block
Résultat System.Drawing.Bitmap

GetImage() public méthode

Returns Bitmap
public GetImage ( int x, int y, int width, int height, bool statics ) : Bitmap
x int 8x8 Block
y int 8x8 Block
width int 8x8 Block
height int 8x8 Block
statics bool 8x8 Block
Résultat System.Drawing.Bitmap

GetImage() public méthode

Draws in given Bitmap with Statics
public GetImage ( int x, int y, int width, int height, Bitmap bmp ) : void
x int 8x8 Block
y int 8x8 Block
width int 8x8 Block
height int 8x8 Block
bmp System.Drawing.Bitmap 8x8 Block
Résultat void

GetImage() public méthode

Draws in given Bitmap
public GetImage ( int x, int y, int width, int height, Bitmap bmp, bool statics ) : void
x int 8x8 Block
y int 8x8 Block
width int 8x8 Block
height int 8x8 Block
bmp System.Drawing.Bitmap
statics bool
Résultat void

IsCached() public méthode

public IsCached ( bool statics ) : bool
statics bool
Résultat bool

Map() public méthode

public Map ( int fileIndex, int mapID, int width, int height ) : System
fileIndex int
mapID int
width int
height int
Résultat System

Map() public méthode

public Map ( string path, int fileIndex, int mapID, int width, int height ) : System
path string
fileIndex int
mapID int
width int
height int
Résultat System

PreloadRenderedBlock() public méthode

public PreloadRenderedBlock ( int x, int y, bool statics ) : void
x int
y int
statics bool
Résultat void

Reload() public static méthode

Sets cache-vars to null
public static Reload ( ) : void
Résultat void

ReportInvalidMapIDs() public méthode

public ReportInvalidMapIDs ( string reportfile ) : void
reportfile string
Résultat void

ReportInvisStatics() public méthode

public ReportInvisStatics ( string reportfile ) : void
reportfile string
Résultat void

ResetCache() public méthode

public ResetCache ( ) : void
Résultat void

RewriteMap() public static méthode

public static RewriteMap ( string path, int map, int width, int height ) : void
path string
map int
width int
height int
Résultat void

StartUpSetDiff() public static méthode

public static StartUpSetDiff ( bool value ) : void
value bool
Résultat void

Property Details

Custom public_oe static_oe property

public static Map,Ultima Custom
Résultat Map

Felucca public_oe static_oe property

public static Map,Ultima Felucca
Résultat Map

Ilshenar public_oe static_oe property

public static Map,Ultima Ilshenar
Résultat Map

Malas public_oe static_oe property

public static Map,Ultima Malas
Résultat Map

TerMur public_oe static_oe property

public static Map,Ultima TerMur
Résultat Map

Tokuno public_oe static_oe property

public static Map,Ultima Tokuno
Résultat Map

Trammel public_oe static_oe property

public static Map,Ultima Trammel
Résultat Map