summaryrefslogtreecommitdiffhomepage
path: root/Doc/doxygen/html/_net_user_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/doxygen/html/_net_user_8h_source.html')
-rw-r--r--Doc/doxygen/html/_net_user_8h_source.html229
1 files changed, 229 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_net_user_8h_source.html b/Doc/doxygen/html/_net_user_8h_source.html
new file mode 100644
index 0000000..5aee4f6
--- /dev/null
+++ b/Doc/doxygen/html/_net_user_8h_source.html
@@ -0,0 +1,229 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<title>Starshatter_Open: D:/SRC/StarshatterSVN/Stars45/NetUser.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+ $(document).ready(initResizable);
+</script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/search.js"></script>
+<script type="text/javascript">
+ $(document).ready(function() { searchBox.OnSelectItem(0); });
+</script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">Starshatter_Open
+ </div>
+ <div id="projectbrief">Open source Starshatter engine</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.1 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+ <li><a href="annotated.html"><span>Classes</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="files.html"><span>File&#160;List</span></a></li>
+ <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+ </ul>
+ </div>
+</div><!-- top -->
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+ <div id="nav-tree">
+ <div id="nav-tree-contents">
+ </div>
+ </div>
+ <div id="splitbar" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
+ </div>
+</div>
+<script type="text/javascript">
+$(document).ready(function(){initNavTree('_net_user_8h.html','');});
+</script>
+<div id="doc-content">
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div class="header">
+ <div class="headertitle">
+<div class="title">NetUser.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="_net_user_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/* Project Starshatter 4.5</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> Destroyer Studios LLC</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> Copyright © 1997-2004. All Rights Reserved.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> SUBSYSTEM: Stars.exe</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> FILE: NetUser.h</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> AUTHOR: John DiCamillo</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> OVERVIEW</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> ========</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> This class represents a user connecting to the multiplayer lobby</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">*/</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifndef NetUser_h</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define NetUser_h</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_types_8h.html">Types.h</a>&quot;</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_net_addr_8h.html">NetAddr.h</a>&quot;</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_net_lobby_8h.html">NetLobby.h</a>&quot;</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_color_8h.html">Color.h</a>&quot;</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment">// +-------------------------------------------------------------------+</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">class </span><a class="code" href="class_player.html">Player</a>;</div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment">// +-------------------------------------------------------------------+</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div>
+<div class="line"><a name="l00030"></a><span class="lineno"><a class="code" href="class_net_user.html"> 30</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_net_user.html">NetUser</a></div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;{</div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">public</span>:</div>
+<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="class_net_user.html#a3900185ab1c2bf6dd02eb8535404f39a"> 33</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_net_user.html#a3900185ab1c2bf6dd02eb8535404f39a">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">&quot;NetUser&quot;</span>; }</div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <a class="code" href="class_net_user.html#a0909f6a3831ade5c8438fb690e71ae28">NetUser</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_net_user.html#a9f9ab52d2af494b95f343623923816b1">name</a>);</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <a class="code" href="class_net_user.html#a0909f6a3831ade5c8438fb690e71ae28">NetUser</a>(<span class="keyword">const</span> <a class="code" href="class_player.html">Player</a>* player);</div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keyword">virtual</span> <a class="code" href="class_net_user.html#ae139906142b09c66a71cd6b504dd3c6a">~NetUser</a>();</div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div>
+<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="class_net_user.html#ab83ff36fd7727cfe14feade34af238d3"> 39</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#ab83ff36fd7727cfe14feade34af238d3">operator == </a>(<span class="keyword">const</span> <a class="code" href="class_net_user.html">NetUser</a>&amp; u)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span> == &amp;u; }</div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div>
+<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="class_net_user.html#a7047a4b955b06f5a46c8a43c22dbe605"> 41</a></span>&#160; <span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp; <a class="code" href="class_net_user.html#a7047a4b955b06f5a46c8a43c22dbe605">Name</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#a9f9ab52d2af494b95f343623923816b1">name</a>; }</div>
+<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="class_net_user.html#a55b1177fc72c39247403e647c608d9b9"> 42</a></span>&#160; <span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp; <a class="code" href="class_net_user.html#a55b1177fc72c39247403e647c608d9b9">Pass</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#abd6525cc15ff989ecb3bacd78a16fad9">pass</a>; }</div>
+<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="class_net_user.html#a78d4d73a14d0880af4c9d374720cb7ab"> 43</a></span>&#160; <span class="keyword">const</span> <a class="code" href="class_net_addr.html">NetAddr</a>&amp; <a class="code" href="class_net_user.html#a78d4d73a14d0880af4c9d374720cb7ab">GetAddress</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#a18579470178e5995d52a6399387b02eb">addr</a>; }</div>
+<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="class_net_user.html#aab369636d0ddf0da20a6deec1c3213a6"> 44</a></span>&#160; <a class="code" href="class_color.html">Color</a> <a class="code" href="class_net_user.html#aab369636d0ddf0da20a6deec1c3213a6">GetColor</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#a4d3750f8b3499fabfb31a7873ac20d97">color</a>; }</div>
+<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="class_net_user.html#a62796b95fe0c60d0716cb975aa3f7a40"> 45</a></span>&#160; <span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp; <a class="code" href="class_net_user.html#a62796b95fe0c60d0716cb975aa3f7a40">GetSessionID</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#ae11557e7a3fc0ef5bb746b0615871942">session_id</a>; }</div>
+<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="class_net_user.html#a60151b27c8acfde50aa0fbf7c5ce3a71"> 46</a></span>&#160; DWORD <a class="code" href="class_net_user.html#a60151b27c8acfde50aa0fbf7c5ce3a71">GetNetID</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#ab4b905b95d138f475cde6663e53dcc70">netid</a>; }</div>
+<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="class_net_user.html#a56a04c21e7385b4c87e3666fe24c3f70"> 47</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_net_user.html#a56a04c21e7385b4c87e3666fe24c3f70">IsHost</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#af64458e21bca3a305bf2af6c6d488af2">host</a>; }</div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div>
+<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="class_net_user.html#ab730faba2f8833fb3183483b23f75047"> 49</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#ab730faba2f8833fb3183483b23f75047">AuthLevel</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#abb9d62f9a66a663affb8d1d9b8585344">auth_level</a>; }</div>
+<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="class_net_user.html#a695470834d3159e528fdcc6d7fe4536f"> 50</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#a695470834d3159e528fdcc6d7fe4536f">AuthState</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#acffb83554359e507c83691494e73b144">auth_state</a>; }</div>
+<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="class_net_user.html#a3cc7e18eab0e3dfb544d7096d4feb17a"> 51</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_net_user.html#a3cc7e18eab0e3dfb544d7096d4feb17a">Salt</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#a4b5852d963414e1c59a30397b49465c9">salt</a>; }</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_net_user.html#a9c0a1dc2bea6fcaf054faa9c8f40047d">IsAuthOK</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div>
+<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="class_net_user.html#a6a45f8327dfad3cf773e196bd49c7e8d"> 54</a></span>&#160; <span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp; <a class="code" href="class_net_user.html#a6a45f8327dfad3cf773e196bd49c7e8d">Squadron</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#ae484c742ad9c561393f7f93cd8fd6808">squadron</a>; }</div>
+<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="class_net_user.html#a3aaff5d9daf7a4e2fe05537a05769810"> 55</a></span>&#160; <span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp; <a class="code" href="class_net_user.html#a3aaff5d9daf7a4e2fe05537a05769810">Signature</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#a82fef35a66f2435485a5819b4d992150">signature</a>; }</div>
+<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="class_net_user.html#af622ea230b4417f12d7cec7b149f2566"> 56</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#af622ea230b4417f12d7cec7b149f2566">Rank</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#a09e6679d14cac6e9b8c22022151593ed">rank</a>; }</div>
+<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="class_net_user.html#a9e4259cb6b064dd38e469365c1cd4fcb"> 57</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#a9e4259cb6b064dd38e469365c1cd4fcb">FlightTime</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#ab04ba07a72b047b5ff2cbc98c497516b">flight_time</a>; }</div>
+<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="class_net_user.html#a435ac2f48188e645e51b3dfffd67e57b"> 58</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#a435ac2f48188e645e51b3dfffd67e57b">Missions</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#a60cc52df78af7925b081fe8009a1daee">missions</a>; }</div>
+<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="class_net_user.html#a1a4c197ff9375c54022255492300401f"> 59</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#a1a4c197ff9375c54022255492300401f">Kills</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#a8dcffb7e82c3db7ff65a35806789d3e6">kills</a>; }</div>
+<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="class_net_user.html#a0c9735bb6dda34c025ea976c4c865aff"> 60</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#a0c9735bb6dda34c025ea976c4c865aff">Losses</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_net_user.html#afb5b7c37519cd40be48435d5dd1be88d">losses</a>; }</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div>
+<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="class_net_user.html#ab8bc4d0f94ff2a7079be2aa7b486913c"> 62</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#ab8bc4d0f94ff2a7079be2aa7b486913c">SetName</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* n) { <a class="code" href="class_net_user.html#a9f9ab52d2af494b95f343623923816b1">name</a> = n; }</div>
+<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="class_net_user.html#a67fe9af78ef533c8191f292d2583a39a"> 63</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#a67fe9af78ef533c8191f292d2583a39a">SetPass</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* p) { <a class="code" href="class_net_user.html#abd6525cc15ff989ecb3bacd78a16fad9">pass</a> = p; }</div>
+<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="class_net_user.html#a220abac521827cce42f139a06d849a94"> 64</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#a220abac521827cce42f139a06d849a94">SetAddress</a>(<span class="keyword">const</span> <a class="code" href="class_net_addr.html">NetAddr</a>&amp; a)</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; { <a class="code" href="class_net_user.html#a18579470178e5995d52a6399387b02eb">addr</a> = a; }</div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
+<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="class_net_user.html#acdc85fd5e5ccd713d4a50905ff6ff8b0"> 67</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#acdc85fd5e5ccd713d4a50905ff6ff8b0">SetColor</a>(<a class="code" href="class_color.html">Color</a> c) { <a class="code" href="class_net_user.html#a4d3750f8b3499fabfb31a7873ac20d97">color</a> = c; }</div>
+<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="class_net_user.html#a1746c288756e515f08ed7204442ad671"> 68</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#a1746c288756e515f08ed7204442ad671">SetNetID</a>(DWORD <span class="keywordtype">id</span>) { <a class="code" href="class_net_user.html#ab4b905b95d138f475cde6663e53dcc70">netid</a> = id; }</div>
+<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="class_net_user.html#a5a56e5252aef38469ec5e45274ba8d57"> 69</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#a5a56e5252aef38469ec5e45274ba8d57">SetSessionID</a>(<a class="code" href="class_text.html">Text</a> s) { <a class="code" href="class_net_user.html#ae11557e7a3fc0ef5bb746b0615871942">session_id</a> = s; }</div>
+<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="class_net_user.html#a2bdac56e73c5518d93b325c8ec766bdf"> 70</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#a2bdac56e73c5518d93b325c8ec766bdf">SetHost</a>(<span class="keywordtype">bool</span> h) { <a class="code" href="class_net_user.html#af64458e21bca3a305bf2af6c6d488af2">host</a> = h; }</div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div>
+<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="class_net_user.html#a64f7637aeb0140ced4eae4643ad9f784"> 72</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#a64f7637aeb0140ced4eae4643ad9f784">SetAuthLevel</a>(<span class="keywordtype">int</span> n) { <a class="code" href="class_net_user.html#abb9d62f9a66a663affb8d1d9b8585344">auth_level</a> = n; }</div>
+<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="class_net_user.html#acb88100b95e9ac51fb7f87209ca1ceda"> 73</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#acb88100b95e9ac51fb7f87209ca1ceda">SetAuthState</a>(<span class="keywordtype">int</span> n) { <a class="code" href="class_net_user.html#acffb83554359e507c83691494e73b144">auth_state</a> = n; }</div>
+<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="class_net_user.html#a79a876ae09231115d1859c57f925e195"> 74</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#a79a876ae09231115d1859c57f925e195">SetSalt</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s) { strcpy_s(<a class="code" href="class_net_user.html#a4b5852d963414e1c59a30397b49465c9">salt</a>, s);}</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;</div>
+<div class="line"><a name="l00076"></a><span class="lineno"><a class="code" href="class_net_user.html#ad5589590c943f383ecaa262fb673eb9d"> 76</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#ad5589590c943f383ecaa262fb673eb9d">SetSquadron</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s) { <a class="code" href="class_net_user.html#ae484c742ad9c561393f7f93cd8fd6808">squadron</a> = s; }</div>
+<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="class_net_user.html#ae23f8978373e971726443beea00f5f21"> 77</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#ae23f8978373e971726443beea00f5f21">SetSignature</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s){ <a class="code" href="class_net_user.html#a82fef35a66f2435485a5819b4d992150">signature</a> = s; }</div>
+<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="class_net_user.html#a509374c5fe077df3fce43397cb49b4a8"> 78</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#a509374c5fe077df3fce43397cb49b4a8">SetRank</a>(<span class="keywordtype">int</span> n) { <a class="code" href="class_net_user.html#a09e6679d14cac6e9b8c22022151593ed">rank</a> = n; }</div>
+<div class="line"><a name="l00079"></a><span class="lineno"><a class="code" href="class_net_user.html#ab6026479b5c2a3c82a3a196b98cb1637"> 79</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#ab6026479b5c2a3c82a3a196b98cb1637">SetFlightTime</a>(<span class="keywordtype">int</span> n) { <a class="code" href="class_net_user.html#ab04ba07a72b047b5ff2cbc98c497516b">flight_time</a> = n;}</div>
+<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="class_net_user.html#a0d121333ba1a8faead6d1bad680ae2f7"> 80</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#a0d121333ba1a8faead6d1bad680ae2f7">SetMissions</a>(<span class="keywordtype">int</span> n) { <a class="code" href="class_net_user.html#a60cc52df78af7925b081fe8009a1daee">missions</a> = n; }</div>
+<div class="line"><a name="l00081"></a><span class="lineno"><a class="code" href="class_net_user.html#a70ac0aeb310603cd8dffba57d15d67e1"> 81</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#a70ac0aeb310603cd8dffba57d15d67e1">SetKills</a>(<span class="keywordtype">int</span> n) { <a class="code" href="class_net_user.html#a8dcffb7e82c3db7ff65a35806789d3e6">kills</a> = n; }</div>
+<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="class_net_user.html#a453274b215c0bed6a9090b8e9211fa3a"> 82</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_net_user.html#a453274b215c0bed6a9090b8e9211fa3a">SetLosses</a>(<span class="keywordtype">int</span> n) { <a class="code" href="class_net_user.html#afb5b7c37519cd40be48435d5dd1be88d">losses</a> = n; }</div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <a class="code" href="class_text.html">Text</a> <a class="code" href="class_net_user.html#ae7880a20ecd4c032c1c7b9af53dd0e42">GetDescription</a>();</div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="keyword">protected</span>:</div>
+<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="class_net_user.html#a9f9ab52d2af494b95f343623923816b1"> 87</a></span>&#160; <a class="code" href="class_text.html">Text</a> <a class="code" href="class_net_user.html#a9f9ab52d2af494b95f343623923816b1">name</a>;</div>
+<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="class_net_user.html#abd6525cc15ff989ecb3bacd78a16fad9"> 88</a></span>&#160; <a class="code" href="class_text.html">Text</a> <a class="code" href="class_net_user.html#abd6525cc15ff989ecb3bacd78a16fad9">pass</a>;</div>
+<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="class_net_user.html#ae11557e7a3fc0ef5bb746b0615871942"> 89</a></span>&#160; <a class="code" href="class_text.html">Text</a> <a class="code" href="class_net_user.html#ae11557e7a3fc0ef5bb746b0615871942">session_id</a>;</div>
+<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="class_net_user.html#a18579470178e5995d52a6399387b02eb"> 90</a></span>&#160; <a class="code" href="class_net_addr.html">NetAddr</a> <a class="code" href="class_net_user.html#a18579470178e5995d52a6399387b02eb">addr</a>;</div>
+<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="class_net_user.html#ab4b905b95d138f475cde6663e53dcc70"> 91</a></span>&#160; DWORD <a class="code" href="class_net_user.html#ab4b905b95d138f475cde6663e53dcc70">netid</a>;</div>
+<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="class_net_user.html#a4d3750f8b3499fabfb31a7873ac20d97"> 92</a></span>&#160; <a class="code" href="class_color.html">Color</a> <a class="code" href="class_net_user.html#a4d3750f8b3499fabfb31a7873ac20d97">color</a>;</div>
+<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="class_net_user.html#af64458e21bca3a305bf2af6c6d488af2"> 93</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_net_user.html#af64458e21bca3a305bf2af6c6d488af2">host</a>;</div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="comment">// authentication:</span></div>
+<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="class_net_user.html#acffb83554359e507c83691494e73b144"> 96</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#acffb83554359e507c83691494e73b144">auth_state</a>;</div>
+<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="class_net_user.html#abb9d62f9a66a663affb8d1d9b8585344"> 97</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#abb9d62f9a66a663affb8d1d9b8585344">auth_level</a>;</div>
+<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="class_net_user.html#a4b5852d963414e1c59a30397b49465c9"> 98</a></span>&#160; <span class="keywordtype">char</span> <a class="code" href="class_net_user.html#a4b5852d963414e1c59a30397b49465c9">salt</a>[33];</div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="comment">// stats:</span></div>
+<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="class_net_user.html#ae484c742ad9c561393f7f93cd8fd6808"> 101</a></span>&#160; <a class="code" href="class_text.html">Text</a> <a class="code" href="class_net_user.html#ae484c742ad9c561393f7f93cd8fd6808">squadron</a>;</div>
+<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="class_net_user.html#a82fef35a66f2435485a5819b4d992150"> 102</a></span>&#160; <a class="code" href="class_text.html">Text</a> <a class="code" href="class_net_user.html#a82fef35a66f2435485a5819b4d992150">signature</a>;</div>
+<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="class_net_user.html#a09e6679d14cac6e9b8c22022151593ed"> 103</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#a09e6679d14cac6e9b8c22022151593ed">rank</a>;</div>
+<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="class_net_user.html#ab04ba07a72b047b5ff2cbc98c497516b"> 104</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#ab04ba07a72b047b5ff2cbc98c497516b">flight_time</a>;</div>
+<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="class_net_user.html#a60cc52df78af7925b081fe8009a1daee"> 105</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#a60cc52df78af7925b081fe8009a1daee">missions</a>;</div>
+<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="class_net_user.html#a8dcffb7e82c3db7ff65a35806789d3e6"> 106</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#a8dcffb7e82c3db7ff65a35806789d3e6">kills</a>;</div>
+<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="class_net_user.html#afb5b7c37519cd40be48435d5dd1be88d"> 107</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_net_user.html#afb5b7c37519cd40be48435d5dd1be88d">losses</a>;</div>
+<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;};</div>
+<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;</div>
+<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="comment">// +-------------------------------------------------------------------+</span></div>
+<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div>
+<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<span class="preprocessor">#endif NetUser_h</span></div>
+</div><!-- fragment --></div><!-- contents -->
+</div><!-- doc-content -->
+<!-- start footer part -->
+<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
+ <ul>
+ <li class="navelem"><a class="el" href="dir_ea1b58c809a5070716d7c602998a95b0.html">Stars45</a></li><li class="navelem"><a class="el" href="_net_user_8h.html">NetUser.h</a></li>
+ <li class="footer">Generated on Tue Jun 5 2012 20:47:05 for Starshatter_Open by
+ <a href="http://www.doxygen.org/index.html">
+ <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
+ </ul>
+</div>
+</body>
+</html>