\hypertarget{classDevAIModule}{\section{\-Dev\-A\-I\-Module \-Class \-Reference}
\label{classDevAIModule}\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}}
}


{\ttfamily \#include $<$\-Dev\-A\-I\-Module.\-h$>$}



\-Inheritance diagram for \-Dev\-A\-I\-Module\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=178pt]{classDevAIModule__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-Dev\-A\-I\-Module\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=324pt]{classDevAIModule__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classDevAIModule_a1ad5e88eb350b4c47b0d21340e8f46ae}{on\-Start} ()
\item 
virtual void \hyperlink{classDevAIModule_aa4383d72f75c063d586e579de9d2329e}{on\-End} (bool is\-Winner)
\item 
virtual void \hyperlink{classDevAIModule_a5af26c60548d8a2251de012051e2d346}{on\-Frame} ()
\item 
virtual void \hyperlink{classDevAIModule_a9fad107633d2a85eac29666b8df3cdb0}{on\-Send\-Text} (std\-::string text)
\item 
virtual void \hyperlink{classDevAIModule_af4051673212fa4e2859def5865dcbcd5}{on\-Receive\-Text} (\hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player, std\-::string text)
\item 
virtual void \hyperlink{classDevAIModule_a914c1dafe3ea28f2aa44a3308c39d5c4}{on\-Player\-Left} (\hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player)
\item 
virtual void \hyperlink{classDevAIModule_a3bcd8351650c5bd56c9f18a30ff4c5a0}{on\-Nuke\-Detect} (\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} target)
\item 
virtual void \hyperlink{classDevAIModule_ab630728bc855997c5043223d82779166}{on\-Unit\-Discover} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
virtual void \hyperlink{classDevAIModule_a6fe4e5bd2b19116d913f361cdd03c1a0}{on\-Unit\-Evade} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
virtual void \hyperlink{classDevAIModule_ae8fc139763d56f13bb59be1661697bfb}{on\-Unit\-Show} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
virtual void \hyperlink{classDevAIModule_a8b11ebf77e4a3a80d2b3888a01d011e3}{on\-Unit\-Hide} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
virtual void \hyperlink{classDevAIModule_a35a55e69bc8cc32a98391f5f665cb5f7}{on\-Unit\-Create} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
virtual void \hyperlink{classDevAIModule_a215266413a7748e4fa0c28ae526de2f3}{on\-Unit\-Destroy} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
virtual void \hyperlink{classDevAIModule_af934129e8c3da22a48b14fe678142f63}{on\-Unit\-Morph} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
virtual void \hyperlink{classDevAIModule_a3b8f6c01dbe787268240dd3180aa0c99}{on\-Unit\-Renegade} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
virtual void \hyperlink{classDevAIModule_a378b88ee1dcae2c626e0b809285008bc}{on\-Save\-Game} (std\-::string game\-Name)
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$ \hyperlink{classDevAIModule_acd1009e8af603e4cf824af0b45a01244}{self}
\end{DoxyCompactItemize}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classDevAIModule_aa4383d72f75c063d586e579de9d2329e}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-End@{on\-End}}
\index{on\-End@{on\-End}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-End}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-End} (
\begin{DoxyParamCaption}
\item[{bool}]{is\-Winner}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_aa4383d72f75c063d586e579de9d2329e}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this at the end of the match. is\-Winner will be true if the \-A\-I\-Module won the game. \-If the game is a replay, is\-Winner will always be false. 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_a74ba6d08de9f7d4c4f8504ab32288d45}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.

\hypertarget{classDevAIModule_a5af26c60548d8a2251de012051e2d346}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Frame@{on\-Frame}}
\index{on\-Frame@{on\-Frame}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Frame}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Frame} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_a5af26c60548d8a2251de012051e2d346}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this on every logical frame in the game. 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_a4956c50e0d9d26128b34f679399fc89a}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.



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


\hypertarget{classDevAIModule_a3bcd8351650c5bd56c9f18a30ff4c5a0}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Nuke\-Detect@{on\-Nuke\-Detect}}
\index{on\-Nuke\-Detect@{on\-Nuke\-Detect}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Nuke\-Detect}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Nuke\-Detect} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_a3bcd8351650c5bd56c9f18a30ff4c5a0}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this when a nuclear launch has been detected. \-If the target position is visible, or if \-Complete \-Map \-Information is enabled, the target position will also be provided. \-If \-Complete \-Map \-Information is disabled and the target position is not visible, target will be set to \-Positions\-::\-Unknown. 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_ad04b2e1d279975c21b04ddea7cbeff31}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.

