Код:
[Client]
D065=RequestPostItemList:h(subID)
D066=RequestSendLetter:h(subID)s(ReceiverName)d(isPrice=1da,0net)s(Topic)s(Body)d(NumItem:Loop.01.02)d(ItemObjID)q(ItemCount)q(Price)
D067=RequestShowRecvPostList:h(subid)
D068=RequestDelRecvPost:h(subID)d(NumLetter:Loop.01.01)d(LetterID)
D069=RequestShowRecvLetter:h(subID)d(LetterID)
D06A=RequestGetRecvLetter:h(subID)d(LetterID)
D06B=RequestReplyOnLetter:h(subID)d(LetterID)
D06C=RequestShowSendPostList:h(subID)
D06D=RequestDelSendPost:h(subID)d(NumLetter:Loop.01.01)d(LetterID)
D06E=RequestShowSendLetter:h(subID)d(LetterID)
D06F=RequestCancelLetter:h(subID)d(LetterID)
[Server]
FEA9=NoticePostRecv:h(subid)d(ShowAnim)
FEAA=ShowRecvPostList:h(subid)d(?CurTime)d(NumLetter:Loop.01.11)d(?)d(LetterID)s(Topic)s(SenderName)d(isPrice=1da,0net)d(ExpirationSeconds)d(NoRead)d(?)d(Attach)d(Sender'***')d(SenderConst?)
FEAB=ShowRecvLetter:h(subid)d(MailTypeID)d(LetterID)d(isPrice=1da,0net)d(Sender'***')s(SenderName)s(Topic)s(Body)d(NumItem:Loop.01.28)d(ObjId_notuse)d(ItemID:Get.Func01)d(LocalSlot)q(ItemCount)h(ItemType2)h(CustomType?)h(isEquipped?)d(ItemBodyPart)h(EnchantLevel)h(customtype2?)h(AugmentID?)h(??)d(mana)d(time)h(??)h(AttackElementType?)h(AttackElementPower?)h(DefAttrFire)h(DefAttrWater)h(DefAttrWind)h(DefAttrEarth)h(DefAttrHoly)h(DefAttrUnholy)h(00?)h(00?)h(00?)d(???)d(ItemObjID)q(Price)d(CanBack)d(SenderConst?)
FEAC=ShowSendPostList:h(subid)d(?CurTime)d(NumLetter:Loop.01.09)d(LetterID)s(Topic)s(receiverName)d(isPrice=1da,0net)d(ExpirationSeconds)d(NoRead)d(?)d(Attach)d(?)
FEAD=ShowSendLetter:h(subid)d(?1?)d(LetterID)d(isPrice=1da,0net)s(receiverName)s(Topic)s(Body)d(NumItem:Loop.01.28)d(ObjId_notuse)d(ItemID:Get.Func01)d(LocalSlot)q(ItemCount)h(ItemType2)h(CustomType?)h(isEquipped?)d(ItemBodyPart)h(EnchantLevel)h(customtype2?)h(AugmentID?)h(??)d(mana)d(time)h(??)h(AttackElementType?)h(AttackElementPower?)h(DefAttrFire)h(DefAttrWater)h(DefAttrWind)h(DefAttrEarth)h(DefAttrHoly)h(DefAttrUnholy)h(00?)h(00?)h(00?)d(???)d(ItemObjID)q(Price)d(CanBack)
FEB2=ShowCanPostItemList:h(subid)d(ItemListSize:Loop.01.27)d(ItemObjId)d(ItemID:Get.Func01)d(LocalSlot)q(ItemCount)h(ItemType2)h(CustomType?)h(isEquipped?)d(ItemBodyPart)h(EnchantLevel)h(customtype2?)h(AugmentID?)h(??)d(mana)d(time)h(??)h(AttackElementType?)h(AttackElementPower?)h(DefAttrFire)h(DefAttrWater)h(DefAttrWind)h(DefAttrEarth)h(DefAttrHoly)h(DefAttrUnholy)h(00?)h(00?)h(00?)d(???)
FEB3=ChangePostState:h(subid)d(?RecvBoard)d(NumLetter:Loop.01.02)d(LetterID)d(?changeId?)
FEB4=NoticePostSend:h(subid)d(ShowAnim)
Добавлено
пакеты оказались несколько сложней чем думалось, на ПХ возможно построить такую конструкцию?
Код:
FEAB=ShowRecvLetter:h(subid)d(MailTypeID)
if MailTypeID=5 then "dddddddddddddSSS
if MailTypeID=4 then "dddddSSS
else "dddSSS
d(ItemCount)"
for i=1 to ItemCount do "dddQhhhdhhhhddhhhhhhhhhhhhd"+"d"
"Qdd"
Код:
FEAA=ShowRecvPostList:h(subid)d(CurTime)d(NumLetter)
for i=1 to NumLetter do
d(MailTypeID)
if MailTypeID=4 or MailTypeID=5 then "ddSSddddddd"
else "dSSddddddd"
з.ы. MailTypeID=4,5 не видел но клиент о них знает =)