#include <HumanPlayer.h>
Inheritance diagram for CHumanPlayer:

Public Member Functions | |
| CHumanPlayer (CBSock *pHumanGUI) | |
| CHumanPlayer. | |
Protected Member Functions | |
| bool | OnInit () |
| OnInit. | |
| void | OnMessageReceived (CMessage *pMsg) |
| OnMessageReceived. | |
| bool | OnSpectatorMsg (CMessage *pMsg, uint32 iSpectatorNumber) |
| OnSpectatorMsg. | |
| bool | OnBackgroundProc () |
| OnBackgroundProc. | |
Description: The Player class provides an interface for all player objects that communicate through the primary message loop.
Limitations:
|
|
CHumanPlayer. Description:
|
|
|
OnBackgroundProc. Description:
Reimplemented from CLocalPlayer. |
|
|
OnInit. Description: This function verifies that a human player GUI listener has been attached to the player object prior to starting the thread. If no GUI is attached, this function fails.
Reimplemented from CLocalPlayer. |
|
|
OnMessageReceived. Description:
Reimplemented from CLocalPlayer. |
|
||||||||||||
|
OnSpectatorMsg. Description: This function handler is called before message sent by a spectator is actually sent. This handler should be used to filter outgoing messages.
Reimplemented from CLocalPlayer. |