TPProto::FinishedFrame Class Reference

A Frame for tell the server that the player has finished his/her turn. More...

#include <finished.h>

Inheritance diagram for TPProto::FinishedFrame:

TPProto::Frame List of all members.

Public Member Functions

 FinishedFrame ()
 Default constructor.
virtual ~FinishedFrame ()
 Required virtual destructor.
void packBuffer (Buffer *buf)
 Pack this FinishedFrame Frame into a Buffer.
bool unpackBuffer (Buffer *buf)
 Unpack from a Buffer, always false.

Detailed Description

A Frame for tell the server that the player has finished his/her turn.


Member Function Documentation

void TPProto::FinishedFrame::packBuffer ( Buffer buf  )  [virtual]

Pack this FinishedFrame Frame into a Buffer.

Parameters:
buf The Buffer to pack into.

Implements TPProto::Frame.

bool TPProto::FinishedFrame::unpackBuffer ( Buffer buf  )  [virtual]

Unpack from a Buffer, always false.

Since FinishedFrame frames are only sent to the server, we should not receive them and therefore this method always returns false.

Parameters:
buf The Buffer, ignored.
Returns:
False always.

Implements TPProto::Frame.


The documentation for this class was generated from the following files:
Generated on Tue Jan 6 08:30:47 2009 for libtpproto-cpp by  doxygen 1.5.1