\section{TPProto::Finished\-Frame Class Reference}
\label{classTPProto_1_1FinishedFrame}\index{TPProto::FinishedFrame@{TPProto::FinishedFrame}}
A \doxyref{Frame}{p.}{classTPProto_1_1Frame} for tell the server that the player has finished his/her turn.  


{\tt \#include $<$finished.h$>$}

Inheritance diagram for TPProto::Finished\-Frame::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classTPProto_1_1FinishedFrame}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Finished\-Frame} ()\label{classTPProto_1_1FinishedFrame_1403add0cc2ac34a431d3cb7e4c08e79}

\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
virtual {\bf $\sim$Finished\-Frame} ()\label{classTPProto_1_1FinishedFrame_1871714dc8edb3071db2a573dcbf1015}

\begin{CompactList}\small\item\em Required virtual destructor. \item\end{CompactList}\item 
void {\bf pack\-Buffer} ({\bf Buffer} $\ast$buf)
\begin{CompactList}\small\item\em Pack this \doxyref{Finished\-Frame}{p.}{classTPProto_1_1FinishedFrame} \doxyref{Frame}{p.}{classTPProto_1_1Frame} into a \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}. \item\end{CompactList}\item 
bool {\bf unpack\-Buffer} ({\bf Buffer} $\ast$buf)
\begin{CompactList}\small\item\em Unpack from a \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}, always false. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
A \doxyref{Frame}{p.}{classTPProto_1_1Frame} for tell the server that the player has finished his/her turn. 



\subsection{Member Function Documentation}
\index{TPProto::FinishedFrame@{TPProto::Finished\-Frame}!packBuffer@{packBuffer}}
\index{packBuffer@{packBuffer}!TPProto::FinishedFrame@{TPProto::Finished\-Frame}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TPProto::Finished\-Frame::pack\-Buffer ({\bf Buffer} $\ast$ {\em buf})\hspace{0.3cm}{\tt  [virtual]}}\label{classTPProto_1_1FinishedFrame_fd219d8c2e1b882cd1d4aaac6ebaa2cb}


Pack this \doxyref{Finished\-Frame}{p.}{classTPProto_1_1FinishedFrame} \doxyref{Frame}{p.}{classTPProto_1_1Frame} into a \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em buf}]The \doxyref{Buffer}{p.}{classTPProto_1_1Buffer} to pack into. \end{description}
\end{Desc}


Implements {\bf TPProto::Frame} \doxyref{}{p.}{classTPProto_1_1Frame_67b50ee76e90385e56f04202ce1da67e}.\index{TPProto::FinishedFrame@{TPProto::Finished\-Frame}!unpackBuffer@{unpackBuffer}}
\index{unpackBuffer@{unpackBuffer}!TPProto::FinishedFrame@{TPProto::Finished\-Frame}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool TPProto::Finished\-Frame::unpack\-Buffer ({\bf Buffer} $\ast$ {\em buf})\hspace{0.3cm}{\tt  [virtual]}}\label{classTPProto_1_1FinishedFrame_1a1bd196938bb63bc9e16dd5ab2b2c96}


Unpack from a \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}, always false. 

Since \doxyref{Finished\-Frame}{p.}{classTPProto_1_1FinishedFrame} frames are only sent to the server, we should not receive them and therefore this method always returns false. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em buf}]The \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}, ignored. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]False always. \end{Desc}


Implements {\bf TPProto::Frame} \doxyref{}{p.}{classTPProto_1_1Frame_fe220a4229f471a3cc6a143f7a27e321}.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
tpproto/{\bf finished.h}\item 
tpproto/finished.cpp\end{CompactItemize}
