Dawn of Light - Class documentation 2900
This is the Dawn of Light project
DOL.GS.GameLocation Class Reference
Inheritance diagram for DOL.GS.GameLocation:
DOL.GS.Point3D DOL.GS.IGameLocation DOL.GS.Point2D DOL.GS.IPoint3D DOL.GS.IPoint3D DOL.GS.IPoint2D DOL.GS.IPoint2D DOL.GS.IPoint2D

List of all members.

Public Member Functions

 GameLocation (String name, ushort regionId, ushort zoneId, int x, int y, int z, ushort heading)
 GameLocation (String name, ushort regionId, int x, int y, int z)
 GameLocation (String name, ushort regionId, int x, int y, int z, ushort heading)
int GetDistance (IGameLocation location)
 calculates distance between 2 points

Static Public Member Functions

static int ConvertLocalXToGlobalX (int localX, ushort zoneId)
static int ConvertLocalYToGlobalY (int localY, ushort zoneId)
static int ConvertGlobalXToLocalX (int globalX, ushort zoneId)
static int ConvertGlobalYToLocalY (int globalY, ushort zoneId)
static int GetDistance (int r1, int x1, int y1, int z1, int r2, int x2, int y2, int z2)

Protected Attributes

ushort m_regionId
ushort m_heading
String m_name

Properties

ushort Heading [get, set]
 heading of this point
ushort RegionID [get, set]
 RegionID of this point.
String Name [get, set]
 Name of this point.

Detailed Description


Member Function Documentation

int DOL.GS.GameLocation.GetDistance ( IGameLocation  location)

calculates distance between 2 points

Parameters:
p1
p2
Returns:

Property Documentation

ushort DOL.GS.GameLocation.Heading [get, set]

heading of this point

Implements DOL.GS.IGameLocation.

String DOL.GS.GameLocation.Name [get, set]

Name of this point.

Implements DOL.GS.IGameLocation.

ushort DOL.GS.GameLocation.RegionID [get, set]

RegionID of this point.

Implements DOL.GS.IGameLocation.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events