From a4361e2d585daa00b0480b7bb059ce1e47857288 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 8 Mar 2013 10:50:45 +0100 Subject: econproto: Add cmd with id 25 Unknown yet what it does, but its send by the client as last step of connection.. --- econproto.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/econproto.h b/econproto.h index 5fc99ab..8790310 100644 --- a/econproto.h +++ b/econproto.h @@ -187,8 +187,13 @@ typedef struct { uint16_t height; } e_command_cmd22; +typedef struct { + uint32_t unknown_field1; + uint32_t unknown_field2; +} e_command_cmd25; + -struct econ_header{ +struct econ_header { char magicnum[ECON_MAGICNUM_SIZE]; char version[ECON_PROTOVER_MAXLEN]; uint8_t IPaddress[ECON_IPADDRESS_SIZE]; @@ -196,7 +201,7 @@ struct econ_header{ uint32_t datasize; }; -struct econ_command{ +struct econ_command { uint8_t recordCount; uint8_t implicit_padding[3]; union e_commands { @@ -208,6 +213,7 @@ struct econ_command{ e_command_sendkey sendkey; e_command_cmd22 cmd22; + e_command_cmd25 cmd25; } command; }; -- cgit