4 struct game_server
: igameserver
9 void deleteinfo(void *ci
);
11 void clientdisconnect(int n
);
12 int clientconnect(int n
, uint ip
);
13 void localdisconnect(int n
);
14 void localconnect(int n
);
15 const char *servername();
16 void parsepacket(int sender
, int chan
, bool reliable
, ucharbuf
&p
);
18 int welcomepacket(ucharbuf
&p
, int n
, ENetPacket
*packet
);
19 void serverinforeply(ucharbuf
&q
, ucharbuf
&p
);
20 void serverupdate(int lastmillis
, int totalmillis
);
21 bool servercompatible(char *name
, char *sdec
, char *map
, int ping
, const vector
<int> &attr
, int np
);
22 void serverinfostr(char *buf
, const char *name
, const char *desc
, const char *map
, int ping
, const vector
<int> &attr
, int np
);
25 const char *getdefaultmaster();
26 void sendservmsg(const char *s
);