diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-13 03:17:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-04-15 21:27:39 +0300 |
commit | 35d1c082365b061d147b23b534f54a3a84904f7b (patch) | |
tree | 27d5990ea537d932115e7e2c0ad17cab2eb7a60d /src/common | |
parent | 563ddcf6da8b1c0b4bedb3417d8950e20b7c5a0d (diff) | |
download | hercules-35d1c082365b061d147b23b534f54a3a84904f7b.tar.gz hercules-35d1c082365b061d147b23b534f54a3a84904f7b.tar.bz2 hercules-35d1c082365b061d147b23b534f54a3a84904f7b.tar.xz hercules-35d1c082365b061d147b23b534f54a3a84904f7b.zip |
Improve get items from rodex
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/mmo.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h index 2fc464243..a29b0f2db 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -978,6 +978,11 @@ enum fame_list_type { RANKTYPE_PK = 3, //Not supported yet }; +struct rodex_item { + struct item item; + int idx; +}; + struct rodex_message { int64 id; int sender_id; @@ -987,10 +992,7 @@ struct rodex_message { char receiver_name[NAME_LENGTH]; char title[RODEX_TITLE_LENGTH]; char body[RODEX_BODY_LENGTH]; - struct { - struct item item; - int idx; - } items[RODEX_MAX_ITEM]; + struct rodex_item items[RODEX_MAX_ITEM]; int64 zeny; uint8 type; int8 opentype; |