\hypertarget{classBWAPI_1_1Server}{\section{\-B\-W\-A\-P\-I\-:\-:\-Server \-Class \-Reference}
\label{classBWAPI_1_1Server}\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}}
}


{\ttfamily \#include $<$\-Server.\-h$>$}



\-Collaboration diagram for \-B\-W\-A\-P\-I\-:\-:\-Server\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1Server__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBWAPI_1_1Server_a0a95672e113b6b1e20b7162119ee4ead}{\-Server} ()
\item 
\hyperlink{classBWAPI_1_1Server_a9af65b6360847e9f5b5a00e56e3d91ed}{$\sim$\-Server} ()
\item 
void \hyperlink{classBWAPI_1_1Server_aa22cb1082150967f92f9d292cb78a2e3}{update} ()
\item 
bool \hyperlink{classBWAPI_1_1Server_a5d32aaa5757162f50e140693ba72bba0}{is\-Connected} ()
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Server_a043322acede1e6675424d3d6101726d9}{add\-Event} (\hyperlink{classBWAPI_1_1Event}{\-B\-W\-A\-P\-I\-::\-Event} \hyperlink{sha1_8cpp_a270b1ecf56619755ce62f6970dfabc91}{e})
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Server_acb802eaf5374306f0bb5d27961a0ac1c}{add\-String} (const char $\ast$text)
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Server_acea50cb41750fa615d0d06c3c1954c1d}{get\-Force\-I\-D} (\hyperlink{classBWAPI_1_1Force}{\-Force} $\ast$force)
\item 
\hyperlink{classBWAPI_1_1Force}{\-Force} $\ast$ \hyperlink{classBWAPI_1_1Server_a7b9b09fb31f18d3f7d38a7a976c76490}{get\-Force} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} id)
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Server_a8ac80ceeb3ae8381e5d6d50bd50d470f}{get\-Player\-I\-D} (\hyperlink{classBWAPI_1_1Player}{\-Player} $\ast$player)
\item 
\hyperlink{classBWAPI_1_1Player}{\-Player} $\ast$ \hyperlink{classBWAPI_1_1Server_a218fa0968d7c13755ae42965808eef92}{get\-Player} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} id)
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Server_ab79e953904f35cd9a8d68e02d8a7267f}{get\-Unit\-I\-D} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$unit)
\item 
\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1Server_a5b962b290d8c4fecc56719e284995bfb}{get\-Unit} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} id)
\item 
void \hyperlink{classBWAPI_1_1Server_a5d48900c7f6482e187ec88a79d0bf6a5}{clear\-All} ()
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structBWAPI_1_1GameData}{\-Game\-Data} $\ast$ \hyperlink{classBWAPI_1_1Server_a6c95147599f891afd0e1bbc9e1bd048e}{data}
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classBWAPI_1_1Server_a0a95672e113b6b1e20b7162119ee4ead}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!\-Server@{\-Server}}
\index{\-Server@{\-Server}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{\-Server}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Server\-::\-Server} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Server_a0a95672e113b6b1e20b7162119ee4ead}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1Server_a0a95672e113b6b1e20b7162119ee4ead_cgraph}
\end{center}
\end{figure}


\hypertarget{classBWAPI_1_1Server_a9af65b6360847e9f5b5a00e56e3d91ed}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!$\sim$\-Server@{$\sim$\-Server}}
\index{$\sim$\-Server@{$\sim$\-Server}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{$\sim$\-Server}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Server\-::$\sim$\-Server} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Server_a9af65b6360847e9f5b5a00e56e3d91ed}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBWAPI_1_1Server_a043322acede1e6675424d3d6101726d9}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!add\-Event@{add\-Event}}
\index{add\-Event@{add\-Event}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{add\-Event}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Server\-::add\-Event} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Event}}]{e}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Server_a043322acede1e6675424d3d6101726d9}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1Server_a043322acede1e6675424d3d6101726d9_cgraph}
\end{center}
\end{figure}


\hypertarget{classBWAPI_1_1Server_acb802eaf5374306f0bb5d27961a0ac1c}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!add\-String@{add\-String}}
\index{add\-String@{add\-String}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{add\-String}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Server\-::add\-String} (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{text}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Server_acb802eaf5374306f0bb5d27961a0ac1c}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1Server_acb802eaf5374306f0bb5d27961a0ac1c_icgraph}
\end{center}
\end{figure}


\hypertarget{classBWAPI_1_1Server_a5d48900c7f6482e187ec88a79d0bf6a5}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!clear\-All@{clear\-All}}
\index{clear\-All@{clear\-All}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{clear\-All}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-B\-W\-A\-P\-I\-::\-Server\-::clear\-All} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Server_a5d48900c7f6482e187ec88a79d0bf6a5}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1Server_a5d48900c7f6482e187ec88a79d0bf6a5_icgraph}
\end{center}
\end{figure}


