|
@@ -145,7 +145,7 @@ enum packet_headers {
|
|
#else
|
|
#else
|
|
inventorylistnormalType = 0xa3,
|
|
inventorylistnormalType = 0xa3,
|
|
#endif
|
|
#endif
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
inventorylistequipType = 0xb39,
|
|
inventorylistequipType = 0xb39,
|
|
#elif PACKETVER_MAIN_NUM >= 20181002 || PACKETVER_RE_NUM >= 20180912 || PACKETVER_ZERO_NUM >= 20180919
|
|
#elif PACKETVER_MAIN_NUM >= 20181002 || PACKETVER_RE_NUM >= 20180912 || PACKETVER_ZERO_NUM >= 20180919
|
|
inventorylistequipType = 0xb0a,
|
|
inventorylistequipType = 0xb0a,
|
|
@@ -171,7 +171,7 @@ enum packet_headers {
|
|
#else
|
|
#else
|
|
storageListNormalType = 0xa5,
|
|
storageListNormalType = 0xa5,
|
|
#endif
|
|
#endif
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
storageListEquipType = 0xb39,
|
|
storageListEquipType = 0xb39,
|
|
#elif PACKETVER_MAIN_NUM >= 20181002 || PACKETVER_RE_NUM >= 20180829 || PACKETVER_ZERO_NUM >= 20180919
|
|
#elif PACKETVER_MAIN_NUM >= 20181002 || PACKETVER_RE_NUM >= 20180829 || PACKETVER_ZERO_NUM >= 20180919
|
|
storageListEquipType = 0xb0a,
|
|
storageListEquipType = 0xb0a,
|
|
@@ -197,7 +197,7 @@ enum packet_headers {
|
|
#else
|
|
#else
|
|
cartlistnormalType = 0x123,
|
|
cartlistnormalType = 0x123,
|
|
#endif
|
|
#endif
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
cartlistequipType = 0xb39,
|
|
cartlistequipType = 0xb39,
|
|
#elif PACKETVER_MAIN_NUM >= 20181002 || PACKETVER_RE_NUM >= 20180829 || PACKETVER_ZERO_NUM >= 20180919
|
|
#elif PACKETVER_MAIN_NUM >= 20181002 || PACKETVER_RE_NUM >= 20180829 || PACKETVER_ZERO_NUM >= 20180919
|
|
cartlistequipType = 0xb0a,
|
|
cartlistequipType = 0xb0a,
|
|
@@ -211,13 +211,6 @@ enum packet_headers {
|
|
cartlistequipType = 0x297,
|
|
cartlistequipType = 0x297,
|
|
#else
|
|
#else
|
|
cartlistequipType = 0x122,
|
|
cartlistequipType = 0x122,
|
|
-#endif
|
|
|
|
-#if PACKETVER < 20100105
|
|
|
|
- vendinglistType = 0x133,
|
|
|
|
-#elif !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
|
|
|
|
- vendinglistType = 0x800,
|
|
|
|
-#else
|
|
|
|
- vendinglistType = 0xb3d,
|
|
|
|
#endif
|
|
#endif
|
|
openvendingType = 0x136,
|
|
openvendingType = 0x136,
|
|
#if PACKETVER >= 20120925
|
|
#if PACKETVER >= 20120925
|
|
@@ -350,9 +343,9 @@ enum packet_headers {
|
|
#endif
|
|
#endif
|
|
};
|
|
};
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
DEFINE_PACKET_ID(ZC_PAR_4JOB_CHANGE, 0x0b25);
|
|
DEFINE_PACKET_ID(ZC_PAR_4JOB_CHANGE, 0x0b25);
|
|
-#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
|
|
#if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
|
|
#if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
|
|
#pragma pack(push, 1)
|
|
#pragma pack(push, 1)
|
|
@@ -482,9 +475,9 @@ struct EQUIPITEM_INFO {
|
|
#if PACKETVER < 20120925
|
|
#if PACKETVER < 20120925
|
|
uint8 IsDamaged;
|
|
uint8 IsDamaged;
|
|
#endif
|
|
#endif
|
|
-#if !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
|
|
|
|
|
|
+#if !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024)
|
|
uint8 RefiningLevel;
|
|
uint8 RefiningLevel;
|
|
-#endif // !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
|
|
|
|
|
|
+#endif // !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024)
|
|
struct EQUIPSLOTINFO slot;
|
|
struct EQUIPSLOTINFO slot;
|
|
#if PACKETVER >= 20071002
|
|
#if PACKETVER >= 20071002
|
|
int32 HireExpireDate;
|
|
int32 HireExpireDate;
|
|
@@ -499,10 +492,10 @@ struct EQUIPITEM_INFO {
|
|
uint8 option_count;
|
|
uint8 option_count;
|
|
struct ItemOptions option_data[MAX_ITEM_OPTIONS];
|
|
struct ItemOptions option_data[MAX_ITEM_OPTIONS];
|
|
#endif
|
|
#endif
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
uint8 RefiningLevel;
|
|
uint8 RefiningLevel;
|
|
- uint8 enchantgrade;
|
|
|
|
-#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+ uint8 grade;
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
#if PACKETVER >= 20120925
|
|
#if PACKETVER >= 20120925
|
|
struct {
|
|
struct {
|
|
uint8 IsIdentified : 1;
|
|
uint8 IsIdentified : 1;
|
|
@@ -555,9 +548,9 @@ struct PACKET_ZC_ITEM_PICKUP_ACK {
|
|
#endif
|
|
#endif
|
|
uint8 IsIdentified;
|
|
uint8 IsIdentified;
|
|
uint8 IsDamaged;
|
|
uint8 IsDamaged;
|
|
-#if !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
|
|
|
|
|
|
+#if !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024)
|
|
uint8 refiningLevel;
|
|
uint8 refiningLevel;
|
|
-#endif // !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
|
|
|
|
|
|
+#endif // !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024)
|
|
struct EQUIPSLOTINFO slot;
|
|
struct EQUIPSLOTINFO slot;
|
|
#if PACKETVER >= 20120925
|
|
#if PACKETVER >= 20120925
|
|
uint32 location;
|
|
uint32 location;
|
|
@@ -579,13 +572,13 @@ struct PACKET_ZC_ITEM_PICKUP_ACK {
|
|
uint8 favorite;
|
|
uint8 favorite;
|
|
uint16 look;
|
|
uint16 look;
|
|
#endif
|
|
#endif
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
uint8 refiningLevel;
|
|
uint8 refiningLevel;
|
|
uint8 grade;
|
|
uint8 grade;
|
|
-#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
DEFINE_PACKET_HEADER(ZC_ITEM_PICKUP_ACK, 0x0b41);
|
|
DEFINE_PACKET_HEADER(ZC_ITEM_PICKUP_ACK, 0x0b41);
|
|
#elif PACKETVER >= 20160921
|
|
#elif PACKETVER >= 20160921
|
|
DEFINE_PACKET_HEADER(ZC_ITEM_PICKUP_ACK, 0x0a37);
|
|
DEFINE_PACKET_HEADER(ZC_ITEM_PICKUP_ACK, 0x0a37);
|
|
@@ -1311,7 +1304,7 @@ struct packet_unequipitem_ack {
|
|
uint8 result;
|
|
uint8 result;
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_EQUIPWIN_MICROSCOPE {
|
|
struct PACKET_ZC_EQUIPWIN_MICROSCOPE {
|
|
int16 PacketType;
|
|
int16 PacketType;
|
|
int16 PacketLength;
|
|
int16 PacketLength;
|
|
@@ -1524,7 +1517,7 @@ struct PACKET_CZ_NPC_MARKET_PURCHASE {
|
|
DEFINE_PACKET_HEADER(CZ_NPC_MARKET_PURCHASE, 0x09d6)
|
|
DEFINE_PACKET_HEADER(CZ_NPC_MARKET_PURCHASE, 0x09d6)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_NPC_MARKET_OPEN_sub {
|
|
struct PACKET_ZC_NPC_MARKET_OPEN_sub {
|
|
#if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114
|
|
#if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114
|
|
uint32 nameid;
|
|
uint32 nameid;
|
|
@@ -1741,7 +1734,7 @@ struct PACKET_CZ_ADD_ITEM_TO_MAIL {
|
|
// [4144] this packet exists from
|
|
// [4144] this packet exists from
|
|
// PACKETVER_MAIN_NUM >= 20141112 || PACKETVER_RE_NUM >= 20140924 || defined(PACKETVER_ZERO)
|
|
// PACKETVER_MAIN_NUM >= 20141112 || PACKETVER_RE_NUM >= 20140924 || defined(PACKETVER_ZERO)
|
|
// but used only packet versions with known struct
|
|
// but used only packet versions with known struct
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_ACK_ADD_ITEM_RODEX {
|
|
struct PACKET_ZC_ACK_ADD_ITEM_RODEX {
|
|
int16 PacketType;
|
|
int16 PacketType;
|
|
int8 result;
|
|
int8 result;
|
|
@@ -1924,7 +1917,7 @@ struct PACKET_CZ_REQ_READ_MAIL {
|
|
int64 MailID;
|
|
int64 MailID;
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_ACK_READ_RODEX_SUB {
|
|
struct PACKET_ZC_ACK_READ_RODEX_SUB {
|
|
int16 count;
|
|
int16 count;
|
|
#if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114
|
|
#if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114
|
|
@@ -2259,14 +2252,14 @@ struct PACKET_ZC_UI_OPEN {
|
|
DEFINE_PACKET_HEADER(ZC_UI_OPEN, 0x0a38);
|
|
DEFINE_PACKET_HEADER(ZC_UI_OPEN, 0x0a38);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_UI_OPEN2 {
|
|
struct PACKET_ZC_UI_OPEN2 {
|
|
int16 PacketType;
|
|
int16 PacketType;
|
|
int8 UIType;
|
|
int8 UIType;
|
|
int64 data;
|
|
int64 data;
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(ZC_UI_OPEN2, 0x0b9a);
|
|
DEFINE_PACKET_HEADER(ZC_UI_OPEN2, 0x0b9a);
|
|
-#endif // PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
|
|
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
|
|
struct PACKET_ZC_UI_ACTION {
|
|
struct PACKET_ZC_UI_ACTION {
|
|
int16 PacketType;
|
|
int16 PacketType;
|
|
@@ -2370,7 +2363,7 @@ struct PACKET_ZC_ITEM_ENTRY {
|
|
uint8 subY;
|
|
uint8 subY;
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_ADD_ITEM_TO_STORE {
|
|
struct PACKET_ZC_ADD_ITEM_TO_STORE {
|
|
int16 packetType;
|
|
int16 packetType;
|
|
int16 index;
|
|
int16 index;
|
|
@@ -2386,7 +2379,7 @@ struct PACKET_ZC_ADD_ITEM_TO_STORE {
|
|
struct EQUIPSLOTINFO slot;
|
|
struct EQUIPSLOTINFO slot;
|
|
struct ItemOptions option_data[MAX_ITEM_OPTIONS];
|
|
struct ItemOptions option_data[MAX_ITEM_OPTIONS];
|
|
uint8 refine;
|
|
uint8 refine;
|
|
- uint8 enchantgrade;
|
|
|
|
|
|
+ uint8 grade;
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(ZC_ADD_ITEM_TO_STORE, 0x0b44)
|
|
DEFINE_PACKET_HEADER(ZC_ADD_ITEM_TO_STORE, 0x0b44)
|
|
#elif PACKETVER_MAIN_NUM >= 20140813 || PACKETVER_RE_NUM >= 20140402 || defined(PACKETVER_ZERO)
|
|
#elif PACKETVER_MAIN_NUM >= 20140813 || PACKETVER_RE_NUM >= 20140402 || defined(PACKETVER_ZERO)
|
|
@@ -2467,7 +2460,7 @@ struct PACKET_ZC_ACK_TOUSESKILL {
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(ZC_ACK_TOUSESKILL, 0x0110)
|
|
DEFINE_PACKET_HEADER(ZC_ACK_TOUSESKILL, 0x0110)
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_ADD_ITEM_TO_CART {
|
|
struct PACKET_ZC_ADD_ITEM_TO_CART {
|
|
int16 packetType;
|
|
int16 packetType;
|
|
int16 index;
|
|
int16 index;
|
|
@@ -2628,9 +2621,9 @@ struct PACKET_ZC_ADD_EXCHANGE_ITEM {
|
|
#endif
|
|
#endif
|
|
uint8 identified;
|
|
uint8 identified;
|
|
uint8 damaged;
|
|
uint8 damaged;
|
|
-#if !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
|
|
|
|
|
|
+#if !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024)
|
|
uint8 refine;
|
|
uint8 refine;
|
|
-#endif // !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
|
|
|
|
|
|
+#endif // !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024)
|
|
struct EQUIPSLOTINFO slot;
|
|
struct EQUIPSLOTINFO slot;
|
|
#if PACKETVER >= 20150226
|
|
#if PACKETVER >= 20150226
|
|
struct ItemOptions option_data[MAX_ITEM_OPTIONS];
|
|
struct ItemOptions option_data[MAX_ITEM_OPTIONS];
|
|
@@ -2639,13 +2632,13 @@ struct PACKET_ZC_ADD_EXCHANGE_ITEM {
|
|
uint32 location;
|
|
uint32 location;
|
|
uint16 look;
|
|
uint16 look;
|
|
#endif // PACKETVER_MAIN_NUM >= 20161102 || PACKETVER_RE_NUM >= 20161026 || defined(PACKETVER_ZERO)
|
|
#endif // PACKETVER_MAIN_NUM >= 20161102 || PACKETVER_RE_NUM >= 20161026 || defined(PACKETVER_ZERO)
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
uint8 refine;
|
|
uint8 refine;
|
|
uint8 grade;
|
|
uint8 grade;
|
|
-#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
DEFINE_PACKET_HEADER(ZC_ADD_EXCHANGE_ITEM, 0x0b42);
|
|
DEFINE_PACKET_HEADER(ZC_ADD_EXCHANGE_ITEM, 0x0b42);
|
|
#elif PACKETVER_MAIN_NUM >= 20161102 || PACKETVER_RE_NUM >= 20161026 || defined(PACKETVER_ZERO)
|
|
#elif PACKETVER_MAIN_NUM >= 20161102 || PACKETVER_RE_NUM >= 20161026 || defined(PACKETVER_ZERO)
|
|
DEFINE_PACKET_HEADER(ZC_ADD_EXCHANGE_ITEM, 0x0a96);
|
|
DEFINE_PACKET_HEADER(ZC_ADD_EXCHANGE_ITEM, 0x0a96);
|
|
@@ -2677,7 +2670,7 @@ struct PACKET_ZC_CASH_ITEM_DELETE {
|
|
#endif
|
|
#endif
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_ITEM_PICKUP_PARTY {
|
|
struct PACKET_ZC_ITEM_PICKUP_PARTY {
|
|
int16 packetType;
|
|
int16 packetType;
|
|
uint32 AID;
|
|
uint32 AID;
|
|
@@ -2742,7 +2735,7 @@ struct PACKET_ZC_ACK_WEAPONREFINE {
|
|
#endif
|
|
#endif
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20210303 || PACKETVER_RE_NUM >= 20211103
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20210303 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
// PACKET_ZC_PROPERTY_HOMUN4
|
|
// PACKET_ZC_PROPERTY_HOMUN4
|
|
struct PACKET_ZC_PROPERTY_HOMUN {
|
|
struct PACKET_ZC_PROPERTY_HOMUN {
|
|
int16 packetType;
|
|
int16 packetType;
|
|
@@ -2927,7 +2920,7 @@ struct REPAIRITEM_INFO2 {
|
|
uint8 refine; // unused?
|
|
uint8 refine; // unused?
|
|
struct EQUIPSLOTINFO slot; // unused?
|
|
struct EQUIPSLOTINFO slot; // unused?
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
-#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
|
|
struct REPAIRITEM_INFO1 {
|
|
struct REPAIRITEM_INFO1 {
|
|
int16 index;
|
|
int16 index;
|
|
@@ -2996,7 +2989,7 @@ struct PACKET_ZC_ACK_SCHEDULER_CASHITEM {
|
|
struct PACKET_ZC_ACK_SCHEDULER_CASHITEM_sub items[];
|
|
struct PACKET_ZC_ACK_SCHEDULER_CASHITEM_sub items[];
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_PC_PURCHASE_MYITEMLIST_sub {
|
|
struct PACKET_ZC_PC_PURCHASE_MYITEMLIST_sub {
|
|
uint32 price;
|
|
uint32 price;
|
|
int16 index;
|
|
int16 index;
|
|
@@ -3021,7 +3014,7 @@ struct PACKET_ZC_PC_PURCHASE_MYITEMLIST {
|
|
struct PACKET_ZC_PC_PURCHASE_MYITEMLIST_sub items[];
|
|
struct PACKET_ZC_PC_PURCHASE_MYITEMLIST_sub items[];
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(ZC_PC_PURCHASE_MYITEMLIST, 0x0b40);
|
|
DEFINE_PACKET_HEADER(ZC_PC_PURCHASE_MYITEMLIST, 0x0b40);
|
|
-#else // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#else // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_PC_PURCHASE_MYITEMLIST_sub {
|
|
struct PACKET_ZC_PC_PURCHASE_MYITEMLIST_sub {
|
|
uint32 price;
|
|
uint32 price;
|
|
int16 index;
|
|
int16 index;
|
|
@@ -3047,9 +3040,9 @@ struct PACKET_ZC_PC_PURCHASE_MYITEMLIST {
|
|
struct PACKET_ZC_PC_PURCHASE_MYITEMLIST_sub items[];
|
|
struct PACKET_ZC_PC_PURCHASE_MYITEMLIST_sub items[];
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(ZC_PC_PURCHASE_MYITEMLIST, 0x0136);
|
|
DEFINE_PACKET_HEADER(ZC_PC_PURCHASE_MYITEMLIST, 0x0136);
|
|
-#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_PC_PURCHASE_ITEMLIST_sub {
|
|
struct PACKET_ZC_PC_PURCHASE_ITEMLIST_sub {
|
|
#if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114
|
|
#if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114
|
|
uint32 itemId;
|
|
uint32 itemId;
|
|
@@ -3140,7 +3133,7 @@ struct PACKET_ZC_MYITEMLIST_BUYING_STORE {
|
|
struct PACKET_ZC_MYITEMLIST_BUYING_STORE_sub items[];
|
|
struct PACKET_ZC_MYITEMLIST_BUYING_STORE_sub items[];
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_PC_PURCHASE_ITEMLIST_FROMMC_sub {
|
|
struct PACKET_ZC_PC_PURCHASE_ITEMLIST_FROMMC_sub {
|
|
uint32 price;
|
|
uint32 price;
|
|
uint16 amount;
|
|
uint16 amount;
|
|
@@ -3182,7 +3175,7 @@ struct PACKET_ZC_PC_PURCHASE_ITEMLIST_FROMMC_sub {
|
|
#endif
|
|
#endif
|
|
uint8 identified;
|
|
uint8 identified;
|
|
uint8 damaged;
|
|
uint8 damaged;
|
|
-#if !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723)
|
|
|
|
|
|
+#if !(PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024)
|
|
uint8 refine;
|
|
uint8 refine;
|
|
#endif
|
|
#endif
|
|
struct EQUIPSLOTINFO slot;
|
|
struct EQUIPSLOTINFO slot;
|
|
@@ -3194,7 +3187,7 @@ struct PACKET_ZC_PC_PURCHASE_ITEMLIST_FROMMC_sub {
|
|
uint32 location;
|
|
uint32 location;
|
|
uint16 viewSprite;
|
|
uint16 viewSprite;
|
|
#endif
|
|
#endif
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
uint8 refine;
|
|
uint8 refine;
|
|
uint8 grade;
|
|
uint8 grade;
|
|
#endif
|
|
#endif
|
|
@@ -3304,7 +3297,7 @@ struct PACKET_ZC_MAKINGARROW_LIST {
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(ZC_MAKINGARROW_LIST, 0x01ad);
|
|
DEFINE_PACKET_HEADER(ZC_MAKINGARROW_LIST, 0x01ad);
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
#define REPAIRITEM_INFO REPAIRITEM_INFO2
|
|
#define REPAIRITEM_INFO REPAIRITEM_INFO2
|
|
struct PACKET_ZC_REPAIRITEMLIST {
|
|
struct PACKET_ZC_REPAIRITEMLIST {
|
|
int16 packetType;
|
|
int16 packetType;
|
|
@@ -3312,7 +3305,7 @@ struct PACKET_ZC_REPAIRITEMLIST {
|
|
struct REPAIRITEM_INFO items[];
|
|
struct REPAIRITEM_INFO items[];
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(ZC_REPAIRITEMLIST, 0x0b65);
|
|
DEFINE_PACKET_HEADER(ZC_REPAIRITEMLIST, 0x0b65);
|
|
-#else // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#else // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
#define REPAIRITEM_INFO REPAIRITEM_INFO1
|
|
#define REPAIRITEM_INFO REPAIRITEM_INFO1
|
|
struct PACKET_ZC_REPAIRITEMLIST {
|
|
struct PACKET_ZC_REPAIRITEMLIST {
|
|
int16 packetType;
|
|
int16 packetType;
|
|
@@ -3320,7 +3313,7 @@ struct PACKET_ZC_REPAIRITEMLIST {
|
|
struct REPAIRITEM_INFO items[];
|
|
struct REPAIRITEM_INFO items[];
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(ZC_REPAIRITEMLIST, 0x01fc);
|
|
DEFINE_PACKET_HEADER(ZC_REPAIRITEMLIST, 0x01fc);
|
|
-#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
|
|
struct PACKET_ZC_NOTIFY_WEAPONITEMLIST_sub {
|
|
struct PACKET_ZC_NOTIFY_WEAPONITEMLIST_sub {
|
|
int16 index;
|
|
int16 index;
|
|
@@ -3428,7 +3421,7 @@ struct PACKET_CZ_SEARCH_STORE_INFO {
|
|
*/
|
|
*/
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_SEARCH_STORE_INFO_ACK_sub {
|
|
struct PACKET_ZC_SEARCH_STORE_INFO_ACK_sub {
|
|
uint32 storeId;
|
|
uint32 storeId;
|
|
uint32 AID;
|
|
uint32 AID;
|
|
@@ -3710,7 +3703,7 @@ struct PACKET_ZC_AUTOSPELLLIST {
|
|
DEFINE_PACKET_HEADER(ZC_AUTOSPELLLIST, 0x01cd);
|
|
DEFINE_PACKET_HEADER(ZC_AUTOSPELLLIST, 0x01cd);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_CHANGE_ITEM_OPTION {
|
|
struct PACKET_ZC_CHANGE_ITEM_OPTION {
|
|
int16 packetType;
|
|
int16 packetType;
|
|
int16 index;
|
|
int16 index;
|
|
@@ -3840,7 +3833,7 @@ struct PACKET_CZ_PARTY_CONFIG {
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(CZ_PARTY_CONFIG, 0x02c8);
|
|
DEFINE_PACKET_HEADER(CZ_PARTY_CONFIG, 0x02c8);
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_NPC_BARTER_MARKET_ITEMINFO_sub {
|
|
struct PACKET_ZC_NPC_BARTER_MARKET_ITEMINFO_sub {
|
|
#if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114
|
|
#if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114
|
|
uint32 nameid;
|
|
uint32 nameid;
|
|
@@ -4523,7 +4516,7 @@ struct PACKET_CZ_NPC_EXPANDED_BARTER_MARKET_CLOSE {
|
|
DEFINE_PACKET_HEADER(CZ_NPC_EXPANDED_BARTER_MARKET_CLOSE, 0x0b58);
|
|
DEFINE_PACKET_HEADER(CZ_NPC_EXPANDED_BARTER_MARKET_CLOSE, 0x0b58);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_NPC_EXPANDED_BARTER_MARKET_ITEMINFO_sub2 {
|
|
struct PACKET_ZC_NPC_EXPANDED_BARTER_MARKET_ITEMINFO_sub2 {
|
|
#if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114
|
|
#if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114
|
|
uint32 nameid;
|
|
uint32 nameid;
|
|
@@ -5264,13 +5257,13 @@ struct PACKET_CZ_REQ_TAKEOFF_EQUIP_ALL {
|
|
DEFINE_PACKET_HEADER(CZ_REQ_TAKEOFF_EQUIP_ALL, 0x0bad);
|
|
DEFINE_PACKET_HEADER(CZ_REQ_TAKEOFF_EQUIP_ALL, 0x0bad);
|
|
#endif // PACKETVER_MAIN_NUM >= 20210818 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20210818
|
|
#endif // PACKETVER_MAIN_NUM >= 20210818 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20210818
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20210818 || PACKETVER_RE_NUM >= 20211103
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20210818 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_ACK_TAKEOFF_EQUIP_ALL {
|
|
struct PACKET_ZC_ACK_TAKEOFF_EQUIP_ALL {
|
|
int16 PacketType;
|
|
int16 PacketType;
|
|
uint8 result;
|
|
uint8 result;
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(ZC_ACK_TAKEOFF_EQUIP_ALL, 0x0bae);
|
|
DEFINE_PACKET_HEADER(ZC_ACK_TAKEOFF_EQUIP_ALL, 0x0bae);
|
|
-#endif // PACKETVER_MAIN_NUM >= 20210818 || PACKETVER_RE_NUM >= 20211103
|
|
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20210818 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
|
|
#if PACKETVER_ZERO_NUM >= 20210504
|
|
#if PACKETVER_ZERO_NUM >= 20210504
|
|
struct PACKET_ZC_BATTLEFIELD_NOTIFY_HP {
|
|
struct PACKET_ZC_BATTLEFIELD_NOTIFY_HP {
|
|
@@ -5340,13 +5333,13 @@ struct PACKET_CZ_CHOOSE_MENU_ZERO {
|
|
DEFINE_PACKET_HEADER(CZ_CHOOSE_MENU_ZERO, 0x0ba8);
|
|
DEFINE_PACKET_HEADER(CZ_CHOOSE_MENU_ZERO, 0x0ba8);
|
|
#endif // PACKETVER_MAIN_NUM >= 20210317 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20210317
|
|
#endif // PACKETVER_MAIN_NUM >= 20210317 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20210317
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_DIALOG_TEXT_ALIGN {
|
|
struct PACKET_ZC_DIALOG_TEXT_ALIGN {
|
|
int16 PacketType;
|
|
int16 PacketType;
|
|
uint8 align;
|
|
uint8 align;
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(ZC_DIALOG_TEXT_ALIGN, 0x0ba1);
|
|
DEFINE_PACKET_HEADER(ZC_DIALOG_TEXT_ALIGN, 0x0ba1);
|
|
-#endif // PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103
|
|
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
|
|
#if PACKETVER_MAIN_NUM >= 20191016 || PACKETVER_RE_NUM >= 20191016 || PACKETVER_ZERO_NUM >= 20191008
|
|
#if PACKETVER_MAIN_NUM >= 20191016 || PACKETVER_RE_NUM >= 20191016 || PACKETVER_ZERO_NUM >= 20191008
|
|
struct PACKET_CZ_GRADE_ENCHANT_SELECT_EQUIPMENT {
|
|
struct PACKET_CZ_GRADE_ENCHANT_SELECT_EQUIPMENT {
|
|
@@ -5356,7 +5349,7 @@ struct PACKET_CZ_GRADE_ENCHANT_SELECT_EQUIPMENT {
|
|
DEFINE_PACKET_HEADER(CZ_GRADE_ENCHANT_SELECT_EQUIPMENT, 0x0b59);
|
|
DEFINE_PACKET_HEADER(CZ_GRADE_ENCHANT_SELECT_EQUIPMENT, 0x0b59);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct GRADE_ENCHANT_BLESSING {
|
|
struct GRADE_ENCHANT_BLESSING {
|
|
int32 id;
|
|
int32 id;
|
|
int32 amount;
|
|
int32 amount;
|
|
@@ -5404,7 +5397,7 @@ struct PACKET_CZ_GRADE_ENCHANT_CLOSE_UI {
|
|
DEFINE_PACKET_HEADER(CZ_GRADE_ENCHANT_CLOSE_UI, 0x0b5c);
|
|
DEFINE_PACKET_HEADER(CZ_GRADE_ENCHANT_CLOSE_UI, 0x0b5c);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_GRADE_ENCHANT_ACK {
|
|
struct PACKET_ZC_GRADE_ENCHANT_ACK {
|
|
int16 PacketType;
|
|
int16 PacketType;
|
|
int16 index;
|
|
int16 index;
|
|
@@ -5414,7 +5407,7 @@ struct PACKET_ZC_GRADE_ENCHANT_ACK {
|
|
DEFINE_PACKET_HEADER(ZC_GRADE_ENCHANT_ACK, 0x0b5d);
|
|
DEFINE_PACKET_HEADER(ZC_GRADE_ENCHANT_ACK, 0x0b5d);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_GRADE_ENCHANT_BROADCAST_RESULT {
|
|
struct PACKET_ZC_GRADE_ENCHANT_BROADCAST_RESULT {
|
|
int16 packetType;
|
|
int16 packetType;
|
|
char name[NAME_LENGTH];
|
|
char name[NAME_LENGTH];
|
|
@@ -5462,7 +5455,7 @@ struct PACKET_ZC_WHISPER {
|
|
DEFINE_PACKET_HEADER(ZC_WHISPER, 0x0097)
|
|
DEFINE_PACKET_HEADER(ZC_WHISPER, 0x0097)
|
|
#endif // PACKETVER_MAIN_NUM >= 20131204 || PACKETVER_RE_NUM >= 20131120 || defined(PACKETVER_ZERO)
|
|
#endif // PACKETVER_MAIN_NUM >= 20131204 || PACKETVER_RE_NUM >= 20131120 || defined(PACKETVER_ZERO)
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20220216
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20220216 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_UPDATE_GDID {
|
|
struct PACKET_ZC_UPDATE_GDID {
|
|
int16 PacketType;
|
|
int16 PacketType;
|
|
uint32 guildId;
|
|
uint32 guildId;
|
|
@@ -5474,7 +5467,7 @@ struct PACKET_ZC_UPDATE_GDID {
|
|
uint32 masterGID;
|
|
uint32 masterGID;
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(ZC_UPDATE_GDID, 0x02f7)
|
|
DEFINE_PACKET_HEADER(ZC_UPDATE_GDID, 0x02f7)
|
|
-#else // PACKETVER_MAIN_NUM >= 20220216
|
|
|
|
|
|
+#else // PACKETVER_MAIN_NUM >= 20220216 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_ZC_UPDATE_GDID {
|
|
struct PACKET_ZC_UPDATE_GDID {
|
|
int16 PacketType;
|
|
int16 PacketType;
|
|
uint32 guildId;
|
|
uint32 guildId;
|
|
@@ -5485,9 +5478,9 @@ struct PACKET_ZC_UPDATE_GDID {
|
|
char guildName[NAME_LENGTH];
|
|
char guildName[NAME_LENGTH];
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(ZC_UPDATE_GDID, 0x016c)
|
|
DEFINE_PACKET_HEADER(ZC_UPDATE_GDID, 0x016c)
|
|
-#endif // PACKETVER_MAIN_NUM >= 20220216
|
|
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20220216 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
|
|
-#if PACKETVER_MAIN_NUM >= 20220216
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20220216 || PACKETVER_ZERO_NUM >= 20221024
|
|
struct PACKET_CZ_APPROXIMATE_ACTOR {
|
|
struct PACKET_CZ_APPROXIMATE_ACTOR {
|
|
int16 PacketType;
|
|
int16 PacketType;
|
|
uint32 masterGID;
|
|
uint32 masterGID;
|
|
@@ -5495,7 +5488,7 @@ struct PACKET_CZ_APPROXIMATE_ACTOR {
|
|
uint8 unused2;
|
|
uint8 unused2;
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
DEFINE_PACKET_HEADER(CZ_APPROXIMATE_ACTOR, 0x0bb0)
|
|
DEFINE_PACKET_HEADER(CZ_APPROXIMATE_ACTOR, 0x0bb0)
|
|
-#endif // PACKETVER_MAIN_NUM >= 20220216
|
|
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20220216 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
|
|
struct PACKET_CZ_CONTACTNPC {
|
|
struct PACKET_CZ_CONTACTNPC {
|
|
int16 PacketType;
|
|
int16 PacketType;
|
|
@@ -5708,6 +5701,269 @@ struct PACKET_ZC_DISAPPEAR_BUYING_STORE_ENTRY {
|
|
DEFINE_PACKET_HEADER(ZC_DISAPPEAR_BUYING_STORE_ENTRY, 0x0816);
|
|
DEFINE_PACKET_HEADER(ZC_DISAPPEAR_BUYING_STORE_ENTRY, 0x0816);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+struct PACKET_ZC_OPEN_REFORM_UI {
|
|
|
|
+ int16 PacketType;
|
|
|
|
+ int32 ITID;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(ZC_OPEN_REFORM_UI, 0x0b8f);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+struct PACKET_CZ_CLOSE_REFORM_UI {
|
|
|
|
+ int16 PacketType;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_CLOSE_REFORM_UI, 0x0b90);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+struct PACKET_CZ_ITEM_REFORM {
|
|
|
|
+ int16 PacketType;
|
|
|
|
+ int32 ITID;
|
|
|
|
+ int16 index;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_ITEM_REFORM, 0x0b91);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+struct PACKET_ZC_ITEM_REFORM_ACK {
|
|
|
|
+ int16 PacketType;
|
|
|
|
+ int16 index;
|
|
|
|
+ int8 result;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(ZC_ITEM_REFORM_ACK, 0x0b92);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20220216 || PACKETVER_ZERO_NUM >= 20220316
|
|
|
|
+struct PACKET_CZ_USE_PACKAGEITEM {
|
|
|
|
+ int16 PacketType;
|
|
|
|
+ uint16 index;
|
|
|
|
+ uint32 AID;
|
|
|
|
+ uint32 itemID;
|
|
|
|
+ uint32 BoxIndex;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_USE_PACKAGEITEM, 0x0baf)
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20220216 || PACKETVER_ZERO_NUM >= 20220316
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+struct PACKET_CZ_REQUEST_RANDOM_ENCHANT {
|
|
|
|
+ int16 PacketType;
|
|
|
|
+ int64 enchant_group;
|
|
|
|
+ int16 index;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_REQUEST_RANDOM_ENCHANT, 0x0b9b);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+struct PACKET_CZ_REQUEST_PERFECT_ENCHANT {
|
|
|
|
+ int16 PacketType;
|
|
|
|
+ int64 enchant_group;
|
|
|
|
+ int16 index;
|
|
|
|
+ uint32 ITID;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_REQUEST_PERFECT_ENCHANT, 0x0b9c);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+struct PACKET_CZ_REQUEST_UPGRADE_ENCHANT {
|
|
|
|
+ int16 PacketType;
|
|
|
|
+ int64 enchant_group;
|
|
|
|
+ int16 index;
|
|
|
|
+ int16 slot;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_REQUEST_UPGRADE_ENCHANT, 0x0b9d);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+struct PACKET_CZ_REQUEST_RESET_ENCHANT {
|
|
|
|
+ int16 PacketType;
|
|
|
|
+ int64 enchant_group;
|
|
|
|
+ int16 index;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_REQUEST_RESET_ENCHANT, 0x0b9e);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20210203 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+struct PACKET_ZC_RESPONSE_ENCHANT {
|
|
|
|
+ int16 PacketType;
|
|
|
|
+ int32 msgId;
|
|
|
|
+ uint32 ITID;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(ZC_RESPONSE_ENCHANT, 0x0b9f);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+struct PACKET_CZ_CLOSE_UI_ENCHANT {
|
|
|
|
+ int16 PacketType;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_CLOSE_UI_ENCHANT, 0x0ba0);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20201118 || PACKETVER_RE_NUM >= 20211103 || PACKETVER_ZERO_NUM >= 20221024
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20221005
|
|
|
|
+struct PACKET_ZC_SPECIALPOPUP {
|
|
|
|
+ int16 PacketType;
|
|
|
|
+ int32 ppId;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(ZC_SPECIALPOPUP, 0x0bbe);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20221005
|
|
|
|
+
|
|
|
|
+#if PACKETVER >= 20140611
|
|
|
|
+struct PACKET_ZC_GOLDPCCAFE_POINT {
|
|
|
|
+ // Note: 2014-04-30 has 1 byte less, but those packets are only functional after 2014-06-11Ragexe
|
|
|
|
+ uint16 PacketType;
|
|
|
|
+ int8 isActive; //< 1 = yes, 0 = no
|
|
|
|
+ int8 mode;
|
|
|
|
+ int32 point;
|
|
|
|
+ int32 playedTime;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(ZC_GOLDPCCAFE_POINT , 0x0a15);
|
|
|
|
+#endif // PACKETVER >= 20140611
|
|
|
|
+
|
|
|
|
+#if PACKETVER >= 20140430
|
|
|
|
+struct PACKET_CZ_DYNAMICNPC_CREATE_REQUEST {
|
|
|
|
+ uint16 PacketType;
|
|
|
|
+ char name[NAME_LENGTH];
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_DYNAMICNPC_CREATE_REQUEST, 0x0a16);
|
|
|
|
+#endif // PACKETVER >= 20140430
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20140430 || PACKETVER_RE_NUM >= 20140430 || defined(PACKETVER_ZERO)
|
|
|
|
+struct PACKET_ZC_DYNAMICNPC_CREATE_RESULT {
|
|
|
|
+ uint16 PacketType;
|
|
|
|
+ uint32 result; // enum dynamicnpc_create_result
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(ZC_DYNAMICNPC_CREATE_RESULT , 0x0a17);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20140430 || PACKETVER_RE_NUM >= 20140430 || defined(PACKETVER_ZERO)
|
|
|
|
+
|
|
|
|
+struct PACKET_CZ_REQ_GUILD_EMBLEM_IMG1 {
|
|
|
|
+ int16 packetType;
|
|
|
|
+ int32 guild_id;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_REQ_GUILD_EMBLEM_IMG1, 0x0151);
|
|
|
|
+
|
|
|
|
+#if PACKETVER >= 20190724
|
|
|
|
+struct PACKET_CZ_REQ_GUILD_EMBLEM_IMG3 {
|
|
|
|
+ int16 packetType;
|
|
|
|
+ int32 guild_id;
|
|
|
|
+ int32 emblem_id;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_REQ_GUILD_EMBLEM_IMG3, 0x0b46);
|
|
|
|
+#endif // PACKETVER >= 20190724
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20190619 || PACKETVER_RE_NUM >= 20190605 || PACKETVER_ZERO_NUM >= 20190626
|
|
|
|
+struct PACKET_CZ_REQ_GUILD_EMBLEM_IMG2 {
|
|
|
|
+ int16 packetType;
|
|
|
|
+ int32 guild_id;
|
|
|
|
+ int32 emblem_id;
|
|
|
|
+ int32 unused;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_REQ_GUILD_EMBLEM_IMG2, 0x0b1e);
|
|
|
|
+#elif PACKETVER_MAIN_NUM >= 20190227 || PACKETVER_RE_NUM >= 20190227 || PACKETVER_ZERO_NUM >= 20190313
|
|
|
|
+struct PACKET_CZ_REQ_GUILD_EMBLEM_IMG2 {
|
|
|
|
+ int16 packetType;
|
|
|
|
+ int32 guild_id;
|
|
|
|
+ int32 emblem_id;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_REQ_GUILD_EMBLEM_IMG2, 0x0b1e);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20190619 || PACKETVER_RE_NUM >= 20190605 || PACKETVER_ZERO_NUM >= 20190626
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20190807 || PACKETVER_RE_NUM >= 20190731 || PACKETVER_ZERO_NUM >= 20190814
|
|
|
|
+struct PACKET_ZC_CHANGE_GUILD {
|
|
|
|
+ int16 packetType;
|
|
|
|
+ int32 guild_id;
|
|
|
|
+ uint32 emblem_id;
|
|
|
|
+ uint32 AID;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(ZC_CHANGE_GUILD, 0x0b47);
|
|
|
|
+// 20190619 main exists in first versions, then removed
|
|
|
|
+// 20190605 re first versions with other packet size
|
|
|
|
+#elif PACKETVER_MAIN_NUM >= 20190703 || PACKETVER_RE_NUM >= 20190605 || PACKETVER_ZERO_NUM >= 20190709
|
|
|
|
+struct PACKET_ZC_CHANGE_GUILD {
|
|
|
|
+ int16 packetType;
|
|
|
|
+ int32 guild_id;
|
|
|
|
+ uint32 emblem_id;
|
|
|
|
+ uint32 AID;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(ZC_CHANGE_GUILD, 0x0b1f);
|
|
|
|
+#else // PACKETVER_MAIN_NUM >= 20190807 || PACKETVER_RE_NUM >= 20190731 || PACKETVER_ZERO_NUM >= 20190814
|
|
|
|
+struct PACKET_ZC_CHANGE_GUILD {
|
|
|
|
+ int16 packetType;
|
|
|
|
+ uint32 AID;
|
|
|
|
+ int32 guild_id;
|
|
|
|
+ uint16 emblem_id;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(ZC_CHANGE_GUILD, 0x01b4);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20190807 || PACKETVER_RE_NUM >= 20190731 || PACKETVER_ZERO_NUM >= 20190814
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20190821 || PACKETVER_RE_NUM >= 20190807 || PACKETVER_ZERO_NUM >= 20190710
|
|
|
|
+enum ZC_GUILD_EMBLEM_TYPE {
|
|
|
|
+ ZC_GUILD_EMBLEM_TYPE_CLEAR = 0,
|
|
|
|
+ ZC_GUILD_EMBLEM_TYPE_ADD = 1,
|
|
|
|
+ ZC_GUILD_EMBLEM_TYPE_COMPLETE = 2,
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+struct PACKET_ZC_GUILD_EMBLEM_IMG {
|
|
|
|
+ int16 packetType;
|
|
|
|
+ int16 packetLength;
|
|
|
|
+ uint16 result;
|
|
|
|
+ int32 guild_id;
|
|
|
|
+ uint32 emblem_id;
|
|
|
|
+ char emblem_data[];
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(ZC_GUILD_EMBLEM_IMG, 0x0b36);
|
|
|
|
+#else // PACKETVER_MAIN_NUM >= 20190821 || PACKETVER_RE_NUM >= 20190807 || PACKETVER_ZERO_NUM >= 20190710
|
|
|
|
+struct PACKET_ZC_GUILD_EMBLEM_IMG {
|
|
|
|
+ int16 packetType;
|
|
|
|
+ int16 packetLength;
|
|
|
|
+ int32 guild_id;
|
|
|
|
+ uint32 emblem_id;
|
|
|
|
+ char emblem_data[];
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(ZC_GUILD_EMBLEM_IMG, 0x0152);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20190821 || PACKETVER_RE_NUM >= 20190807 || PACKETVER_ZERO_NUM >= 20190710
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20171213 || PACKETVER_RE_NUM >= 20171213 || PACKETVER_ZERO_NUM >= 20171214
|
|
|
|
+struct PACKET_CZ_ADVENTURER_AGENCY_JOIN_REQ {
|
|
|
|
+ int16 packetType;
|
|
|
|
+ int GID;
|
|
|
|
+ int AID;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_ADVENTURER_AGENCY_JOIN_REQ, 0x0ae6);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20171213 || PACKETVER_RE_NUM >= 20171213 || PACKETVER_ZERO_NUM >= 20171214
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20191218 || PACKETVER_RE_NUM >= 20191211 || PACKETVER_ZERO_NUM >= 20191224
|
|
|
|
+struct PACKET_ZC_ADVENTURER_AGENCY_JOIN_RESULT {
|
|
|
|
+ int16 packetType;
|
|
|
|
+ char player_name[NAME_LENGTH];
|
|
|
|
+ char party_name[NAME_LENGTH];
|
|
|
|
+ int AID;
|
|
|
|
+ int result;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(ZC_ADVENTURER_AGENCY_JOIN_RESULT, 0x0afa);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20191218 || PACKETVER_RE_NUM >= 20191211 || PACKETVER_ZERO_NUM >= 20191224
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20191218 || PACKETVER_RE_NUM >= 20191211 || PACKETVER_ZERO_NUM >= 20191224
|
|
|
|
+struct PACKET_ZC_ADVENTURER_AGENCY_JOIN_REQ {
|
|
|
|
+ int16 packetType;
|
|
|
|
+ int GRID;
|
|
|
|
+ int AID;
|
|
|
|
+ char groupName[NAME_LENGTH];
|
|
|
|
+ int16 level;
|
|
|
|
+ int16 job;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(ZC_ADVENTURER_AGENCY_JOIN_REQ, 0x0ae7);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20191218 || PACKETVER_RE_NUM >= 20191211 || PACKETVER_ZERO_NUM >= 20191224
|
|
|
|
+
|
|
|
|
+#if PACKETVER_MAIN_NUM >= 20191218 || PACKETVER_RE_NUM >= 20191211 || PACKETVER_ZERO_NUM >= 20191224
|
|
|
|
+struct PACKET_CZ_ADVENTURER_AGENCY_JOIN_RESULT {
|
|
|
|
+ int16 packetType;
|
|
|
|
+ int GRID;
|
|
|
|
+ int AID;
|
|
|
|
+ int8 result;
|
|
|
|
+} __attribute__((packed));
|
|
|
|
+DEFINE_PACKET_HEADER(CZ_ADVENTURER_AGENCY_JOIN_RESULT, 0x0af8);
|
|
|
|
+#endif // PACKETVER_MAIN_NUM >= 20191218 || PACKETVER_RE_NUM >= 20191211 || PACKETVER_ZERO_NUM >= 20191224
|
|
|
|
+
|
|
#if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
|
|
#if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
|
|
#pragma pack(pop)
|
|
#pragma pack(pop)
|
|
#endif // not NetBSD < 6 / Solaris
|
|
#endif // not NetBSD < 6 / Solaris
|