|
Public Methods |
| | TargetLocation (P_CHAR pc) |
| | creates a target loc from a character
|
| | TargetLocation (P_ITEM pi) |
| | creates a target loc from an item
|
| | TargetLocation (P_TARGET pp) |
| | creates a target loc from a target net packet
|
| | TargetLocation (UI16 x, UI16 y, SI08 z) |
| | creates a target loc from a xyz position in the map
|
| void | revalidate () |
| | recalculates item&char from their serial
|
| P_CHAR | getChar () |
| | gets the targetted char if any, NULL otherwise
|
| P_ITEM | getItem () |
| | gets the targetted item if any, NULL otherwise
|
| void | getXYZ (UI16 &x, UI16 &y, SI08 &z) |
| | gets the XYZ location of this target location
|
| void | extendItemTarget () |
| | extends a P_ITEM data to P_CHAR and x,y,z
|
Private Methods |
| void | init (UI16 x, UI16 y, SI08 z) |
| void | init (P_CHAR pc) |
| void | init (P_ITEM pi) |
Private Attributes |
| P_CHAR | m_pc |
| int | m_pcSerial |
| P_ITEM | m_pi |
| int | m_piSerial |
| UI16 | m_x |
| UI16 | m_y |
| SI08 | m_z |