View Project on GitHub
Initializes a new map object.
Namespace: GW2CSharp.V2.Unauthenticated.MapsAssembly: GW2CSharp (in GW2CSharp.dll) Version: 0.15.0.0 (0.15)
Syntaxpublic Map(
int id,
string name,
int min_level,
int max_level,
int default_floor,
IEnumerable<int> floors,
int region_id,
string region_name,
int continent_id,
string continent_name,
List<List<int>> map_rect,
List<List<int>> continent_rect
)
Parameters
- id
- Type: SystemInt32
The map id. - name
- Type: SystemString
The map name. - min_level
- Type: SystemInt32
The minimal level of this map. - max_level
- Type: SystemInt32
The maximum level of this map. - default_floor
- Type: SystemInt32
The default floor of this map. - floors
- Type: System.Collections.GenericIEnumerableInt32
A list of available floors for this map. - region_id
- Type: SystemInt32
The id of the region this map belongs to. - region_name
- Type: SystemString
The name of the region this map belongs to. - continent_id
- Type: SystemInt32
The id of the continent this map belongs to. - continent_name
- Type: SystemString
The name of the continent this map belongs to. - map_rect
- Type: System.Collections.GenericListListInt32
The dimensions of the map, given as the coordinates of the lower-left (SW) and upper-right (NE) corners. - continent_rect
- Type: System.Collections.GenericListListInt32
The dimensions of the map within the continent coordinate system, given as the coordinates of the upper-left (NW) and lower-right (SE) corners.
See Also