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
6
8{
9public:
10 CGameControllerDDRace(class CGameContext *pGameServer);
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
Definition: character.h:30
Definition: gamecontext.h:79
Definition: DDRace.h:8
void SetArmorProgress(CCharacter *pCharacer, int Progress) override
Definition: DDRace.cpp:115
CGameControllerDDRace(class CGameContext *pGameServer)
Definition: DDRace.cpp:17
void HandleCharacterTiles(class CCharacter *pChr, int MapIndex) override
Definition: DDRace.cpp:31
void DoTeamChange(class CPlayer *pPlayer, int Team, bool DoChatMsg=true) override
Definition: DDRace.cpp:174
void OnReset() override
Definition: DDRace.cpp:161
void OnPlayerConnect(class CPlayer *pPlayer) override
Definition: DDRace.cpp:120
void OnPlayerDisconnect(class CPlayer *pPlayer, const char *pReason) override
Definition: DDRace.cpp:143
CScore * Score()
Definition: DDRace.cpp:26
void Tick() override
Definition: DDRace.cpp:167
Definition: player.h:33
Definition: score.h:15
Definition: gamecontroller.h:19