Rise
The Vieneo Province
Toggle main menu visibility
Loading...
Searching...
No Matches
waypoints.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
#include "
../GameClass.h
"
5
#include "
../Protocol/ServerTypes.h
"
6
#include "
../WaypointProtocol.h
"
7
8
class
waypoints
9
{
10
public
:
11
waypoints
(
GameClass
* prmGameClass);
12
void
ResetSession
();
13
void
UpdateMaster
(
Swaypoint
waypoint)
const
;
14
void
RequestWaypointData
();
15
void
FrameMove
(
float
elapsedSeconds);
16
void
Delete
(
int
index);
17
void
Upload
(
Swaypoint
swaypoint)
const
;
18
void
AddOrUpdate
(
Swaypoint
tempwaypoint);
19
void
SetCurrentFromServer
(
int
id
);
20
void
CancelPendingSelection
();
21
short
Find
(
int
id
)
const
;
22
short
FindByUniqueId
(
int
uniqueid)
const
;
23
std::vector<Swaypoint>
waypoints::GetGroup
(
short
group)
const
;
24
25
private
:
26
GameClass
*
gameclass
;
27
WaypointProtocol::DownloadState
download
;
28
WaypointProtocol::PendingSelection
pendingSelection
;
29
bool
ResolvePendingSelection
();
30
};
GameClass.h
ServerTypes.h
WaypointProtocol.h
GameClass
Definition
GameClass.h:44
WaypointProtocol::DownloadState
Definition
WaypointProtocol.h:99
WaypointProtocol::PendingSelection
Definition
WaypointProtocol.h:151
waypoints::CancelPendingSelection
void CancelPendingSelection()
Definition
waypoints.cpp:57
waypoints::SetCurrentFromServer
void SetCurrentFromServer(int id)
Definition
waypoints.cpp:76
waypoints::Upload
void Upload(Swaypoint swaypoint) const
Definition
waypoints.cpp:209
waypoints::Find
short Find(int id) const
Definition
waypoints.cpp:176
waypoints::pendingSelection
WaypointProtocol::PendingSelection pendingSelection
Definition
waypoints.h:28
waypoints::GetGroup
std::vector< Swaypoint > GetGroup(short group) const
Definition
waypoints.cpp:197
waypoints::download
WaypointProtocol::DownloadState download
Definition
waypoints.h:27
waypoints::AddOrUpdate
void AddOrUpdate(Swaypoint tempwaypoint)
Definition
waypoints.cpp:125
waypoints::Delete
void Delete(int index)
Definition
waypoints.cpp:94
waypoints::ResetSession
void ResetSession()
Definition
waypoints.cpp:12
waypoints::FindByUniqueId
short FindByUniqueId(int uniqueid) const
Definition
waypoints.cpp:186
waypoints::FrameMove
void FrameMove(float elapsedSeconds)
Definition
waypoints.cpp:39
waypoints::UpdateMaster
void UpdateMaster(Swaypoint waypoint) const
Definition
waypoints.cpp:23
waypoints::RequestWaypointData
void RequestWaypointData()
Definition
waypoints.cpp:31
waypoints::waypoints
waypoints(GameClass *prmGameClass)
Definition
waypoints.cpp:6
waypoints::gameclass
GameClass * gameclass
Definition
waypoints.h:26
waypoints::ResolvePendingSelection
bool ResolvePendingSelection()
Definition
waypoints.cpp:62
Swaypoint
Definition
ServerTypes.h:891
Viewscreen
waypoints.h
Generated on
for Rise by
1.18.0