|
Planeshift
|
Class to hold information regarding aliases for waypoints. More...
#include <waypoint.h>
Public Member Functions | |
| bool | CreateUpdate (iDataConnection *db) |
| Crate or update a waypoint alias. More... | |
| int | GetID () const |
| Get the DB id for this alias. More... | |
| const char * | GetName () const |
| Get the Name of this alias. More... | |
| float | GetRotationAngle () const |
| Get the Rotation Angle of this alias. More... | |
| bool | SetRotationAngle (iDataConnection *db, float rotationAngle) |
| Set a new rotation angle for this waypoint. More... | |
| void | SetRotationAngle (float rotationAngle) |
| Set a new rotation angle for this waypoint. More... | |
| WaypointAlias (Waypoint *wp, int id, const csString &alias, float rotationAngle) | |
| Constructor. More... | |
Public Attributes | |
| csString | alias |
| An alias for an waypoint. More... | |
| int | id |
| The ID of this waypoint alias in DB. More... | |
| float | rotationAngle |
| The direction the NPC should face when placed on this waypoint. More... | |
| Waypoint * | wp |
| The waypoint this alias is a part of. More... | |
Class to hold information regarding aliases for waypoints.
Definition at line 38 of file waypoint.h.
Constructor.
| bool WaypointAlias::CreateUpdate | ( | iDataConnection * | db | ) |
Crate or update a waypoint alias.
|
inline |
Get the DB id for this alias.
Definition at line 47 of file waypoint.h.
|
inline |
Get the Name of this alias.
Definition at line 51 of file waypoint.h.
|
inline |
Get the Rotation Angle of this alias.
Definition at line 55 of file waypoint.h.
| bool WaypointAlias::SetRotationAngle | ( | iDataConnection * | db, |
| float | rotationAngle | ||
| ) |
Set a new rotation angle for this waypoint.
|
inline |
Set a new rotation angle for this waypoint.
Definition at line 67 of file waypoint.h.
| csString WaypointAlias::alias |
An alias for an waypoint.
Definition at line 71 of file waypoint.h.
| int WaypointAlias::id |
The ID of this waypoint alias in DB.
Definition at line 70 of file waypoint.h.
| float WaypointAlias::rotationAngle |
The direction the NPC should face when placed on this waypoint.
Definition at line 72 of file waypoint.h.
| Waypoint* WaypointAlias::wp |
The waypoint this alias is a part of.
Definition at line 69 of file waypoint.h.