00001 //**************************************************************************** 00002 //* Author: Guillaume Plante 00008 //**************************************************************************** 00009 00010 00011 #ifndef __LADDERDEFINES_H__ 00012 #define __LADDERDEFINES_H__ 00013 00014 #include "define.h" 00015 #include "GSTypes.h" 00016 00017 #define LADDER_QUERY_VERSION 1 00018 00019 #define LADDER_NAME_LENGTH 1025 00020 #define LADDER_FIELDNAME_LENGTH 129 00021 #define LADDER_FIELDCAPTION_LENGTH 33 00022 #define LADDER_FIELDVALUE_LENGTH 129 00023 00024 00030 typedef enum 00031 { 00032 FILTER_EQUAL, 00033 FILTER_ABOVE, 00034 FILTER_BELOW 00035 } E_FILTER_OPERATOR; 00036 00045 typedef struct 00046 { 00047 GSchar szFieldName[LADDER_FIELDNAME_LENGTH]; 00048 E_FILTER_OPERATOR eOperator; 00049 GSint iValue; 00050 } LADDER_FILTER; 00051 00052 00060 struct LADDER_ROW 00061 { 00062 GSchar player[NAMELENGTH]; 00063 GSushort valueCount; 00064 GSint * values; 00065 }; 00066 00067 #endif //__LADDERDEFINES_H__
Ubi.com GameService SDK - ©UbiSoft Entertainment 2002
GameService development team