|
Zap::HuntersGameType class Reference
Zap::HuntersGameType Class Reference#include <huntersGame.h>
Inheritance diagram for Zap::HuntersGameType:
|
Public Types |
enum | {
DefaultNexusReturnDelay = 60000,
DefaultNexusCapDelay = 15000,
YardSaleWaypointTime = 5000,
YardSaleCount = 8
} |
enum | {
HuntersMsgScore,
HuntersMsgYardSale,
HuntersMsgGameOverWin,
HuntersMsgGameOverTie
} |
Public Member Functions |
| HuntersGameType () |
void | processArguments (S32 argc, const char **argv) |
void | addNexus (HuntersNexusObject *theObject) |
void | shipTouchNexus (Ship *theShip, HuntersNexusObject *theNexus) |
void | onGhostAvailable (GhostConnection *theConnection) |
| onGhostAvailable is called on the server side after the server knows that the ghost is available and addressable via the getGhostIndex().
|
void | idle (GameObject::IdleCallPath path) |
void | renderInterfaceOverlay (bool scoreboardVisible) |
void | controlObjectForClientKilled (GameConnection *theClient, GameObject *clientObject, GameObject *killerObject) |
void | spawnShip (GameConnection *theClient) |
const char * | getGameTypeString () |
const char * | getInstructionString () |
| TNL_DECLARE_RPC (s2cAddYardSaleWaypoint,(F32 x, F32 y)) |
| TNL_DECLARE_RPC (s2cSetNexusTimer,(U32 nexusTime, bool canCap)) |
| TNL_DECLARE_RPC (s2cHuntersMessage,(U32 msgIndex, StringTableEntry clientName, U32 flagCount)) |
| TNL_DECLARE_CLASS (HuntersGameType) |
Data Fields |
bool | mCanNexusCap |
Private Types |
typedef GameType | Parent |
Private Attributes |
S32 | mNexusReturnDelay |
S32 | mNexusCapDelay |
Timer | mNexusReturnTimer |
Timer | mNexusCapTimer |
Vector< YardSaleWaypoint > | mYardSaleWaypoints |
SafePtr< HuntersNexusObject > | mNexus |
Member Typedef Documentation
Member Enumeration Documentation
|
- Enumeration values:
-
DefaultNexusReturnDelay |
|
DefaultNexusCapDelay |
|
YardSaleWaypointTime |
|
YardSaleCount |
|
|
|
- Enumeration values:
-
HuntersMsgScore |
|
HuntersMsgYardSale |
|
HuntersMsgGameOverWin |
|
HuntersMsgGameOverTie |
|
|
Constructor & Destructor Documentation
Zap::HuntersGameType::HuntersGameType |
( |
|
) |
|
|
Member Function Documentation
void Zap::HuntersGameType::processArguments |
( |
S32 |
argc, |
|
|
const char ** |
argv |
|
) |
[virtual] |
|
void Zap::HuntersGameType::onGhostAvailable |
( |
GhostConnection * |
theConnection |
) |
[virtual] |
|
|
onGhostAvailable is called on the server side after the server knows that the ghost is available and addressable via the getGhostIndex().
Reimplemented from Zap::GameType. |
void Zap::HuntersGameType::renderInterfaceOverlay |
( |
bool |
scoreboardVisible |
) |
[virtual] |
|
void Zap::HuntersGameType::spawnShip |
( |
GameConnection * |
theClient |
) |
[virtual] |
|
const char* Zap::HuntersGameType::getGameTypeString |
( |
|
) |
[inline, virtual] |
|
const char* Zap::HuntersGameType::getInstructionString |
( |
|
) |
[inline, virtual] |
|
Zap::HuntersGameType::TNL_DECLARE_RPC |
( |
s2cAddYardSaleWaypoint |
, |
|
|
(F32 x, F32 y) |
|
|
) |
|
|
Zap::HuntersGameType::TNL_DECLARE_RPC |
( |
s2cSetNexusTimer |
, |
|
|
(U32 nexusTime, bool canCap) |
|
|
) |
|
|
Zap::HuntersGameType::TNL_DECLARE_RPC |
( |
s2cHuntersMessage |
, |
|
|
(U32 msgIndex, StringTableEntry clientName, U32 flagCount) |
|
|
) |
|
|
Field Documentation
|