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


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

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBWAPI_1_1Order_a14624417a600dba438f3974cc698276f}{\-Order} ()
\item 
\hyperlink{classBWAPI_1_1Order_a8283a6adfa0f01c90196d9c68ae2eec5}{\-Order} (int \hyperlink{classBWAPI_1_1Order_a5b821d2c2654840a7934dd938a1809ed}{id})
\item 
\hyperlink{classBWAPI_1_1Order_a628808cf4fe5e4ed76bdb4e1de9a661c}{\-Order} (const \hyperlink{classBWAPI_1_1Order}{\-Order} \&other)
\item 
\hyperlink{classBWAPI_1_1Order}{\-Order} \& \hyperlink{classBWAPI_1_1Order_ad4710c4fd21a9a040e4053a3da2fa4a7}{operator=} (const \hyperlink{classBWAPI_1_1Order}{\-Order} \&other)
\item 
\hyperlink{classBWAPI_1_1Order_a9c611422b9f58e06c1f67b32c8fa2740}{operator int} () const 
\item 
int \hyperlink{classBWAPI_1_1Order_ab12f618a2f5395f14bf9dc423177d73d}{get\-I\-D} () const 
\item 
std\-::string \hyperlink{classBWAPI_1_1Order_aecf2f51301c858b7f3f6aee0ca1ecab8}{get\-Name} () const 
\end{DoxyCompactItemize}
\subsection*{\-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{classBWAPI_1_1Order_a5b821d2c2654840a7934dd938a1809ed}{id}
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-To get detailed information about what a unit is doing, you can use the \hyperlink{classBWAPI_1_1Unit_a31b5096167e31ee85af6c6686956b8c1}{\-Unit\-::get\-Order} method, which will return an \hyperlink{classBWAPI_1_1Order}{\-Order} object. \-Note that a single command, like gather minerals, can consist of several orders ( \-Move\-To\-Minerals, \-Harvest\-Minerals2, \-Mining\-Minerals, \-Return\-Minerals, etc) which will indicate what state the unit is in while executing the command. \-For information about how to issue commands to units, go to \hyperlink{classBWAPI_1_1Unit}{\-Unit}. 

\-Definition at line 11 of file \-Order.\-h.



\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classBWAPI_1_1Order_a14624417a600dba438f3974cc698276f}{\index{\-B\-W\-A\-P\-I\-::\-Order@{\-B\-W\-A\-P\-I\-::\-Order}!\-Order@{\-Order}}
\index{\-Order@{\-Order}!BWAPI::Order@{\-B\-W\-A\-P\-I\-::\-Order}}
\subsubsection[{\-Order}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Order\-::\-Order} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Order_a14624417a600dba438f3974cc698276f}
\hypertarget{classBWAPI_1_1Order_a8283a6adfa0f01c90196d9c68ae2eec5}{\index{\-B\-W\-A\-P\-I\-::\-Order@{\-B\-W\-A\-P\-I\-::\-Order}!\-Order@{\-Order}}
\index{\-Order@{\-Order}!BWAPI::Order@{\-B\-W\-A\-P\-I\-::\-Order}}
\subsubsection[{\-Order}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Order\-::\-Order} (
\begin{DoxyParamCaption}
\item[{int}]{id}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Order_a8283a6adfa0f01c90196d9c68ae2eec5}
\hypertarget{classBWAPI_1_1Order_a628808cf4fe5e4ed76bdb4e1de9a661c}{\index{\-B\-W\-A\-P\-I\-::\-Order@{\-B\-W\-A\-P\-I\-::\-Order}!\-Order@{\-Order}}
\index{\-Order@{\-Order}!BWAPI::Order@{\-B\-W\-A\-P\-I\-::\-Order}}
\subsubsection[{\-Order}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Order\-::\-Order} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Order} \&}]{other}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Order_a628808cf4fe5e4ed76bdb4e1de9a661c}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBWAPI_1_1Order_ab12f618a2f5395f14bf9dc423177d73d}{\index{\-B\-W\-A\-P\-I\-::\-Order@{\-B\-W\-A\-P\-I\-::\-Order}!get\-I\-D@{get\-I\-D}}
\index{get\-I\-D@{get\-I\-D}!BWAPI::Order@{\-B\-W\-A\-P\-I\-::\-Order}}
\subsubsection[{get\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Order\-::get\-I\-D} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1Order_ab12f618a2f5395f14bf9dc423177d73d}
\-Returns the unique \-I\-D for this order. \hypertarget{classBWAPI_1_1Order_aecf2f51301c858b7f3f6aee0ca1ecab8}{\index{\-B\-W\-A\-P\-I\-::\-Order@{\-B\-W\-A\-P\-I\-::\-Order}!get\-Name@{get\-Name}}
\index{get\-Name@{get\-Name}!BWAPI::Order@{\-B\-W\-A\-P\-I\-::\-Order}}
\subsubsection[{get\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-B\-W\-A\-P\-I\-::\-Order\-::get\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1Order_aecf2f51301c858b7f3f6aee0ca1ecab8}
\-Returns the name of this order. \hypertarget{classBWAPI_1_1Order_a9c611422b9f58e06c1f67b32c8fa2740}{\index{\-B\-W\-A\-P\-I\-::\-Order@{\-B\-W\-A\-P\-I\-::\-Order}!operator int@{operator int}}
\index{operator int@{operator int}!BWAPI::Order@{\-B\-W\-A\-P\-I\-::\-Order}}
\subsubsection[{operator int}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Order\-::operator int (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1Order_a9c611422b9f58e06c1f67b32c8fa2740}
\hypertarget{classBWAPI_1_1Order_ad4710c4fd21a9a040e4053a3da2fa4a7}{\index{\-B\-W\-A\-P\-I\-::\-Order@{\-B\-W\-A\-P\-I\-::\-Order}!operator=@{operator=}}
\index{operator=@{operator=}!BWAPI::Order@{\-B\-W\-A\-P\-I\-::\-Order}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Order}\& \-B\-W\-A\-P\-I\-::\-Order\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Order} \&}]{other}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Order_ad4710c4fd21a9a040e4053a3da2fa4a7}


\subsection{\-Member \-Data \-Documentation}
\hypertarget{classBWAPI_1_1Order_a5b821d2c2654840a7934dd938a1809ed}{\index{\-B\-W\-A\-P\-I\-::\-Order@{\-B\-W\-A\-P\-I\-::\-Order}!id@{id}}
\index{id@{id}!BWAPI::Order@{\-B\-W\-A\-P\-I\-::\-Order}}
\subsubsection[{id}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Order\-::id}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classBWAPI_1_1Order_a5b821d2c2654840a7934dd938a1809ed}


\-Definition at line 26 of file \-Order.\-h.



\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\-Skynet/include/\-B\-W\-A\-P\-I/\hyperlink{Order_8h}{\-Order.\-h}\end{DoxyCompactItemize}
