123
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
<HTML>
|
||||
|
||||
<HEAD>
|
||||
<TITLE>Ubi.com GameService SDK</TITLE>
|
||||
<LINK href="./gs-sdk-doc.css" rel="stylesheet" type="text/css">
|
||||
</HEAD>
|
||||
|
||||
<BODY >
|
||||
<!-- Generated by Doxygen 1.3.4 -->
|
||||
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
|
||||
<h1>CDKeyDefines.h</h1><div class="fragment"><pre>00001 <span class="comment">/***SDOC*******************************************************************************************</span>
|
||||
00002 <span class="comment"> * UbiSoft Network Development</span>
|
||||
00003 <span class="comment"> * ---------------------------</span>
|
||||
00004 <span class="comment"> *</span>
|
||||
00005 <span class="comment"> * FILE........: CDKeyDefines.h</span>
|
||||
00006 <span class="comment"> * CREATION....: May 2002</span>
|
||||
00007 <span class="comment"> * AUTHOR......: Guillaume Plante</span>
|
||||
00008 <span class="comment"> *</span>
|
||||
00009 <span class="comment"> * DESCRIPTION.: This file contains numeric definition for the CDKey-system size and error #</span>
|
||||
00010 <span class="comment"> *</span>
|
||||
00011 <span class="comment"> **************************************************************************************************</span>
|
||||
00012 <span class="comment"> * FILE HISTORY</span>
|
||||
00013 <span class="comment"> **************************************************************************************************</span>
|
||||
00014 <span class="comment"> *</span>
|
||||
00015 <span class="comment"> * DATE........: </span>
|
||||
00016 <span class="comment"> * AUTHOR......: </span>
|
||||
00017 <span class="comment"> * DESCRIPTION.: </span>
|
||||
00018 <span class="comment"> *</span>
|
||||
00019 <span class="comment"> ******************************************************************************************EDOC***/</span>
|
||||
00020
|
||||
00021
|
||||
00022 <span class="preprocessor">#ifndef _CDKEY_DEFINES_H_</span>
|
||||
00023 <span class="preprocessor"></span><span class="preprocessor">#define _CDKEY_DEFINES_H_</span>
|
||||
00024 <span class="preprocessor"></span>
|
||||
00025 <span class="preprocessor">#include "GSTypes.h"</span>
|
||||
00026
|
||||
00027 <span class="comment">//-------------------- player status ------------------------------</span>
|
||||
00028
|
||||
00029 <span class="keyword">enum</span> CDKEY_PLAYER_STATUS
|
||||
00030 {
|
||||
00031 E_PLAYER_UNKNOWN,
|
||||
00032 E_PLAYER_INVALID,
|
||||
00033 E_PLAYER_VALID
|
||||
00034 };
|
||||
00035
|
||||
00036 <span class="comment">//-------------------- defined sizes ------------------------------</span>
|
||||
00037
|
||||
00038 <span class="keyword">const</span> GSuint ACTIVATION_ID_SIZE = 16;
|
||||
00039 <span class="keyword">const</span> GSuint AUTHORIZATION_ID_SIZE = 20;
|
||||
00040 <span class="keyword">const</span> GSuint CDKEY_SIZE = 23;
|
||||
00041 <span class="keyword">const</span> GSuint CDKEY_ID_SIZE = 20;
|
||||
00042 <span class="keyword">const</span> GSuint CHALLENGE_SIZE = 5;
|
||||
00043 <span class="keyword">const</span> GSuint VALIDATION_KEY_SIZE = 20;
|
||||
00044 <span class="keyword">const</span> GSuint GLOBAL_ID_SIZE = 16;
|
||||
00045
|
||||
00046 <span class="comment">//-------------------- error codes --------------------------------</span>
|
||||
00047
|
||||
00048 <span class="keyword">const</span> GSushort ERRORCDKEY_SUCCESS = 0;
|
||||
00049 <span class="keyword">const</span> GSushort ERRORCDKEY_TIMEOUT = 1;
|
||||
00050 <span class="keyword">const</span> GSushort ERRORCDKEY_INVALID_CDKEY = 2;
|
||||
00051 <span class="keyword">const</span> GSushort ERRORCDKEY_NOT_CHALLENGED = 3;
|
||||
00052 <span class="keyword">const</span> GSushort ERRORCDKEY_ALREADY_ONLINE = 4;
|
||||
00053 <span class="keyword">const</span> GSushort ERRORCDKEY_INTERNAL_ERROR = 5;
|
||||
00054
|
||||
00055 <span class="preprocessor">#endif //_CDKEY_DEFINES_H_</span>
|
||||
</pre></div><hr>
|
||||
<p align="right">
|
||||
<i>Ubi.com GameService SDK - ©UbiSoft Entertainment 2002 </i><br>
|
||||
<i><a href="mailto:gsdevteam@ubisoft.com">GameService development team</a></i>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user