|
From: Audoux <au...@us...> - 2001-01-03 09:58:10
|
Update of /cvsroot/attal/src/common
In directory usw-pr-cvs1:/tmp/cvs-serv23449
Modified Files:
attalSocket.h
Log Message:
add sendConnectionId (give id to player)
Index: attalSocket.h
===================================================================
RCS file: /cvsroot/attal/src/common/attalSocket.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** attalSocket.h 2001/01/02 23:24:36 1.14
--- attalSocket.h 2001/01/03 09:58:08 1.15
***************
*** 69,72 ****
--- 69,73 ----
enum CLASS_CONNECT {
C_CONN_OK,
+ C_CONN_ID,
C_CONN_NAME,
C_CONN_PLAYER
***************
*** 144,147 ****
--- 145,151 ----
void sendConnectionOk() {
send2Arg( SO_CONNECT, C_CONN_OK );
+ }
+ void sendConnectionId( char id ) {
+ send3Arg( SO_CONNECT, C_CONN_ID, id );
}
void sendConnectionName( QString name ) {}
|