\hypertarget{classDevAIModule_a914c1dafe3ea28f2aa44a3308c39d5c4}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Player\-Left@{on\-Player\-Left}}
\index{on\-Player\-Left@{on\-Player\-Left}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Player\-Left}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Player\-Left} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_a914c1dafe3ea28f2aa44a3308c39d5c4}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this when a player leaves the game. 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_a9f52e00e397c49ffce2336046ef7a720}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.

\hypertarget{classDevAIModule_af4051673212fa4e2859def5865dcbcd5}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Receive\-Text@{on\-Receive\-Text}}
\index{on\-Receive\-Text@{on\-Receive\-Text}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Receive\-Text}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Receive\-Text} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player, }
\item[{std\-::string}]{text}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_af4051673212fa4e2859def5865dcbcd5}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this when another player sends a message. 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_a7b0b5cf5381adaa53ab25ba120d33d04}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.

\hypertarget{classDevAIModule_a378b88ee1dcae2c626e0b809285008bc}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Save\-Game@{on\-Save\-Game}}
\index{on\-Save\-Game@{on\-Save\-Game}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Save\-Game}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Save\-Game} (
\begin{DoxyParamCaption}
\item[{std\-::string}]{game\-Name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_a378b88ee1dcae2c626e0b809285008bc}


\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_abb8179f251b940bc6b98962678917dcf}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.

\hypertarget{classDevAIModule_a9fad107633d2a85eac29666b8df3cdb0}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Send\-Text@{on\-Send\-Text}}
\index{on\-Send\-Text@{on\-Send\-Text}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Send\-Text}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Send\-Text} (
\begin{DoxyParamCaption}
\item[{std\-::string}]{text}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_a9fad107633d2a85eac29666b8df3cdb0}
\-If \-Flag\-::\-User\-Input is enabled, \hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} will call this each time a user enters a message into the chat. 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_adce1b1bf1227d5353c32aa16b3728a1e}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.



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


\hypertarget{classDevAIModule_a1ad5e88eb350b4c47b0d21340e8f46ae}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Start@{on\-Start}}
\index{on\-Start@{on\-Start}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Start}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Start} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_a1ad5e88eb350b4c47b0d21340e8f46ae}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this at the start of a match. \-Typically an \-A\-I will execute set up code in this method (initialize data structures, load build orders, etc). 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_aa4a6794e0c2d130b9128524f065a4d53}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.

\hypertarget{classDevAIModule_a35a55e69bc8cc32a98391f5f665cb5f7}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Unit\-Create@{on\-Unit\-Create}}
\index{on\-Unit\-Create@{on\-Unit\-Create}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Unit\-Create}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Unit\-Create} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_a35a55e69bc8cc32a98391f5f665cb5f7}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this when a unit is created. \-Note that this is \-N\-O\-T called when a unit changes type (such as larva into egg or egg into drone). \-Building a refinery/assimilator/extractor will not produce an on\-Unit\-Create call since the vespene geyser changes to the unit type of the refinery/assimilator/extractor. \-If \-Complete \-Map \-Information is enabled, this will also be called for new units that are hidden by the fog of war. \-If the unit is visible upon creation, on\-Unit\-Show will be called shortly after on\-Unit\-Create is called. 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_aa445d7eba03ab515c7e6e6f23628e761}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.

\hypertarget{classDevAIModule_a215266413a7748e4fa0c28ae526de2f3}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Unit\-Destroy@{on\-Unit\-Destroy}}
\index{on\-Unit\-Destroy@{on\-Unit\-Destroy}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Unit\-Destroy}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Unit\-Destroy} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_a215266413a7748e4fa0c28ae526de2f3}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this when a unit dies or otherwise removed from the game (i.\-e. a mined out mineral patch). \-When a zerg drone becomes an extractor, the \-Vespene geyser changes to the \-Zerg \-Extractor type and the drone is removed. \-If \-Complete \-Map \-Information is enabled, this will also be called for units that are hidden by the fog of war. \-If a unit that was visible gets destroyed, on\-Unit\-Hide will be called right before on\-Unit\-Destroy is called. 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_a32637d3e091a5fe7ee53e2de6caccfb6}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.

