Update inventory texture too
[oweals/minetest.git] / src / clientserver.h
index ef8188b2a44476acd8787db2d784b07aa924cb52..0d553f7697b1ccd7f077b465cf57ecb39a64bc44 100644 (file)
@@ -29,6 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
                Base for writing changes here
        PROTOCOL_VERSION 4:
                Add TOCLIENT_TOOLDEF
+               Add TOCLIENT_TEXTURES
 */
 
 #define PROTOCOL_VERSION 4
@@ -198,6 +199,18 @@ enum ToClientCommand
                serialized ToolDefManager
        */
        
+       TOCLIENT_TEXTURES = 0x39,
+       /*
+               u16 command
+               u32 number of textures
+               for each texture {
+                       u16 length of name
+                       string name
+                       u32 length of data
+                       data
+               }
+       */
+       
        //TOCLIENT_CONTENT_SENDING_MODE = 0x38,
        /*
                u16 command