From ecd5c5f9206437c320da029680cf1d053b644761 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 10 Aug 2011 21:43:40 +0200 Subject: Clients inform server on wielded item This is done with the new TOSERVER_PLAYERITEM message, that informs the server on the index of the wielded item. --- src/clientserver.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/clientserver.h') diff --git a/src/clientserver.h b/src/clientserver.h index 4981b7ea8..717e657b7 100644 --- a/src/clientserver.h +++ b/src/clientserver.h @@ -301,6 +301,14 @@ enum ToServerCommand [30] u8[28] new password */ + TOSERVER_PLAYERITEM=0x37, + /* + Sent to change selected item. + + [0] u16 TOSERVER_PLAYERITEM + [2] u16 item + */ + }; inline SharedBuffer makePacket_TOCLIENT_TIME_OF_DAY(u16 time) -- cgit v1.2.3