\hypertarget{classDevAIModule_ab630728bc855997c5043223d82779166}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Unit\-Discover@{on\-Unit\-Discover}}
\index{on\-Unit\-Discover@{on\-Unit\-Discover}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Unit\-Discover}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Unit\-Discover} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_ab630728bc855997c5043223d82779166}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this when a unit becomes accessible. 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_a86ca402a6bcbaf24f74de56eb029207c}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.

\hypertarget{classDevAIModule_a6fe4e5bd2b19116d913f361cdd03c1a0}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Unit\-Evade@{on\-Unit\-Evade}}
\index{on\-Unit\-Evade@{on\-Unit\-Evade}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Unit\-Evade}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Unit\-Evade} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_a6fe4e5bd2b19116d913f361cdd03c1a0}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this when a unit becomes inaccessible. 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_a5bf90e6b75dbb65b646a9abd08ea8ed6}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.

\hypertarget{classDevAIModule_a8b11ebf77e4a3a80d2b3888a01d011e3}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Unit\-Hide@{on\-Unit\-Hide}}
\index{on\-Unit\-Hide@{on\-Unit\-Hide}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Unit\-Hide}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Unit\-Hide} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_a8b11ebf77e4a3a80d2b3888a01d011e3}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this right before a unit becomes invisible, so if you want your non-\/cheating \-A\-I to remember where it last saw a unit, this callback would be a good place to implement it. \-The complete map information flag has no effect on this callback. 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_a9e7912b7e12fcc4f89b79210e7030b8e}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.

\hypertarget{classDevAIModule_af934129e8c3da22a48b14fe678142f63}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Unit\-Morph@{on\-Unit\-Morph}}
\index{on\-Unit\-Morph@{on\-Unit\-Morph}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Unit\-Morph}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Unit\-Morph} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_af934129e8c3da22a48b14fe678142f63}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this when a unit changes type, such as from a \-Zerg \-Drone to a \-Zerg \-Hatchery, or from a \-Terran \-Siege \-Tank \-Tank \-Mode to \-Terran \-Siege \-Tank \-Siege \-Mode. \-This is not called when the type changes to or from \-Unit\-Types\-::\-Unknown (which happens when a unit becomes visible or invisible). 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_aa3ce746650e8071250b252d1de65140f}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.

\hypertarget{classDevAIModule_a3b8f6c01dbe787268240dd3180aa0c99}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Unit\-Renegade@{on\-Unit\-Renegade}}
\index{on\-Unit\-Renegade@{on\-Unit\-Renegade}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Unit\-Renegade}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Unit\-Renegade} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_a3b8f6c01dbe787268240dd3180aa0c99}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this when an accessible unit changes ownership. 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_ae84881637231279476fea62655965c99}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.

\hypertarget{classDevAIModule_ae8fc139763d56f13bb59be1661697bfb}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!on\-Unit\-Show@{on\-Unit\-Show}}
\index{on\-Unit\-Show@{on\-Unit\-Show}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{on\-Unit\-Show}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Dev\-A\-I\-Module\-::on\-Unit\-Show} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDevAIModule_ae8fc139763d56f13bb59be1661697bfb}
\hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} calls this the instant a previously invisible unit becomes visible. \-The complete map information flag has no effect on this callback. 

\-Reimplemented from \hyperlink{classBWAPI_1_1AIModule_ab12d4ed441c6f26e2b84237918f816e0}{\-B\-W\-A\-P\-I\-::\-A\-I\-Module}.



\subsection{\-Member \-Data \-Documentation}
\hypertarget{classDevAIModule_acd1009e8af603e4cf824af0b45a01244}{\index{\-Dev\-A\-I\-Module@{\-Dev\-A\-I\-Module}!self@{self}}
\index{self@{self}!DevAIModule@{\-Dev\-A\-I\-Module}}
\subsubsection[{self}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Player}$\ast$ {\bf \-Dev\-A\-I\-Module\-::self}}}\label{classDevAIModule_acd1009e8af603e4cf824af0b45a01244}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
trunk/bwapi/\-Dev\-A\-I\-Module/\-Source/\hyperlink{DevAIModule_8h}{\-Dev\-A\-I\-Module.\-h}\item 
trunk/bwapi/\-Dev\-A\-I\-Module/\-Source/\hyperlink{DevAIModule_8cpp}{\-Dev\-A\-I\-Module.\-cpp}\end{DoxyCompactItemize}
