ML-Server: Item Names client sided

This commit is contained in:
rtw1x1
2026-01-21 01:51:21 +00:00
parent be24b766f6
commit ce493893df
4 changed files with 38 additions and 7 deletions

View File

@@ -279,6 +279,7 @@ enum
HEADER_GC_DRAGON_SOUL_REFINE = 209,
HEADER_GC_RESPOND_CHANNELSTATUS = 210,
HEADER_GC_ITEM_GET = 211,
/////////////////////////////////////////////////////////////////////////////
@@ -1114,6 +1115,15 @@ typedef struct packet_item_set
TPlayerItemAttribute aAttr[ITEM_ATTRIBUTE_MAX_NUM];
} TPacketGCItemSet;
typedef struct packet_item_get
{
uint8_t header;
uint32_t dwItemVnum;
uint8_t bCount;
uint8_t bArg; // 0: normal, 1: from party member (need extra handling)
char szFromName[CHARACTER_NAME_MAX_LEN + 1]; // party member name when bArg == 1
} TPacketGCItemGet;
struct packet_item_use
{
uint8_t header;