123
This commit is contained in:
@@ -0,0 +1,126 @@
|
||||
<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>LobbyDefines.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........: LobbyDefines.h</span>
|
||||
00006 <span class="comment"> * CREATION....: October 2001</span>
|
||||
00007 <span class="comment"> * AUTHOR......: GS Dev</span>
|
||||
00008 <span class="comment"> *</span>
|
||||
00009 <span class="comment"> * DESCRIPTION.: Miscelleanous definitions for the Lobby server </span>
|
||||
00010 <span class="comment"> *</span>
|
||||
00011 <span class="comment"> ******************************************************************************************EDOC***/</span>
|
||||
00012 <span class="preprocessor">#ifndef __LOBBYDEFINES_H__</span>
|
||||
00013 <span class="preprocessor"></span><span class="preprocessor">#define __LOBBYDEFINES_H__</span>
|
||||
00014 <span class="preprocessor"></span>
|
||||
00015 <span class="preprocessor">#include "GSTypes.h"</span>
|
||||
00016
|
||||
00017
|
||||
00018 <span class="comment">//-------------------- Group Type ------------------------------</span>
|
||||
00019 <span class="comment">// Constant ----> Name in gslobbyserver.conf</span>
|
||||
00020 <span class="keyword">const</span> GSushort LOBBY = 0; <span class="comment">//"LOBBY" </span>
|
||||
00021 <span class="keyword">const</span> GSushort ROOM_DIRECTPLAY_CLIENTSERVER = 1; <span class="comment">//"DIRECTPLAY_CLIENTSERVER"</span>
|
||||
00022 <span class="keyword">const</span> GSushort ROOM_DIRECTPLAY_P2P = 2; <span class="comment">//"DIRECTPLAY_P2P"</span>
|
||||
00023 <span class="keyword">const</span> GSushort ROOM_HYBRID = 3; <span class="comment">//"HYBRID"</span>
|
||||
00024 <span class="keyword">const</span> GSushort ROOM_HYBRID_REGSERVER = 4; <span class="comment">//"HYBRID_REGSERVER"</span>
|
||||
00025 <span class="keyword">const</span> GSushort ROOM_UBI_CLIENTHOST = 5; <span class="comment">//"UBI_CLIENTHOST"</span>
|
||||
00026 <span class="keyword">const</span> GSushort ROOM_UBI_CLIENTHOST_REGSERVER = 6; <span class="comment">//"UBI_CLIENTHOST_REGSERVER"</span>
|
||||
00027 <span class="keyword">const</span> GSushort ROOM_UBI_P2P = 7; <span class="comment">//"UBI_P2P"</span>
|
||||
00028 <span class="keyword">const</span> GSushort ROOM_UBI_GAMESERVER = 8; <span class="comment">//"UBI_GAMESERVER"</span>
|
||||
00029 <span class="keyword">const</span> GSushort ROOM_UBI_GAMESERVER_REGSERVER = 9; <span class="comment">//"UBI_GAMESERVER_REGSERVER"</span>
|
||||
00030 <span class="keyword">const</span> GSushort ROOM_REGSERVER = 10; <span class="comment">//"REGISTER_SERVER"</span>
|
||||
00031
|
||||
00032 <span class="comment">//------------------------ Group and Game Masks ------------------------------</span>
|
||||
00033 <span class="keyword">const</span> GSuint LSM_PRIVATE = 1 << 0; <span class="comment">//The group is protected by a password</span>
|
||||
00034 <span class="keyword">const</span> GSuint LSM_NEEDMASTER = 1 << 1; <span class="comment">//The group need a master </span>
|
||||
00035 <span class="keyword">const</span> GSuint LSM_ETERNEL = 1 << 2; <span class="comment">//The group is eternel ie when no player is on the group it is not deleted</span>
|
||||
00036 <span class="keyword">const</span> GSuint LSM_ACTIVE = 1 << 3; <span class="comment">//The game is started</span>
|
||||
00037 <span class="keyword">const</span> GSuint LSM_OPEN = 1 << 4; <span class="comment">//The group is open </span>
|
||||
00038 <span class="keyword">const</span> GSuint LSM_STARTABLE = 1 << 5; <span class="comment">//The group can be started </span>
|
||||
00039 <span class="keyword">const</span> GSuint LSM_MATCHACTIVE = 1 << 12; <span class="comment">//The match is started</span>
|
||||
00040
|
||||
00041 <span class="keyword">const</span> GSuint LSM_CREATE_SUBLOBBY = 1 << 9; <span class="comment">//Allow to create sublobby</span>
|
||||
00042 <span class="keyword">const</span> GSuint LSM_OPEN_WHEN_ACTIVE = 1 << 10; <span class="comment">//When the game is started the group is still open</span>
|
||||
00043 <span class="keyword">const</span> GSuint LSM_SCORES_SUBMISSION = 1 << 11; <span class="comment">//Allow score submission</span>
|
||||
00044 <span class="keyword">const</span> GSuint LSM_DEDICATEDSERVER = 1 << 14; <span class="comment">//The group represent a dedicated server </span>
|
||||
00045 <span class="keyword">const</span> GSuint LSM_REGISTERSERVER = 1 << 13;
|
||||
00046 <span class="keyword">const</span> GSuint LSM_JOINRULE = 1 << 15; <span class="comment">//The access to the group is protected by a rule ( use with passport )</span>
|
||||
00047 <span class="keyword">const</span> GSuint LSM_CREATERULE = 1 << 16; <span class="comment">//The group caretion is restricted by a rule ( use with passport )</span>
|
||||
00048
|
||||
00049
|
||||
00050 <span class="comment">//--------------- Join info Masks ----------------------------------------------------</span>
|
||||
00051 <span class="keyword">const</span> GSuint LSM_GROUPINFO = 1 << 6; <span class="comment">//Get the group info </span>
|
||||
00052 <span class="keyword">const</span> GSuint LSM_GROUPMEMBERS = 1 << 7; <span class="comment">//Get the group members </span>
|
||||
00053 <span class="keyword">const</span> GSuint LSM_CHILDGROUPINFO = 1 << 8; <span class="comment">//Get the childs group info</span>
|
||||
00054
|
||||
00055 <span class="keyword">const</span> GSuint LSM_ALLINFO = LSM_GROUPINFO | LSM_GROUPMEMBERS | LSM_CHILDGROUPINFO;
|
||||
00056
|
||||
00057 <span class="comment">//------------------- Player Status ----------------------------</span>
|
||||
00058 <span class="keyword">const</span> GSushort PS_SILENT = 1 << 0; <span class="comment">//The player is limited ( doesn't access to chat, page, etc ... )</span>
|
||||
00059 <span class="keyword">const</span> GSushort PS_GAMECONNECTED = 1 << 1; <span class="comment">//The player is playing a game</span>
|
||||
00060 <span class="keyword">const</span> GSushort PS_GAMEREADY = 1 << 2; <span class="comment">//not implemented yet</span>
|
||||
00061 <span class="keyword">const</span> GSushort PS_MATCHREADY = 1 << 3; <span class="comment">//not implemented yet </span>
|
||||
00062 <span class="keyword">const</span> GSushort PS_MATCHPLAYING = 1 << 4; <span class="comment">//The player is playing a match</span>
|
||||
00063
|
||||
00064 <span class="comment">//-------------------- error messages -------------------------</span>
|
||||
00065 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_UNKNOWNERROR = 0;
|
||||
00066 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_GROUPNOTEXIST = 1;
|
||||
00067 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_GAMENOTALLOWED = 2;
|
||||
00068 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_SPECTATORNOTALLOWED = 4;
|
||||
00069 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_NOMOREPLAYERS = 5;
|
||||
00070 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_NOMORESPECTATORS = 6;
|
||||
00071 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_NOMOREMEMBERS = 7;
|
||||
00072 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_MEMBERNOTREGISTERED = 8;
|
||||
00073 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_GAMEINPROGRESS = 9;
|
||||
00074 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_WRONGGAMEVERSION = 10;
|
||||
00075 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_PASSWORDNOTCORRECT = 11;
|
||||
00076 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_ALREADYINGROUP = 12;
|
||||
00077 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_NOTMASTER = 13;
|
||||
00078 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_NOTINGROUP = 14;
|
||||
00079 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_MINPLAYERSNOTREACH = 15;
|
||||
00080 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_CONNECTADDCONNECTION = 16;
|
||||
00081 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_CONNECTSENDLOGINMSG = 17;
|
||||
00082 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_ERRORLOGINMESSAGE = 18;
|
||||
00083 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_NOHOSTLOBBYSERVER = 19;
|
||||
00084 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_LOBBYSRVDISCONNECTED = 20;
|
||||
00085 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_INVALIDGROUPNAME = 21;
|
||||
00086 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_INVALIDGAMETYPE = 22;
|
||||
00087 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_NOMOREGAMEMODULE = 23;
|
||||
00088 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_CREATENOTALLOWED = 24;
|
||||
00089 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_GROUPCLOSE = 25;
|
||||
00090 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_WRONGGROUPTYPE = 26;
|
||||
00091 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_MEMBERNOTFOUND = 27;
|
||||
00092 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_MATCHNOTEXIST = 30;
|
||||
00093 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_MATCHNOTFINISHED = 31;
|
||||
00094 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_GAMENOTINITIATED = 32;
|
||||
00095 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_BEGINALREADYDONE = 33;
|
||||
00096 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_MATCHALREADYFINISHEDFORYOU = 34;
|
||||
00097 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_MATCHSCORESSUBMISSIONEVENTFAIL = 35;
|
||||
00098 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_MATCHSCORESSUBMISSIONALREDYSENT = 36;
|
||||
00099 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_MATCHRESULTSPROCESSNOTFINISHED = 37;
|
||||
00100 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_MEMBERBANNED = 38;
|
||||
00101 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_PASSPORTFAIL = 39;
|
||||
00102 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_NOTCREATOR = 40;
|
||||
00103 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_GAMENOTFINISHED = 41;
|
||||
00104 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_PASSPORTTIMEOUT = 42;
|
||||
00105 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_PASSPORTNOTFOUND = 43;
|
||||
00106 <span class="keyword">const</span> GSushort ERRORLOBBYSRV_GROUPALREADYEXIST = 44;
|
||||
00107
|
||||
00108 <span class="preprocessor">#endif</span>
|
||||
00109 <span class="preprocessor"></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