Rise
The Vieneo Province
waypoints Class Reference

#include <waypoints.h>

Collaboration diagram for waypoints:
[legend]

Public Member Functions

 waypoints (GameClass *prmGameClass)
 
void Update (Swaypoint waypoint) const
 
void RequestWaypointData () const
 
void Sort (short sortfield, char sortdirection, int *linecursel, int *lineact) const
 
void Delete (int index) const
 
void Upload (Swaypoint swaypoint) const
 
void AddOrUpdate (Swaypoint tempwaypoint) const
 
short Find (int uniqueid) const
 
short FindByUniqueId (int id) const
 
std::vector< Swaypoint > GetGroup (short group) const
 

Private Attributes

GameClassgameclass
 

Detailed Description

Definition at line 7 of file waypoints.h.

Constructor & Destructor Documentation

◆ waypoints()

waypoints::waypoints ( GameClass prmGameClass)

Definition at line 4 of file waypoints.cpp.

Member Function Documentation

◆ AddOrUpdate()

void waypoints::AddOrUpdate ( Swaypoint  tempwaypoint) const
Todo:
probably a better way to do this with vector

Definition at line 132 of file waypoints.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Delete()

void waypoints::Delete ( int  index) const

Definition at line 100 of file waypoints.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Find()

short waypoints::Find ( int  uniqueid) const
Todo:
probably a better way to do this with vector

Definition at line 152 of file waypoints.cpp.

Here is the caller graph for this function:

◆ FindByUniqueId()

short waypoints::FindByUniqueId ( int  id) const
Todo:
probably a better way to do this with vector

Definition at line 163 of file waypoints.cpp.

Here is the caller graph for this function:

◆ GetGroup()

std::vector< Swaypoint > waypoints::GetGroup ( short  group) const

Definition at line 174 of file waypoints.cpp.

◆ RequestWaypointData()

void waypoints::RequestWaypointData ( ) const

Definition at line 14 of file waypoints.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Sort()

void waypoints::Sort ( short  sortfield,
char  sortdirection,
int *  linecursel,
int *  lineact 
) const

Definition at line 25 of file waypoints.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Update()

void waypoints::Update ( Swaypoint  waypoint) const

Definition at line 9 of file waypoints.cpp.

Here is the call graph for this function:

◆ Upload()

void waypoints::Upload ( Swaypoint  swaypoint) const

Definition at line 186 of file waypoints.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ gameclass

GameClass* waypoints::gameclass
private

Definition at line 22 of file waypoints.h.


The documentation for this class was generated from the following files: