
Public Member Functions | |
| ~CScabbyQueenPlayer () | |
| virtual void | SendComplete (TInt aError) |
| virtual void | RecvComplete (TInetAddr aRecvAddr, TInt aError) |
| virtual void | TimerComplete () |
| void | ShowHandL () |
| void | GetRightHandPlayerCard () |
| TInt | SendCardNum (TInt aCardNum) |
Static Public Member Functions | |
| static CScabbyQueenPlayer * | NewL (CConsoleBase &aConsole, RSocket &aSocket) |
Public Attributes | |
| TInt | iResendCount |
| TBool | iGameOver |
| RBuf8 | iHand |
| TBool | iCurrentPlayer |
| TPckgBuf< TPlayerStatus > | iStatusBuffer |
| TPckgBuf< TGameStatus > | iGameStatus |
| TBool | iSendingPlayer |
| TBool | iFinished |
| TBuf8< KCardLength > | iReceivedCard |
| TBuf8< 20 > | iPlayerUpdate |
| TPlayerSendMode | iSendMode |
| TPlayerRecvMode | iRecvMode |
| TPckgBuf< TInt > | iPlayerNum |
| TPckgBuf< TInt > | iUpdateSize |
| TPckgBuf< TInt > | iPeerHandSize |
| TPckgBuf< TInt > | iCardNum |
| TPckgBuf< TInt > | iOwnHandSize |
| TPckgBuf< TInt > | iAck |
| TPckgBuf< TInt > | iGameOverBuffer |
Protected Member Functions | |
| CScabbyQueenPlayer (CConsoleBase &aConsole, RSocket &aSocket) | |
| void | ConstructL () |
Definition at line 35 of file player.h.
| CScabbyQueenPlayer::~CScabbyQueenPlayer | ( | ) |
Destructor.
Definition at line 47 of file player.cpp.
| CScabbyQueenPlayer::CScabbyQueenPlayer | ( | CConsoleBase & | aConsole, | |
| RSocket & | aSocket | |||
| ) | [protected] |
Primary constructor.
Definition at line 37 of file player.cpp.
| CScabbyQueenPlayer * CScabbyQueenPlayer::NewL | ( | CConsoleBase & | aConsole, | |
| RSocket & | aSocket | |||
| ) | [static] |
CScabbyQueenPlayer NewL.
Definition at line 26 of file player.cpp.
| void CScabbyQueenPlayer::TimerComplete | ( | ) | [virtual] |
Function that will be called when the ack timer completes. If this is the case then we have experienced a timeout. Try to send again.
Implements CCardGamePlayer.
Definition at line 300 of file player.cpp.
| void CScabbyQueenPlayer::ShowHandL | ( | ) |
Function that displays the current hand.
Definition at line 358 of file player.cpp.
| void CScabbyQueenPlayer::GetRightHandPlayerCard | ( | ) |
Function that displays the cards available for taking to the receiver.
Definition at line 410 of file player.cpp.
| TInt CScabbyQueenPlayer::SendCardNum | ( | TInt | aCardNum | ) |
When a player is selected to be a receiver this function will send the card number that was selected by the user.
Definition at line 421 of file player.cpp.
| void CScabbyQueenPlayer::ConstructL | ( | ) | [protected] |
2nd constructor.
Definition at line 55 of file player.cpp.
1.5.3