Main Page | Modules | File List | File Members

# define.h File Reference

Global defines. More...

`#include "GSTypes.h"`

Go to the source code of this file.

## Defines
#define | STOREDPROCLENGTH 30
#define | NICKNAMELENGTH 16
#define | FIRSTNAMELENGTH 33
#define | SURNAMELENGTH 33
#define | PASSWORDLENGTH 17
#define | ADDRESSLENGTH 129
#define | CITYLENGTH 33
#define | CODELENGTH 33
#define | EMAILLENGTH 129
#define | COMMENTSLENGTH 1025
#define | WEBPAGELENGTH 129
#define | GAMELENGTH 33
#define | IRCIDLENGTH 10
#define | NAMELENGTH 33
#define | COUNTRYLENGTH 65
#define | CHATLENGTH 1025
#define | IPADDRESSLENGTH 129
#define | IPDOTADDRESSLENGTH 16
#define | GAMELENGTH 33
#define | VERSIONLENGTH 33
#define | INFOLENGTH 1025
#define | FILELENGTH 129
#define | ARENALENGTH 33
#define | SESSIONLENGTH 33
#define | SCORELENGTH 129
#define | REASONLENGTH 129
#define | URLLENGTH 1025
#define | YESNOLENGTH 4
#define | MOTDLENGTH 513
#define | LANGUAGELENGTH 3
#define | GSSUCCESS 38
#define | GSFAIL 39
#define | GSPENDING 40
#define | CHARSIZE 1
#define | SHORTSIZE 2
#define | LONGSIZE 4
#define | PLAYERONLINE 0
#define | PLAYEROFFLINE 1
#define | PLAYERAWAY 2
#define | PLAYERBRB 3
#define | PLAYERINVISIBLE 6
#define | PLAYERCOREONLINE 7
#define | PLAYERINLOBBY 8
#define | PLAYERINROOM 9
#define | PLAYERINGAMEOPEN 10
#define | PLAYERINGAMECLOSE 11
#define | PLAYERSTATUSCOUNT 12
#define | PLAYERCORESTART 3000000
#define | PLAYERCOREEND 4999999
#define | ADDEDASFRIEND 0
#define | ADDEDASIGNOREE 1
#define | REMOVEDASIGNOREE 2
#define | ADMINPAGE 185
#define | MASK_PAGE (1L<<0)
#define | MASK_FILES (1L<<1)
#define | MASK_AUTOFILES (1L<<2)
#define | MASK_INVISIBLE (1L<<3)
#define | MASK_AWAY (1L<<4)
#define | MASKSESSIONNAME (1L<<0)
#define | MASKSCORE (1L<<2)
#define | MASKADDRESS (1L<<5)
#define | ERRORROUTER_UNKNOWNERROR 0
#define | ERRORROUTER_NOTREGISTERED 1
#define | ERRORROUTER_PASSWORDNOTCORRECT 2
#define | ERRORROUTER_NOTDISCONNECTED 3
#define | ERRORROUTER_ARENANOTAVAILABLE 4
#define | ERRORROUTER_FRIENDSNOTAVAILABLE 5
#define | ERRORROUTER_NAMEALREADYUSED 6
#define | ERRORROUTER_PLAYERNOTCONNECTED 7
#define | ERRORROUTER_PLAYERNOTREGISTERED 8
#define | ERRORROUTER_PLAYERCONNECTED 9
#define | ERRORROUTER_PLAYERALREADYREGISTERED 10
#define | ERRORROUTER_CLIENTVERSIONTOOOLD 11
#define | ERRORROUTER_DBINBACKUPMODE 12
#define | ERRORROUTER_DBPROBLEM 13
#define | ERRORROUTER_CLIENTINCOMPATIBLE 50
#define | ERRORFRIENDS_FRIENDNOTEXIST 14
#define | ERRORFRIENDS_NOTINARENA 15
#define | ERRORFRIENDS_PLAYERNOTONLINE 16
#define | ERRORFRIENDS_NOTINSESSION 17
#define | ERRORFRIENDS_PLAYERIGNORE 18
#define | ERRORFRIENDS_ALREADYCONNECTED 19
#define | ERRORFRIENDS_NOMOREPLAYERS 20
#define | ERRORFRIENDS_NOPLAYERSCORE 47
#define | ERRORFRIENDS_SEARCHPLAYERFINISHED 48
#define | ERRORFRIENDS_PLAYERSTATUSCOREONLINE 56
#define | ERRORARENA_SESSIONEXIST 21
#define | ERRORARENA_GAMENOTALLOWED 22
#define | ERRORARENA_NUMBERPLAYER 23
#define | ERRORARENA_NUMBERSPECTATOR 24
#define | ERRORARENA_VISITORNOTALLOWED 25
#define | ERRORARENA_NOTREGISTERED 26
#define | ERRORARENA_NOMOREPLAYERS 27
#define | ERRORARENA_NOMORESPECTATORS 28
#define | ERRORARENA_PLAYERNOTREGISTERED 29
#define | ERRORARENA_SESSIONNOTAVAILABLE 30
#define | ERRORARENA_SESSIONINPROCESS 31
#define | ERRORARENA_BADGAMEVERSION 32
#define | ERRORARENA_PASSWORDNOTCORRECT 33
#define | ERRORARENA_ALREADYINSESSION 34
#define | ERRORARENA_NOTMASTER 35
#define | ERRORARENA_NOTINSESSION 36
#define | ERRORARENA_MINPLAYERS 37
#define | ERRORARENA_ADMINGAMEDOESNOTEXIST 38
#define | ERRORARENA_ADMINSESSIONDOESNOTEXIST 39
#define | ERRORARENA_CONNECTADDCONNECTION 40
#define | ERRORARENA_CONNECTSENDLOGINMSG 41
#define | ERRORARENA_ERRORLOGINMESSAGE 42
#define | ERRORARENA_NOHOSTARENA 43
#define | ERRORARENA_ARENADISCONNECTED 44
#define | ERRORARENA_INVALIDGROUPNAME 45
#define | ERRORARENA_INVALIDGAMETYPE 46
#define | ERRORARENA_NOMOREGAMEMODULE 47
#define | ERRORARENA_PASSPORTLABELNOTFOUND 48
#define | ERRORARENA_PASSPORTFAIL 49
#define | ERRORARENA_CREATENOTALLOWED 50
#define | ERRORARENA_INVALIDSESSIONTYPE 51
#define | ERRORARENA_SESSIONCLOSE 52
#define | ERRORARENA_NOTCREATOR 53
#define | ERRORARENA_DEDICATEDSERVERONLY 54
#define | ERRORCLAN_INVALIDPROFILE 49
#define | ERROR_SERVICENOTAVAILABLE 55
#define | ERRLQS_DUPLICATEFIELD 60
#define | ERRLQS_DATABASEFAILURE 61
#define | ERRLQS_INTERNAL_OUTOFMEMORY 62
#define | ERRLQS_INTERNAL_WRONGRESULTVERSION 63
#define | ERRLQS_INTERNAL_BADRESULTFORMAT 64
#define | ERRSS_BADFORMAT 65
#define | ERRSS_DBFAILURE 66
#define | ERRSS_SUBMISSIONFAILED 67
#define | ERRSS_VALIDATIONFAILED 68
#define | ERROR_ROUTERCONNECTION -1
#define | ERROR_ARENACONNECTION -2
#define | ERROR_LOBBYSRVDISCONNECTED -3
#define | ERRORSECURE_USERNAMEEXISTS 1
#define | ERRORSECURE_USERNAMEMALFORMED 2
#define | ERRORSECURE_USERNAMEFORBIDDEN 3
#define | ERRORSECURE_INVALIDACCOUNT 4
#define | ERRORSECURE_USERNAMERESERVED 5
#define | ERRORSECURE_PASSWORDMALFORMED 11
#define | ERRORSECURE_PASSWORDFORBIDDEN 13
#define | ERRORSECURE_INVALIDPASSWORD 15
#define | ERRORSECURE_DATABASEFAILED 100
#define | ERRORSECURE_BANNEDACCOUNT 501
#define | ERRORSECURE_BLOCKEDACCOUNT 502
#define | ERRORSECURE_LOCKEDACCOUNT 512
## Variables
const GSuint | MASKPRIVATE = 0x00000001
const GSuint | MASKNEEDMASTER = 0x00000002
const GSuint | MASKETERNEL = 0x00000004
const GSuint | MASKACTIVE = 0x00000008
const GSuint | MASKOPEN = 0x00000010
const GSuint | STARTABLE = 0x00000020
const GSuint | MASKVISITOR = 0x00000040
const GSuint | DEFEREDSTARTGAME = 0x00000080
const GSuint | MASKPLAYERETERNEL = 0x00000100
const GSuint | MASKDEDICATEDSERVER = 0x00080000

## Detailed Description

This file defines all the global values used by the different Game Service SDKs.

Ubi.com GameService SDK - ©UbiSoft Entertainment 2002
GameService development team