Public Member Functions | |
~CScabbyQueenDealer () | |
virtual void | SendComplete (TInt aError) |
virtual void | RecvComplete (TInetAddr aRecvAddr, TInt aError) |
virtual void | TimerComplete () |
void | StartTheGame () |
void | DealDeckL () |
void | ShowDeckL () |
void | SendPlayerNumbers () |
Static Public Member Functions | |
static CScabbyQueenDealer * | NewL (CConsoleBase &aConsole, RArray< TInetAddr > &aRemoteNames, RSocket &aSocket) |
Public Attributes | |
TBool | iGameOver |
TPckgBuf< TGameStatus > | iGameStatus |
TPckgBuf< TInt > | iPlayerNum |
TInt | iCount |
TInt | iPlayerToken |
TInt | iSender |
TInt | iPlayerCount |
TInt | iResendCount |
TBuf8< 20 > | iPlayerUpdate |
TBuf8< 20 > | iOldPlayerUpdate |
TPckgBuf< TInt > | iUpdateSize |
TPckgBuf< TInt > | iSenderHandSize |
TPckgBuf< TInt > | iCardNum |
TPckgBuf< TInt > | iAck |
TPckgBuf< TInt > | iGameOverBuffer |
RArray< TInt > | iLostPlayers |
Protected Member Functions | |
CScabbyQueenDealer (CConsoleBase &aConsole, RArray< TInetAddr > &aRemoteNames, RSocket &aSocket) | |
void | ConstructL () |
Definition at line 34 of file dealer.h.
CScabbyQueenDealer::~CScabbyQueenDealer | ( | ) |
Destructor.
Definition at line 56 of file dealer.cpp.
CScabbyQueenDealer::CScabbyQueenDealer | ( | CConsoleBase & | aConsole, | |
RArray< TInetAddr > & | aRemoteNames, | |||
RSocket & | aSocket | |||
) | [protected] |
Primary constructor.
Definition at line 40 of file dealer.cpp.
CScabbyQueenDealer * CScabbyQueenDealer::NewL | ( | CConsoleBase & | aConsole, | |
RArray< TInetAddr > & | aRemoteNames, | |||
RSocket & | aSocket | |||
) | [static] |
CScabbyQueenDealer NewL.
Definition at line 28 of file dealer.cpp.
void CScabbyQueenDealer::SendComplete | ( | TInt | aError | ) | [virtual] |
THis function will be called each time a send has completed
Implements CCardGameDealer.
Definition at line 108 of file dealer.cpp.
void CScabbyQueenDealer::RecvComplete | ( | TInetAddr | aRecvAddr, | |
TInt | aError | |||
) | [virtual] |
Implementation of base class virtual function
Implements CCardGameDealer.
Definition at line 168 of file dealer.cpp.
void CScabbyQueenDealer::DealDeckL | ( | ) |
Function that will deal the deck out to the players.
Definition at line 97 of file dealer.cpp.
void CScabbyQueenDealer::ShowDeckL | ( | ) |
Function that displays the deck to the dealer.
Definition at line 234 of file dealer.cpp.
void CScabbyQueenDealer::SendPlayerNumbers | ( | ) |
Send out the player numbers
Definition at line 82 of file dealer.cpp.
void CScabbyQueenDealer::ConstructL | ( | ) | [protected] |
Secondary constructor.
Definition at line 66 of file dealer.cpp.