From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/_net_auth_8h_source.html | 168 ++++++++++++++++++++++++++++++ 1 file changed, 168 insertions(+) create mode 100644 Doc/doxygen/html/_net_auth_8h_source.html (limited to 'Doc/doxygen/html/_net_auth_8h_source.html') diff --git a/Doc/doxygen/html/_net_auth_8h_source.html b/Doc/doxygen/html/_net_auth_8h_source.html new file mode 100644 index 0000000..568f03b --- /dev/null +++ b/Doc/doxygen/html/_net_auth_8h_source.html @@ -0,0 +1,168 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/Stars45/NetAuth.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
NetAuth.h
+
+
+Go to the documentation of this file.
1 /* Project Starshatter 4.5
+
2  Destroyer Studios LLC
+
3  Copyright © 1997-2004. All Rights Reserved.
+
4 
+
5  SUBSYSTEM: Stars.exe
+
6  FILE: NetAuth.h
+
7  AUTHOR: John DiCamillo
+
8 
+
9 
+
10  OVERVIEW
+
11  ========
+
12  This class authenticates a user connecting to the multiplayer lobby
+
13 */
+
14 
+
15 
+
16 #ifndef NetAuth_h
+
17 #define NetAuth_h
+
18 
+
19 #include "Types.h"
+
20 #include "NetAddr.h"
+
21 #include "NetLobby.h"
+
22 #include "Text.h"
+
23 
+
24 // +-------------------------------------------------------------------+
+
25 
+
26 class NetAuth
+
27 {
+
28 public:
+
29  enum AUTH_STATE {
+ + + +
33  };
+
34 
+
35  enum AUTH_LEVEL {
+ + + +
39  };
+
40 
+
41  static int AuthLevel();
+
42  static void SetAuthLevel(int n);
+
43 
+
44  static Text CreateAuthRequest(NetUser* u);
+
45  static Text CreateAuthResponse(int level, const char* salt);
+
46  static bool AuthUser(NetUser* u, Text response);
+
47 };
+
48 
+
49 // +-------------------------------------------------------------------+
+
50 
+
51 #endif NetAuth_h
+
+
+ + + + -- cgit v1.1