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

Закриті
3 роки тому відкрито neatz09 · 2 коментарів
neatz09 відкоментовано 3 роки тому
Тут ще немає жодного вмісту.
image відкоментовано 3 роки тому
Співавтор
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 згадано цю проблему в коміті 3 роки тому
image закрито 3 роки тому
image відкоментовано 3 роки тому
Співавтор

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
Підпишіться щоб приєднатися до обговорення.
Етап відсутній
Немає відповідального
2 учасників
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.