Table of Contents

Class Map

Namespace
Moongate.UO.Data.Maps
Assembly
Moongate.UO.Data.dll

Represents Map.

public class Map : IComparable<Map>, IComparable
Inheritance
Map
Implements
Inherited Members

Properties

Felucca

public static Map Felucca { get; }

Property Value

Map

FileIndex

public int FileIndex { get; }

Property Value

int

Height

public int Height { get; }

Property Value

int

Ilshenar

public static Map Ilshenar { get; }

Property Value

Map

Index

public int Index { get; }

Property Value

int

Internal

public static Map Internal { get; }

Property Value

Map

Malas

public static Map Malas { get; }

Property Value

Map

MapCount

public static int MapCount { get; }

Property Value

int

MapID

public int MapID { get; }

Property Value

int

Maps

public static Map[] Maps { get; }

Property Value

Map[]

Name

public string Name { get; }

Property Value

string

Rules

public MapRules Rules { get; }

Property Value

MapRules

Season

public SeasonType Season { get; }

Property Value

SeasonType

TerMur

public static Map TerMur { get; }

Property Value

Map

Tiles

public TileMatrix Tiles { get; }

Property Value

TileMatrix

Tokuno

public static Map Tokuno { get; }

Property Value

Map

Trammel

public static Map Trammel { get; }

Property Value

Map

Width

public int Width { get; }

Property Value

int

Methods

CompareTo(Map)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public int CompareTo(Map other)

Parameters

other Map

An object to compare with this instance.

Returns

int

A value that indicates the relative order of the objects being compared. The return value has these meanings:

Value Meaning
Less than zero This instance precedes other in the sort order.
Zero This instance occurs in the same position in the sort order as other.
Greater than zero This instance follows other in the sort order.

CompareTo(object)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public int CompareTo(object obj)

Parameters

obj object

An object to compare with this instance.

Returns

int

A value that indicates the relative order of the objects being compared. The return value has these meanings:

Value Meaning
Less than zero This instance precedes obj in the sort order.
Zero This instance occurs in the same position in the sort order as obj.
Greater than zero This instance follows obj in the sort order.

Exceptions

ArgumentException

obj is not the same type as this instance.

GetLandTile(int, int)

public LandTile GetLandTile(int x, int y)

Parameters

x int
y int

Returns

LandTile

GetMap(int)

public static Map GetMap(int index)

Parameters

index int

Returns

Map

RegisterMap(int, int, int, int, int, SeasonType, string, MapRules)

public static Map RegisterMap(int index, int mapID, int fileIndex, int width, int height, SeasonType season, string name, MapRules rules)

Parameters

index int
mapID int
fileIndex int
width int
height int
season SeasonType
name string
rules MapRules

Returns

Map