| 1 |
|
//to client |
| 2 |
+ |
#include "Mariusnet_Public.h" |
| 3 |
|
enum |
| 4 |
|
{ |
| 5 |
|
pt_RoomList = 0x0000, |
| 176 |
|
|
| 177 |
|
typedef struct |
| 178 |
|
{ |
| 179 |
< |
short unknown16; |
| 180 |
< |
short type; |
| 181 |
< |
int options; |
| 182 |
< |
int timelimit; |
| 183 |
< |
int checksum; |
| 184 |
< |
short difficulty; |
| 185 |
< |
short maxplayers; |
| 185 |
< |
short teamrandomseed; |
| 186 |
< |
short maxteams; //-1 |
| 187 |
< |
int planningtime; |
| 188 |
< |
int unusedint; |
| 189 |
< |
int unusedint_2; |
| 190 |
< |
short unknown16_2; |
| 191 |
< |
short pluginflag; |
| 192 |
< |
char pluginlist[512]; |
| 193 |
< |
int clientversion;//0xc136e436 |
| 194 |
< |
int unknownint; |
| 195 |
< |
short status; |
| 196 |
< |
short numplayers; |
| 197 |
< |
char action; |
| 198 |
< |
char pad[3]; |
| 199 |
< |
char Buffer[128]; |
| 200 |
< |
} m_gamedescription; |
| 201 |
< |
|
| 202 |
< |
typedef struct |
| 203 |
< |
{ |
| 204 |
< |
short port; |
| 205 |
< |
short zero; |
| 206 |
< |
m_gamedescription g; |
| 207 |
< |
} m_announcegame; |
| 208 |
< |
|
| 209 |
< |
typedef struct |
| 210 |
< |
{ |
| 211 |
< |
unsigned int gameID; |
| 212 |
< |
unsigned int ipAddress; |
| 213 |
< |
unsigned short port; |
| 214 |
< |
unsigned char verb; |
| 215 |
< |
unsigned char gameEnable; |
| 216 |
< |
unsigned int timeRemaining; |
| 217 |
< |
unsigned int hostPlayerID; |
| 179 |
> |
unsigned int gameID; |
| 180 |
> |
unsigned int ipAddress; |
| 181 |
> |
unsigned short port; |
| 182 |
> |
unsigned char verb; |
| 183 |
> |
unsigned char gameEnable; |
| 184 |
> |
unsigned int timeRemaining; |
| 185 |
> |
unsigned int hostPlayerID; |
| 186 |
|
unsigned short len; |
| 187 |
< |
int unused1; |
| 187 |
> |
int unused1; |
| 188 |
|
int unused2; |
| 189 |
|
short pad; |
| 190 |
|
m_gamedescription g; |