\hypertarget{classBWAPI_1_1Server_a7b9b09fb31f18d3f7d38a7a976c76490}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!get\-Force@{get\-Force}}
\index{get\-Force@{get\-Force}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{get\-Force}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Force} $\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Server\-::get\-Force} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{id}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Server_a7b9b09fb31f18d3f7d38a7a976c76490}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1Server_a7b9b09fb31f18d3f7d38a7a976c76490_icgraph}
\end{center}
\end{figure}


\hypertarget{classBWAPI_1_1Server_acea50cb41750fa615d0d06c3c1954c1d}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!get\-Force\-I\-D@{get\-Force\-I\-D}}
\index{get\-Force\-I\-D@{get\-Force\-I\-D}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{get\-Force\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Server\-::get\-Force\-I\-D} (
\begin{DoxyParamCaption}
\item[{{\bf \-Force} $\ast$}]{force}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Server_acea50cb41750fa615d0d06c3c1954c1d}
\hypertarget{classBWAPI_1_1Server_a218fa0968d7c13755ae42965808eef92}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!get\-Player@{get\-Player}}
\index{get\-Player@{get\-Player}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{get\-Player}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Player} $\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Server\-::get\-Player} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{id}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Server_a218fa0968d7c13755ae42965808eef92}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1Server_a218fa0968d7c13755ae42965808eef92_icgraph}
\end{center}
\end{figure}


\hypertarget{classBWAPI_1_1Server_a8ac80ceeb3ae8381e5d6d50bd50d470f}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!get\-Player\-I\-D@{get\-Player\-I\-D}}
\index{get\-Player\-I\-D@{get\-Player\-I\-D}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{get\-Player\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Server\-::get\-Player\-I\-D} (
\begin{DoxyParamCaption}
\item[{{\bf \-Player} $\ast$}]{player}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Server_a8ac80ceeb3ae8381e5d6d50bd50d470f}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1Server_a8ac80ceeb3ae8381e5d6d50bd50d470f_icgraph}
\end{center}
\end{figure}


\hypertarget{classBWAPI_1_1Server_a5b962b290d8c4fecc56719e284995bfb}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!get\-Unit@{get\-Unit}}
\index{get\-Unit@{get\-Unit}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{get\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit} $\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Server\-::get\-Unit} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{id}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Server_a5b962b290d8c4fecc56719e284995bfb}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1Server_a5b962b290d8c4fecc56719e284995bfb_icgraph}
\end{center}
\end{figure}


\hypertarget{classBWAPI_1_1Server_ab79e953904f35cd9a8d68e02d8a7267f}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!get\-Unit\-I\-D@{get\-Unit\-I\-D}}
\index{get\-Unit\-I\-D@{get\-Unit\-I\-D}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{get\-Unit\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Server\-::get\-Unit\-I\-D} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Server_ab79e953904f35cd9a8d68e02d8a7267f}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1Server_ab79e953904f35cd9a8d68e02d8a7267f_icgraph}
\end{center}
\end{figure}


\hypertarget{classBWAPI_1_1Server_a5d32aaa5757162f50e140693ba72bba0}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!is\-Connected@{is\-Connected}}
\index{is\-Connected@{is\-Connected}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{is\-Connected}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Server\-::is\-Connected} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Server_a5d32aaa5757162f50e140693ba72bba0}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1Server_a5d32aaa5757162f50e140693ba72bba0_icgraph}
\end{center}
\end{figure}


\hypertarget{classBWAPI_1_1Server_aa22cb1082150967f92f9d292cb78a2e3}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!update@{update}}
\index{update@{update}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-B\-W\-A\-P\-I\-::\-Server\-::update} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Server_aa22cb1082150967f92f9d292cb78a2e3}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1Server_aa22cb1082150967f92f9d292cb78a2e3_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1Server_aa22cb1082150967f92f9d292cb78a2e3_icgraph}
\end{center}
\end{figure}




\subsection{\-Member \-Data \-Documentation}
\hypertarget{classBWAPI_1_1Server_a6c95147599f891afd0e1bbc9e1bd048e}{\index{\-B\-W\-A\-P\-I\-::\-Server@{\-B\-W\-A\-P\-I\-::\-Server}!data@{data}}
\index{data@{data}!BWAPI::Server@{\-B\-W\-A\-P\-I\-::\-Server}}
\subsubsection[{data}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Game\-Data}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Server\-::data}}}\label{classBWAPI_1_1Server_a6c95147599f891afd0e1bbc9e1bd048e}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-B\-W\-A\-P\-I/\hyperlink{Server_8h}{\-Server.\-h}\item 
trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-B\-W\-A\-P\-I/\hyperlink{Server_8cpp}{\-Server.\-cpp}\end{DoxyCompactItemize}
