DDraceNetwork Docs
DDRace.h
Go to the documentation of this file.
1
/* (c) Shereef Marzouk. See "licence DDRace.txt" and the readme.txt in the root of the distribution for more information. */
2
#ifndef GAME_SERVER_GAMEMODES_DDRACE_H
3
#define GAME_SERVER_GAMEMODES_DDRACE_H
4
5
#include <
game/server/gamecontroller.h
>
6
7
class
CGameControllerDDRace
:
public
IGameController
8
{
9
public
:
10
CGameControllerDDRace
(
class
CGameContext
*pGameServer);
11
~CGameControllerDDRace
();
12
13
CScore
*
Score
();
14
15
void
HandleCharacterTiles
(
class
CCharacter
*pChr,
int
MapIndex)
override
;
16
void
SetArmorProgress
(
CCharacter
*pCharacer,
int
Progress)
override
;
17
18
void
OnPlayerConnect
(
class
CPlayer
*pPlayer)
override
;
19
void
OnPlayerDisconnect
(
class
CPlayer
*pPlayer,
const
char
*pReason)
override
;
20
21
void
OnReset
()
override
;
22
23
void
Tick
()
override
;
24
25
void
DoTeamChange
(
class
CPlayer
*pPlayer,
int
Team,
bool
DoChatMsg =
true
)
override
;
26
};
27
#endif
// GAME_SERVER_GAMEMODES_DDRACE_H
CCharacter
Definition:
character.h:30
CGameContext
Definition:
gamecontext.h:79
CGameControllerDDRace
Definition:
DDRace.h:8
CGameControllerDDRace::~CGameControllerDDRace
~CGameControllerDDRace()
CGameControllerDDRace::SetArmorProgress
void SetArmorProgress(CCharacter *pCharacer, int Progress) override
Definition:
DDRace.cpp:115
CGameControllerDDRace::CGameControllerDDRace
CGameControllerDDRace(class CGameContext *pGameServer)
Definition:
DDRace.cpp:17
CGameControllerDDRace::HandleCharacterTiles
void HandleCharacterTiles(class CCharacter *pChr, int MapIndex) override
Definition:
DDRace.cpp:31
CGameControllerDDRace::DoTeamChange
void DoTeamChange(class CPlayer *pPlayer, int Team, bool DoChatMsg=true) override
Definition:
DDRace.cpp:174
CGameControllerDDRace::OnReset
void OnReset() override
Definition:
DDRace.cpp:161
CGameControllerDDRace::OnPlayerConnect
void OnPlayerConnect(class CPlayer *pPlayer) override
Definition:
DDRace.cpp:120
CGameControllerDDRace::OnPlayerDisconnect
void OnPlayerDisconnect(class CPlayer *pPlayer, const char *pReason) override
Definition:
DDRace.cpp:143
CGameControllerDDRace::Score
CScore * Score()
Definition:
DDRace.cpp:26
CGameControllerDDRace::Tick
void Tick() override
Definition:
DDRace.cpp:167
CPlayer
Definition:
player.h:33
CScore
Definition:
score.h:15
IGameController
Definition:
gamecontroller.h:19
gamecontroller.h
src
game
server
gamemodes
DDRace.h
Generated by
1.9.4