#243 need a lua function to send mail from npcs, zones, holiday events, etc.

Uzavrená
otvorené 3 rokov pred užívateľom neatz09 · 2 komentárov
neatz09 okomentoval 3 rokov pred
Zatiaľ neexistuje žiadny obsah.
image okomentoval 3 rokov pred
Spolupracovník
AddPlayerMail(Spawn, fromName, subjectName, mailBody, mailType, copper, silver, gold, platinum, item_id, stack_size, expire_time, sent_time)
AddPlayerMailByCharID(CharID, fromName, subjectName, mailBody, mailType, copper, silver, gold, platinum, item_id, stack_size, expire_time, sent_time)

fromName, subjectName, mailBody are strings mailType is a int8:

#define MAIL_TYPE_REGULAR	0
#define MAIL_TYPE_SPAM		1
#define MAIL_TYPE_GM		2

copper,silver,gold,platinum are int32

expire_time int32 time in seconds for expiration, leave 0 for unlimited

sent_time also int32, should be unix timestamp or left as 0 for default time of now

FIELDS THAT DO NOT WORK YET:

item_id int32

stack_size int16

``` AddPlayerMail(Spawn, fromName, subjectName, mailBody, mailType, copper, silver, gold, platinum, item_id, stack_size, expire_time, sent_time) AddPlayerMailByCharID(CharID, fromName, subjectName, mailBody, mailType, copper, silver, gold, platinum, item_id, stack_size, expire_time, sent_time) ``` fromName, subjectName, mailBody are strings mailType is a int8: ``` #define MAIL_TYPE_REGULAR 0 #define MAIL_TYPE_SPAM 1 #define MAIL_TYPE_GM 2 ``` copper,silver,gold,platinum are int32 expire_time int32 time in seconds for expiration, leave 0 for unlimited sent_time also int32, should be unix timestamp or left as 0 for default time of now FIELDS THAT DO NOT WORK YET: item_id int32 stack_size int16
image zatvorené 3 rokov pred
image okomentoval 3 rokov pred
Spolupracovník

mail items are not supported yet and multiple mail items in box cause issues, handled in new issue: http://cutpon.com:3000/devn00b/EQ2EMu/issues/246

mail items are not supported yet and multiple mail items in box cause issues, handled in new issue: http://cutpon.com:3000/devn00b/EQ2EMu/issues/246
Prihláste sa pre zapojenie do konverzácie.
Načítavanie...
Zrušiť
Uložiť
Zatiaľ neexistuje žiadny obsah.