![]() |
Dawn of Light - Class documentation 2900
This is the Dawn of Light project
|
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. | |
| int DOL.GS.GameLocation.GetDistance | ( | IGameLocation | location | ) |
calculates distance between 2 points
| p1 | |
| p2 |
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.