Class Map
Represents Map.
public class Map : IComparable<Map>, IComparable
- Inheritance
-
Map
- Implements
- Inherited Members
Properties
Felucca
public static Map Felucca { get; }
Property Value
FileIndex
public int FileIndex { get; }
Property Value
Height
public int Height { get; }
Property Value
Ilshenar
public static Map Ilshenar { get; }
Property Value
Index
public int Index { get; }
Property Value
Internal
public static Map Internal { get; }
Property Value
Malas
public static Map Malas { get; }
Property Value
MapCount
public static int MapCount { get; }
Property Value
MapID
public int MapID { get; }
Property Value
Maps
public static Map[] Maps { get; }
Property Value
- Map[]
Name
public string Name { get; }
Property Value
Rules
public MapRules Rules { get; }
Property Value
Season
public SeasonType Season { get; }
Property Value
TerMur
public static Map TerMur { get; }
Property Value
Tiles
public TileMatrix Tiles { get; }
Property Value
Tokuno
public static Map Tokuno { get; }
Property Value
Trammel
public static Map Trammel { get; }
Property Value
Width
public int Width { get; }
Property Value
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
otherMapAn 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 otherin the sort order.Zero This instance occurs in the same position in the sort order as other.Greater than zero This instance follows otherin 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
objobjectAn 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 objin the sort order.Zero This instance occurs in the same position in the sort order as obj.Greater than zero This instance follows objin the sort order.
Exceptions
- ArgumentException
objis not the same type as this instance.
GetLandTile(int, int)
public LandTile GetLandTile(int x, int y)
Parameters
Returns
GetMap(int)
public static Map GetMap(int index)
Parameters
indexint
Returns
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)