\section{TPProto::Get\-Time Class Reference}
\label{classTPProto_1_1GetTime}\index{TPProto::GetTime@{TPProto::GetTime}}
A \doxyref{Frame}{p.}{classTPProto_1_1Frame} for getting the time remaining before the end of turn.  


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

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

\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
virtual {\bf $\sim$Get\-Time} ()\label{classTPProto_1_1GetTime_61d9be4bfbeaae4613f599fc19379531}

\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{Get\-Time}{p.}{classTPProto_1_1GetTime} \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 getting the time remaining before the end of turn. 



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


Pack this \doxyref{Get\-Time}{p.}{classTPProto_1_1GetTime} \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::GetTime@{TPProto::Get\-Time}!unpackBuffer@{unpackBuffer}}
\index{unpackBuffer@{unpackBuffer}!TPProto::GetTime@{TPProto::Get\-Time}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool TPProto::Get\-Time::unpack\-Buffer ({\bf Buffer} $\ast$ {\em buf})\hspace{0.3cm}{\tt  [virtual]}}\label{classTPProto_1_1GetTime_fb7653f9ed948042b935e3b903384b21}


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

Since \doxyref{Get\-Time}{p.}{classTPProto_1_1GetTime} 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 gettime.h}\item 
tpproto/gettime.cpp\end{CompactItemize}
